[jboss-user] [JBoss Seam] - Re: ASync calls stays in JBoss queue after restart
We disabled the persistent timer queue. It is explained in the JBoss Wiki how to do that. As far as I know, we still do have the Could not destroy component-problem with any other bean, that is triggered using startup. No solution so far. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003681#4003681 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003681 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: Auto-completion support for ejb3 @NamedQuery annotations
I guess I wasn't originally clear on this. I didn't want auto-completion or syntax checking for HQL, I was looking for JPQL support. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003687#4003687 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003687 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: how to syn JBossCache with the database
You would need to write some external code that will be able to listen to changes in the DB and flush (portions of) the cache accordingly. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003690#4003690 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003690 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Buddy replication behavior
There is no automatic gravitation done for the backup. In your example, cache[1] always had /_BUDDY_BACKUP_/192.168.0.4_33266/one. No gravitation necessary. cache[1] also now sees /_BUDDY_BACKUP_/192.168.0.4_33266/three since cache[2] realises that it doesn't have a backup anywhere anymore, and hence assigns cache[1] as it's new backup node with it's state. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003693#4003693 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003693 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Trying to cancel a timer
I setup a timer in a state, when the process came to the state, the timer will execute. In the timer, I am trying to do some job. if success, I want to cancel the timer, and the process goes into wait state for a remote singaling. But in the timer, can cancel it? Is there anyone konw how to stop or cancel the timer in the timer execution? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003692#4003692 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003692 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: who can help me? something about treecache.
is the directory above resources in your classpath? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003695#4003695 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003695 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: Auto-completion support for ejb3 @NamedQuery annotations
eh - why do you think HQLchecking is not enough for you ? :) HQL = JPQL Thus they work the same. note in b9 there is no additional setup after you have created a console configuration for a project. You just need to make sure the sessionfactory is created (expand the node in the console configuration) - then hibernate tools will offer you code completion and validation. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003702#4003702 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003702 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Buddy replication behavior
I used the word 'gravitation' also for backup data, may be improperly. anonymous wrote : | cache[1] also now sees /_BUDDY_BACKUP_/192.168.0.4_33266/three since cache[2] realises that it doesn't have a backup anywhere anymore, and hence assigns cache[1] as it's new backup node with it's state. | This movement of the primary data that are without backup can cause a network storm, but this is inevitable. Why there isn't an equivalent movement for the backup data that are without primary (e.g. /_BUDDY_BACKUP_/192.168.0.4_33266/one on cache[1]) ? My major concern is not related to the network storm but to the fact that in case of multiple faults the cluster has information loss. For example: Let suppose that first the cache[0] dies and then after one minute also the cache[1] dies. In this case the data stored in the node /one is lost forever. Thanks and regards gianluca -- Gianluca Puggelli skype:pugg1138 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003705#4003705 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003705 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Problem with TCP config
Can you try with the tcp.xml config from the JGroups/conf dir (part of the source distro of JGroups) ? I also suggest setting the bind_addr option in the config file, or using the -Dbind.address=1.2.3.4 property View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003706#4003706 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003706 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - how to declare session bean invoker
Hi, I am facing difficulty in declaring the invoker for my ejb3 session bean. jboss Documenataion says it can done through jboss.xml, but I found that for jboss4.0.5GA version there is no such file, would anyone give some lights ? I am not sure whether standardjboss.xml is similar to jboss.xml !!! I had tried to include as below in this standardjboss.xml ,but not effective at all. enterprise-beans ejb-nameJNLPServicesBean/ejb-name configuration-nameStandard Stateless SessionBean/configuration-name invoker-bindings invoker-proxy-binding-name stateless-ssl-invoker /invoker-proxy-binding-name jndi-nameJNLPServicesBean/jndi-name /invoker-bindings /enterprise-beans is there also a way to declare the bean invoker using annotation ? I dun know which I did wrong. pls guide, guys and girls. thank you so much in advance. rgds, KF View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003710#4003710 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003710 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - WS Eventing client - basics question
Hello, I am currently trying to write a ws-eventing client application. It is a swing application that should be notified of updates that occur on my server (is this possible??). I followed the SysmonTestCase example and I am able to subscribe to events. I am wondering now how can I read the events I mean, ok, I subscribed to something. But I have to supply an endpoint when subscribing! What should this address be? And how do I receive events there Thanx Manu View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003712#4003712 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003712 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - how to declare session bean invoker
Hi, I am facing difficulty in declaring the invoker for my ejb3 session bean. jboss Documenataion says it can done through jboss.xml, but I found that for jboss4.0.5GA version there is no such file, would anyone give some lights ? I am not sure whether standardjboss.xml is similar to jboss.xml !!! I had tried to include as below in this standardjboss.xml ,but not effective at all. enterprise-beans ejb-nameJNLPServicesBean/ejb-name configuration-nameStandard Stateless SessionBean/configuration-name invoker-bindings invoker-proxy-binding-name stateless-ssl-invoker /invoker-proxy-binding-name jndi-nameJNLPServicesBean/jndi-name /invoker-bindings /enterprise-beans is there also a way to declare the bean invoker using annotation ? I dun know which I did wrong. pls guide, guys and girls. thank you so much in advance. rgds, KF View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003713#4003713 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003713 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Running the Booking sample on MS SQL Srv hungs when pres
You need to read the hibernate docs for how to alter your persistence.xml to use XXXSQL. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003714#4003714 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003714 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: naming of attributes in queries
Hi, Could you post up some your entity code, and the actual query you are trying to get to work. Cheers, Andy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003711#4003711 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003711 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem with ActionHandler
Please specify what version of jBPM you are using. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003716#4003716 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003716 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: AS 4.0.5 GA complains about unclosed connections
PeterJ wrote : Sorry, I was typing from memory and not from example code. I meant to also show getting the connection from the datasource and then closing the connection in the fiinally block. Thank you Peter. I am happy now that the connection is closing. I am now deploying to the jboss web server which works nicely. The feature of the application server complaining about unclosed connections is very useful, it helped me find where I had forgotten to close the connection. I hope this feature also is in the jboss web server. Best regards! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003717#4003717 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003717 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Setting dirty flag
How to set the dirty flag true for BMPs View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003720#4003720 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003720 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Role Management and User portlet access other than
I just tried with no problem. I would be curious to know how you did exactly. I just created a new user, add him to the Administrator role and he has the Admin privileges (he has the link to create user for example. (in the management portlet, Admin corresponds to the Administrator role, this should be fixed. I'm opening a Jira issue for that, as well as another bug i found) Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003721#4003721 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003721 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Role Management and User portlet access other than
http://jira.jboss.org/jira/browse/JBPORTAL-1207 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003725#4003725 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003725 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1.1.GA
ICEFaces is compatibile with this release? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003727#4003727 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003727 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Global navigation rules in pages.xml
Is there currently a way to use a global navigation rule e.g. navigation-rule |navigation-case | from-outcomefoo/from-outcome | to-view-id/foo.xhtml/to-view-id |/navigation-case | /navigation-rule in pages.xml? They are occasionally useful, and without them, some navigation will still have to go in faces-config.xml View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003730#4003730 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003730 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Action fires more times in a processinstance
Sorry, but whether something is useless is for us to decide. You ask us for help with a problem you cannot figure out. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003731#4003731 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003731 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: naming of attributes in queries
@Entity | @Table(name = Benutzer) | public class User implements Serializable | { private long mSid; | private long mMandantID; | private String mId; | | public User() { super(); } | public String getId() { return mId; } | public void setId(String pId) { mId = pId; } | @Id @GeneratedValue(strategy=GenerationType.AUTO) | public long getSid() { return mSid; } | public void setSid(long pSid) { mSid = pSid; } | public long getMandantID(){ return mMandantID; } | public void setMandantID(long pMandantID) { mMandantID = pMandantID; } | } | ListUser erg = (ListUser) em.createQuery( | from User where (Id = :uid) and (pwd=:pwd) and (mandantID=:mandantid)) | .setParameter (uid, pUserName).setParameter (pwd, pPwd).setParameter (mandantid, lMandantID).getResultList(); | this works, mandantID, mandantid insted of MandantID works too but id insted of Id doesn´t. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003738#4003738 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003738 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Refreshing a portlet's cache
You want to invalide the portlet cache per user and per window ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003747#4003747 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003747 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1.1.GA
ICEFaces 1.5.1 and Seam 1.1.1 are (relatively) the best combination of each so far. ICEFaces on its own is good, (except the icefaces datepicker which is unusable), seam is great. The combination is getting better and better. Now ICEFaces 1.5.2 is out it should be even better since they made it more Seam compatible. I did not try that yet because I have to have something working and was not fully successfull with 1.5.1 so swithced back to using more plain jsf components View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003748#4003748 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003748 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem with ActionHandler
I am using JBPM 3.1.2 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003755#4003755 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003755 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Advice on Security System
I tried again, running ant clean first then logging in with demo/demo, still no exception. I've since changed ProfileAction so that it doesn't use the Principal name in the query, so if you want to try this latest version from CVS it should now work for you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003762#4003762 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003762 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1.1.GA
I also tried the latest ICEFaces and played with the tree component. Unfortunately it is not really usable, there are rendering issues and the model binding is unnecessarily complicated by mixing the Swing TreeModel with a custom IceUserObject extension point. This regularly comes up on the ICEFaces forum, the extension point should be removed and developers should be able to write against plain TreeModel and TreeNode interfaces. I did not try any other ICEFaces component though. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003767#4003767 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003767 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Injecting Entity Queries into beans
At the moment you can inject an EntityQuery into a component @Name(foo) | public class Foo { | |@In(create=true) |private EntityQuery barQuery; | |... | |public void foo() { | Iterator it = barQuery.getResultList().getIterator(); | while (it.hasNext()) { | Bar bar = (Bar) it.next(); | ... | } |} | | } but it would be much neater (IMO) if you could just inject the results of the query @Name(foo) | public class Foo { | |@In(create=true, value=barQuery.resultList) |private ListBar bars; | |... | |public void foo() { | for (Bar bar : bars) { | ... | } |} | | } Am I missing an obvious way to do this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003774#4003774 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003774 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1.1.GA
[EMAIL PROTECTED] wrote : Seam 1.1.1 is available for download | | I see new chapter in documentation for 1.1.1 (Chapter 23. Security). Is new security ready to use now? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003780#4003780 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003780 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Booking example stops working
If you wait several minutes on search page, everything stops working. Here is how you can repeat this behavior: - all business operations are performed in one tab/window - all debug operations are performed in second tab 1. register 2. login 3. search for string a - it works 4. check debug console - no conversations 5. wait 30 min. (this is actually around 5 min, but I don't now the exact number) 6. try searching for string a - it no longer works 7. click on search link at the top of the page 8. try searching for string a - it still doesn't work 9. click settings link at the top of the page 10. click on search link at the top of the page 11. try searching for string a - it still doesn't work 12. if you go to the debug console and inspect user from Session context you will see that it is null which, I guess, means that you are logged out of system 13. click settings link at the top of the page 14. try changing your password - you are (correctly) redirected to start page but without any notice that your session has expired and that you must login back Now, I'm totally new with Seam, and I would expect the example application, which I'm using as some kind of staring point in developing my own application, to work flawlessly. There are actually several more problems: 1. When you search for hotels, no matter what are the results, the links are always the same. The link is index-based instead of id-based, so it appears that you have already visited that/first hotel (purple vs. blue link) when in fact you haven't. 2. If you wait some time and you click the hotel link, you get an exception (I can't repeat this but it happened, parhaps after the conversation expired - I know I was going back and forth, waiting in some tabs and at some point I got an exception which could be traced into list not containing item number 2). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003781#4003781 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003781 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: jboss-portal-2.6-ALPHA1-bundled with Oracle
Hello Julien, thx for reply, unfortunatly the new domain.hbm.xml did not work as well, even more tables missing in Oracle Schema With the original one i got 79 Tables in Oracle, with the new from you it`s only 66. When requesting http://localhost:8080/portal i get a different exception: 2007-01-19 13:14:24,966 ERROR [org.jboss.portal.server.servlet.PortalServlet] Unexpected exception | java.lang.NullPointerException | at org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObjectNode(PersistentPortalObjectContainer.java:252) | at org.jboss.portal.core.impl.model.portal.AbstractPortalObjectContainer.getObject(AbstractPortalObjectContainer.java:125) Regards Oliver View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003786#4003786 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003786 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - s:validateAll and Advanced Facelets Programming. Is it a
I was impressed by http://www-128.ibm.com/developerworks/web/library/j-facelets2.html I tried to implement similar approach but I got StringOutOfRangeException. That was the first problem with Validators class. It is in the following string: String modelExpression = propertyExpression.substring(0, dot) + '}'; When I use #{object[property]} syntax, dot is -1 and exception is raised. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003788#4003788 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003788 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem with ActionHandler
Use taskInstance.getVariable() and taskInstance.setVariable(). Regards, Koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003792#4003792 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003792 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - can we integrate an application with jbpm?
1.i creaed an application in java before 1 month.now i want to integrate it with jbpm.can we do that?if possible tell me how 2.Intially when we run jbpm,it is displaying login a page containing login field.i want to put my own pages in place of that.can you tell me how can i do that? please reply as early as possible.i will be more thankful to you if you can help me in this View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003793#4003793 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003793 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: can we integrate an application with jbpm?
1: yes, by reading the documentation and doing it 2: yes, by either creating your own webapp or changing the jbpm login page/mechanism (it is just j2ee based) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003794#4003794 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003794 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - File upload tutorial not valid anymore?
Hi all, I followed the tutorial on http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamFileUpload (also read the ONJava article), and tried to implement it myself, using: jboss-4.0.5.GA jboss-seam-1.1.0.GA tomahawk-1.1.3 commons-fileupload-1.1.1 commons-io-1.2 (that's it, right?) Everything went well, till I press the submit button; it just clears the input-path-inputbox without invoking the backend-logic. However, when I don't select a file, the backend-logic gets executed. Is this a flaw in the tutorial, or is it me (most likely)? Bram View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003795#4003795 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003795 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - How to get the number of subscribers to a queue
Hi Can anyone please tell me how to get the number of subscribers subscribed to a queue. With MQ I used to interrogate the SubscribersCount property. Regards Alfred Thomas View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003796#4003796 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003796 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:validateAll and
Can you post the facelet you are trying to get working? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003797#4003797 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003797 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: can we integrate an application with jbpm?
Ronald, thank u for ur reply. can u please send me an example project in which you have integrated ur application with jbpm. and also a document which helps me in that. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003799#4003799 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003799 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Jboss 4.0.5 vs 4.0.1sp1
Hello there! We've just upgraded from 4.0.1 - 4.0.5 and we are getting an unusual errors here. It seems that 4.0.5 consider that everything is a XA tx, altough we do not use XA. We do have 2 different datasources, and yes we have places where some commit happens on both. We have a mix of entity + iBatis environment. One of the errors that appeared is : SET CHAINED command not allowed within multi-statement transaction. exception accessing Sybase. After a few google search I found out that this is because of XA transactions. Also warnings like WARN [org.jboss.resource.connectionmanager.TxConnectionManager] Prepare called on a local tx. Use of local transactions on a jta transaction with more than one branch may result in inconsistent data in some cases of failure. are being logged. My question is, did Jboss changed the way it deals with transactions? by simply removing jboss-xa-jdbc.rar will it fix this issue? Best regards View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003800#4003800 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003800 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: File upload tutorial not valid anymore?
I think the tutorial is unmaintained. Probably this is an area that Seam should address as it's something that is often requested. Perhaps you could file a JIRA issue and see what Gavin says. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003801#4003801 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003801 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1.1.GA
Is there any documentation where to put all the necessary jars in the ear and which jar is needed since Seam and ICEfaces use similar jars, e. g. commons-beanutils-1.7.0.jar (Seam) and commons-beanutils.jar (ICEfaces). I think it's better to use the versioned Seam jars since I can determine the version of the jar. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003802#4003802 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003802 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Advice on Security System
Yep, it is working now, well done, the whole security framework is really great work, thank you View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003804#4003804 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003804 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:validateAll and
I fixed some lines in that class got NPE. I realized that validate() takes script component tag parameters instead of evaluated expression. I debugged a lot JSF RI 1.2 and EL and realized that EL defers evaluation. Thus by calling valueBinding.getExpressionString() in ModelValidator.validate() Seam obtains just expression as it looks like but not as it should be evaluated. I don't see a workaround. I commented s:validateAll and now all works fine except hibernate validators. But I love this feature in Seam and will count on it in the future. Some excerpts from my code: source tag:ui:composition | | c:if test=#{empty id} | c:set var=id value=#{name}/ | /c:if | | c:if test=#{empty readonly} | c:set var=readonly value=#{details.readonly}/ | /c:if | | !-- detect type of editor -- | c:if test=#{empty editor} | c:set var=editor value=#{my:detectEditor(object, name)}/ | /c:if | | !-- insert controls -- | | c:if test=#{editor == 'text'} | h:inputText id=#{id} value=${object[name]} readonly=#{readonly} | ui:insert/ | /h:inputText | /c:if | | c:if test=#{editor == 'textarea'} | h:inputTextarea id=#{id} value=#{object[name]} readonly=#{readonly} | ui:insert/ | /h:inputTextarea | /c:if | | c:if test=#{editor == 'selectBooleanCheckbox'} | h:selectBooleanCheckbox id=#{id} value=#{object.name} readonly=#{readonly} | ui:insert/ | /h:selectBooleanCheckbox | /c:if | | /ui:composition how tag is used: s:decorate | my:property object=#{details.object} name=name/ | /s:decorate | As the result expression string is object[name]. But facelets calculates it as #{details.object.name} NPE is due to the fact that there is no object in searchable contexts. Please give me an advice how to work around this problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003803#4003803 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003803 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:validateAll and
As I suspected ;) There is AFAIK no way around the problem. As you say, what needs to happen is that you need to be able to ask EL to give you the final expression for expression, but there is no functionality in EL for this. I know Jacob is aware of this problem and I think he is working on a new version of EL so hopefully that will fix this. The only way I know to get around this is to extend model validator and make it take a string that references the bean.property to validate against. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003806#4003806 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003806 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: can we integrate an application with jbpm?
please read the existing documentation first (including the wiki), look at the examples and testcases... if you are into java this will give you more than enough information to get started. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003807#4003807 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003807 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Navigation Problem
I am having a problem with navigation in my application. If I use the following code, every thing works fine. | h:commandButton id=login action=login value=Login/ | But if I use the code below, the navigation doesn't works. The action listener is called but the redirect doesn´s happen. | h:commandButton id=login action=#{login.login} value=Login/ | ... | @Stateless | @Name(login) | public class LoginAction implements Login { | |public String login() { |return painelGerencial; |} | | } | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003810#4003810 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003810 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Configuration files, section 5.2 of user guide
While the text seems unclear to me, I have determined that it refers to the root directory of the web archive file. Consider the question answered. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003809#4003809 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003809 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: Getting Started and UserGuide - Configuration files for
While the text seems unclear to me, I have determined that it refers to the root directory of the web archive file. Consider the question answered. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003812#4003812 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003812 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - NullPointerException when adding ActionHandlers with GPD?
Hello, I'm using JBoss IDE 1.5.1 bundle and the GPD which comes pre-installed with it. I'm trying to add my own ActionHandlers to some actions I've created. I enter my ActionHandler implementation to the 'Class' field using the 'Browse' function, press OK and get an error dialog An error has occurred. See error log for more details. The error log has a NullPointerException in it: java.lang.NullPointerException at org.jbpm.ui.properties.ActionHandlerPropertyPage.performOk(Unknown Source) at org.eclipse.jface.preference.PreferenceDialog$11.run(PreferenceDialog.java:862) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044) at org.eclipse.core.runtime.Platform.run(Platform.java:783) etc... I get the exception regardless of the configuration type I'm using. I have to add the ActionHandler class manually to the process definition XML. Is this a known issue (tried to search this forum) or am I doing something wrong? regards, Saku View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003814#4003814 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003814 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Destroying connection that could not be successfully matched
Hi! Using JBoss 4.0.5.GA-ejb3, Hibernate 3.2 Can someone explain what this means? Is the connection closed and removed from the pool when matchManagedConnections returns null? | 2007-01-19 15:16:15,045 WARN [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Destroying connection that could not be successfully matched: | [EMAIL PROTECTED] mc=fi.logiasoftware.jca.adapter.GenericManagedC | [EMAIL PROTECTED] handles=0 lastUse=1169212574965 permit=false trackByTx=false [EMAIL PROTECTED] | 6ba76ba [EMAIL PROTECTED] | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003815#4003815 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003815 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Navigation Problem
are u sure painelGerencial exists in your navigation file? If not, you will stay at the same page View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003818#4003818 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003818 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: NullPointerException when adding ActionHandlers with GPD
Hi Saku, This is indeed a known issue AFAIR. Try and use a different GPD version from the one that comes with JBoss IDE 1.5.1. Or else enter the name manually using the XML source page. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003819#4003819 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003819 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Programmatic login
Hi all. I need to implement the following scenario: there is a login portlet with 2 fields for username and password and login button. Button has action url which triggers action in the portlet which makes real authentication. I dont want to use form-based authentication. Any ideas would be very helpful. I know the topic is not so easy but maybe somebody already has a solution. Thx View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003822#4003822 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003822 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Any Limit on the Number of connection to JBoss Messaging Ser
Hi Just wanted to know is there is any limit in creating connection object(with invocation of start method on the connection object) to JBoss Messaging. We are using jboss-messaging-1.0.1.GA. 1) I just wrote a program which created a connection object of around 2000.While going thru the log ,i cud able to get some exception.those exceptions did not stop the execution of the program in creating 2000 connection object.I did not do any operation on those connection object. I just created and invoked start method on it. Attached the exception seen at client and server side. do let me know your fruitful reply!! Exception seen at the client side = java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120) at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86) at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) at org.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60) at java.io.ObjectOutputStream.writeObject(Unknown Source) at java.util.HashMap.writeObject(Unknown Source) at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120) at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86) at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) at org.jboss.serial.io.JBossObjectOutputStream.writeObjectOverride(JBossObjectOutputStream.java:181) at java.io.ObjectOutputStream.writeObject(Unknown Source) at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.sendObject(JavaSerializationManager.java:85) at org.jboss.remoting.marshal.serializable.SerializableMarshaller.write(SerializableMarshaller.java:84) at org.jboss.jms.server.remoting.JMSWireFormat.write(JMSWireFormat.java:310) at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.versionedWrite(MicroSocketClientInvoker.java:502) at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:340) at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:125) at org.jboss.remoting.LeasePinger.sendClientPing(LeasePinger.java:97) at org.jboss.remoting.LeasePinger$LeaseTimerTask.run(LeasePinger.java:216) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source) Caused by: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(Unknown Source) at java.util.HashMap$EntryIterator.next(Unknown Source) at java.util.HashMap$EntryIterator.next(Unknown Source) at java.util.HashMap.writeObject(Unknown Source) ... 36 more java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120) at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86) at
[jboss-user] [Beginners Corner] - javax.naming.NameNotFoundException hibernate service
Hello everybody, I am learning server technology and now I want to do small application. JSF - EJB2 - Hibernate - MySQL. I defined this mbean in my .har server | mbean code=org.jboss.hibernate.jmx.Hibernate |name=sprava:name=MySqlSessionFactory | attribute name=DatasourceNamejava:/MySqlDS/attribute | attribute name=Dialect | org.hibernate.dialect.MySQLDialect | /attribute | attribute name=SessionFactoryName | java:/hibernate/MySqlSessionFactory | /attribute | attribute name=ShowSqlEnabledtrue/attribute | /mbean | /server | During the deploying look all fine. And it ends 2007-01-19 07:54:11,206 INFO [org.jboss.hibernate.jmx.Hibernate] SessionFactory successfully built and bound into JNDI [java:/hibernate/MySqlSessionFactory] I write in my EJBBean this code Code: try { InitialContext ctx = new InitialContext(); this.factory = (SessionFactory) ctx .lookup(java:/hibernate/MySessionFactory); } catch (Exception e) { throw new RuntimeException(ulozEJB, e); } TNepritomnost novy = new TNepritomnost(); novy.setDatum_od(d_od); novy.setDatum_do(d_do); novy.setZkratkaPracovnika(zkr); novy.setDuvod(duv); novy.setSpzAuta(spz); novy.setPoznamka(pozn); novy.setPocetObedu(obedy); Session session = this.factory.openSession(); Transaction transaction = session.beginTransaction(); session.save(novy); transaction.commit(); session.close(); But red row throw javax.naming.NameNotFoundException: MySessionFactory not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) at org.jnp.server.NamingServer.getObject(NamingServer.java:543) at org.jnp.server.NamingServer.lookup(NamingServer.java:296) at org.jnp.server.NamingServer.lookup(NamingServer.java:270) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) at javax.naming.InitialContext.lookup(InitialContext.java:351) at sprava.web.TestDSBean.uloz(TestDSBean.java:63) I mean that I should wirte some reference from ejb to hibernate mbean service but I don't know how. Please help me or send any link for more information. I was finding it here and in wiki too but not succesfully. Thanks for your time. Georg Black. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003824#4003824 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003824 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:validateAll and
Bad news :( I don't want to rewrite UiValidateAll, but it seems that it is the only way. I haven't realized yet how to build the expression. Probably I will need to access to private field orig in some class. It keeps the original expression. It won't be difficult to traverse all the ASF classes and build the final expression. At least I hope that it is possible. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003827#4003827 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003827 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Wanted to do some mangerial activities on JBoss messaging en
Hi Just wanted to know is there any way i can get the total number of connections to Jboss messaging server at any point of time. how many sessions are open ,how many messages have been transferred for a particular Queue,Topic... Basically i need some statistics on the Queue,Topic and various entities on the JBoss messaging servers. Please do suggest any tool which gives me snap shot of the messages transferred.some kind of dashboard... I was told to use hermerJMS tool...does it support JBoss messaging... In their site they hav specified that hermesJMS tool supports JBoss MQ. Please do give me suggestion on this matter View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003828#4003828 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003828 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Navigation Problem
Yes. Exist. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003830#4003830 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003830 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: File upload tutorial not valid anymore?
I found a solution. Use this tutorial: http://wiki.jboss.org/wiki/Wiki.jsp?page=Alternative_FileUpload, especially the parts regarding the MANIFEST.MF, and you'll be fine. At least, I was... b. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003832#4003832 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003832 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Problem with prepackaged security aspect on a POJO using
:(, tried several times, but is not working. Below is the list of steps i think are correct and that i've already done: 1) downloaded: jboss-4.0.5.GA.zip 2) downloaded: jboss-aop_1.5.0.GA.zip 3) copied jboss-aop_1.5.0.GA\jboss-40-install\jboss-aop-jdk50.deployer to jboss-4.0.5.GA\server\default\deploy\ 4) edited jboss-4.0.5.GA\server\default\deploy\jboss-aop-jdk50.deployer\META-INF\jboss-service.xml: -) EnableLoadtimeWeaving: true -) mbean: org.jboss.aop.deployment.AspectManagerServiceJDK5 -) include: security., org.jboss.injbossaop -) exclude: org.jboss.,org.apache. 5) copied jboss-aop_1.5.0.GA\lib-50\pluggable-instrumentor.jar to jboss-4.0.5.GA\bin\ 6) changed jboss-4.0.5.GA\bin\run.bat to set JAVA_OPTS=%JAVA_OPTS% -Dprogram.name=%PROGNAME% -javaagent:pluggable-instrumentor.jar at line 73 7) changed the other definition in jboss-4.0.5.GA\server\default\conf\login-config.xml as application-policy name = other |authentication | login-module code = org.jboss.security.auth.spi.UsersRolesLoginModule | flag = required | module-option name=usersPropertiesprops/users.properties/module-option | module-option name=rolesPropertiesprops/roles.properties/module-option | module-option name=unauthenticatedIdentitynobody/module-option | /login-module |/authentication | /application-policy 8) generated the two files with content: | # roles.properties | userA=rolA | userB=rolB,rolC | | # users.properties | userA=passA | userB=passB 9) changed jboss-4.0.5.GA\server\default\deploy\jbossweb-tomcat55.sar\META-INF\jboss-service.xml at line 58 to: true 10) packaged the application as a .sar deployment with the war and aop inside (i could send it if you want to, the sar it's about 4k) Don't know what else to do. There's no error in the output or anything, it seems like is working correctly but is not applying the aspect as defined in the XML. In the same configuration, if i uncomment the security annotations it works perfect. tks.- View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003836#4003836 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003836 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Clustering issue
maybe someone can give me a pointer what to check to solve this issue. I am working with JBoss-4.0.5.GA installed with the latest JEMS-installer. I installed the EJB3-cluster profile. In my application I have several SFSBs annotated with @Clustered and after a certain amount of time the following huge stacktrace is printed. The class which is not found can be any of my SFSBs so it is not always the same class which is not found. The my.TestSFSBean has 3 private String members and a private static Collection where SelectItem implements Serializable. Any idea? | 16:10:48,031 ERROR [STDERR] java.lang.ClassNotFoundException: No ClassLoaders found for: my.TestSFSBean | 16:10:48,031 ERROR [STDERR] at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212) | 16:10:48,031 ERROR [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511) | 16:10:48,031 ERROR [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405) | 16:10:48,031 ERROR [STDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:251) | 16:10:48,031 ERROR [STDERR] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) | 16:10:48,031 ERROR [STDERR] at java.lang.Class.forName0(Native Method) | 16:10:48,031 ERROR [STDERR] at java.lang.Class.forName(Class.java:242) | 16:10:48,031 ERROR [STDERR] at org.jboss.serial.io.JBossObjectInputStream.resolveClass(JBossObjectInputStream.java:141) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.io.JBossObjectInputStream$1.resolveClass(JBossObjectInputStream.java:127) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.classmetamodel.ClassMetamodelFactory.resolveClassByName(ClassMetamodelFactory.java:266) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.classmetamodel.ClassMetamodelFactory.getClassMetaData(ClassMetamodelFactory.java:289) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.classmetamodel.StreamingClass.readStream(StreamingClass.java:72) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:381) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.persister.ArrayPersister.readObjectArray(ArrayPersister.java:196) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.persister.ArrayPersister.readData(ArrayPersister.java:172) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:163) | 16:10:48,046 ERROR [STDERR] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.io.MarshalledObject.get(MarshalledObject.java:68) | 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:342) | 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulBeanContext.getInterceptorInstances(StatefulBeanContext.java:333) | 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.interceptor.LifecycleInvocationContextImpl.getLifecycleInvocationContext(LifecycleInvocationContextImpl.java:65) | 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.interceptor.LifecycleInterceptorHandler.postActivate(LifecycleInterceptorHandler.java:143) | 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulContainer.invokePostActivate(StatefulContainer.java:376) | 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulBeanContext.postActivate(StatefulBeanContext.java:183) | 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.cache.tree.StatefulTreeCache$ClusteredStatefulCacheListener.nodeActivate(StatefulTreeCache.java:275) | 16:10:48,046 ERROR [STDERR] at org.jboss.cache.TreeCache.notifyNodeActivate(TreeCache.java:5714) | 16:10:48,046 ERROR [STDERR] at org.jboss.cache.interceptors.ActivationInterceptor.remove(ActivationInterceptor.java:162) | 16:10:48,046 ERROR [STDERR] at
[jboss-user] [JBoss Seam] - Re: Lazy mans guide to developing SEAM!
Is there any difference between MyEclipse and plain eclipse + jboss IDE in regard with deployment and all this stuff that you are writing about. Can I do this kind of deployment with plain eclipse? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003858#4003858 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003858 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:validateAll and
It would be great if you can post back any success you have :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003857#4003857 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003857 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: removeTaskInstance doesn't work!
Sorry, the real code is this: | public void removeStateProcessInstance(Integer keyRef, String processNname, String state) { | JbpmContext jc = jbpmConfiguration.createJbpmContext(); | TaskMgmtSession tms = jc.getTaskMgmtSession(); | try { | GraphSession gs = jc.getGraphSession(); | ProcessDefinition pd = gs.findLatestProcessDefinition(processName); | | List processInstances = gs.findProcessInstances(pd.getId()); | if (processInstances.isEmpty() == false) { | ListIterator listProcessInstances = processInstances.listIterator(); | while (listProcessInstances.hasNext() ) { | ProcessInstance pi = (ProcessInstance)listProcessInstances.next(); | ContextInstance contextInstance = pi.getContextInstance(); | if(contextInstance.getVariable(key)!=null) { | if(keyRef.intValue() == Integer.parseInt(contextInstance.getVariable(key).toString())) { | | //Obtém o TaskInstanceId da última tarefa da lista actual | Iterator taskInstances = pi.getTaskMgmtInstance().getTaskInstances().iterator(); | TaskInstance ti = null; | | long tid = 0; | while (taskInstances.hasNext()) { | ti = (TaskInstance) taskInstances.next(); | if(ti.getName().equals(state)) tid = ti.getId(); | } | | //Put 'End' field to null and get token node | Node node = null; | ArrayListLong x = new ArrayListLong(); | for(Iterator i=pi.getTaskMgmtInstance().getTaskInstances().iterator(); i.hasNext();) { | ti = (TaskInstance) i.next(); | if(ti.getId()==tid) { | ti.setEnd(null); | node = ti.getToken().getNode(); | } | | if(ti.getId()tid){ | x.add(ti.getId()); | } | } | | | Token token = pi.getRootToken(); | token.setNode(node); | | int i; | //remove taskInstances | for(i=0;ix.size();i++) { | TaskInstance tit = tms.loadTaskInstance(Long.parseLong(x.get(i).toString())); | pi.getTaskMgmtInstance().removeTaskInstance(tit); | | } | | } | } | jc.save(pi); | break; | } | } | }catch (Exception e) { | System.out.println(e.getMessage()); | } finally { | jc.close(); | } | } | It doesn't save the
[jboss-user] [JBoss Portal] - Re: JBoss-Portal-2.6-Alpha-1, Image upload in CMS does not w
This didn't work in 2.4 either. See http://www.jboss.com/index.html?module=bbop=viewtopict=88506. The JIRA is http://jira.jboss.com/jira/browse/JBPORTAL-983 if you want to vote for it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003862#4003862 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003862 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Numberformat exception while calling the WebService in BPEL
Hello, I am having following error when my BPEL process invokes a webservice. It behaves randomly with some times the webservice invocation works and other times it fails with this error. 2007-01-19 10:02:22,263 DEBUG [org.jboss.axis.transport.http.HTTPSender] -- 2007-01-19 10:02:22,325 DEBUG [org.jboss.axis.transport.http.HTTPSender] 220-* 2007-01-19 10:02:22,325 DEBUG [org.jboss.axis.transport.http.HTTPSender] For input string: 220-* java.lang.NumberFormatException: For input string: 220-* at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:456) at java.lang.Integer.parseInt(Integer.java:497) at org.jboss.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSender.java:643) at org.jboss.axis.transport.http.HTTPSender.invoke(HTTPSender.java:135) at org.jboss.axis.strategies.InvocationStr Has any one seen this error before. What could be the cause. My environment is JBOSS - 4.0.3 SP1 Java -- 1-5 Server :(Red Hat Linux 3.2.3-56) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003859#4003859 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003859 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: A change from one client via RMI on Server doesn?t see t
Now it works. There was a problem with DNS server. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003854#4003854 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003854 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Any Limit on the Number of connection to JBoss Messaging
I believe this is a remoting bug that has been found and fixed by Clebert. Clebert - can you confirm? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003844#4003844 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003844 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Conversations
Is is possible to start a new conversation with @Begin and leave the current one untouched? As result there will be two sibling conversations. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003849#4003849 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003849 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Hot redeployment on Jboss AS 5.0.0
Hi I have a problem with JBoss AS 5. When I replaced EAR in deploy dir on version 4, it reloaded the application. AS 5 is not working this way for me now (Linux, Java 5, nothing special). I have to turn the AS all around with all the unnecessary time. Is there a cure for this? What I missed? I'll appreciate any hints. Virgo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003853#4003853 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003853 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Question: hierarchical model (graph nesting) ?
There is subprocess support - but it invokes another process from a node. If you mean having multiple pages that can reference each other within the same process definition, I don't think it exists. I wish it were implemented too! If you meant neither of these, please clarify. -Ed Staub (another newbie, trying to help - please correct if I went astray) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003856#4003856 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003856 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: NullPointerException when adding ActionHandlers with GPD
[EMAIL PROTECTED] wrote : This is indeed a known issue AFAIR. Try and use a different GPD version from the one that comes with JBoss IDE 1.5.1. Or else enter the name manually using the XML source page. Ok, thanks. I will try to live with the older version of GPD for now since I had some trouble deploying my process properly with a newer version. regards, Saku View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003852#4003852 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003852 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: NoSuchMethodError: javassist.CtClass.stopPruning(Z)
In the hopes of benefitting anyone else who runs into this error -- it was an issue with the file versions. When I installed JBoss 4.0.5, and the latest version of the cache and aop software, I needed to build from the lib-50 stuff from the aop install and the cache install. I was attempting to build from the JBoss 4.0.5 server lib jars. I ended up copying the lib-50 jars to JBoss... /server/default/lib. I'm hoping I'll also be able to run now!! J View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003855#4003855 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003855 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - ExecutionContext transactionTimeout misinterpreted by JBoss
according to http://java.sun.com/j2ee/1.4/docs/api/javax/resource/spi/work/ExecutionContext.html the transaction timeout (used by WorkWrapper/JBossWorkManager) is given in SECONDS, JBoss interprets this value as MILLISECONDS, hence we get a thread terminated after 60 msecs which are meant to be 60 seconds by the resource adapter. I dont know if anyone had this problem before, just want to let know about this. We will patch JBoss (4.0.3sp1) ourselfes, because with JBoss you never know if a bug will be fixed or even if you get a reply in the support forum at all. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003851#4003851 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003851 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Wanted to do some mangerial activities on JBoss messagin
Full management capabilities including statistics etc are available in 1.2, but not 1.0.x. I don't know if Hermes has got to around to supporting JBM yet, maybe you could ask them? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003846#4003846 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003846 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: How to get the number of subscribers to a queue
This is not supported in 1.0.x, however it is supported in 1.2: |attribute access=read-only getMethod=getConsumerCount | descriptionThe number of consumers on the queue/description | nameConsumerCount/name | typeint/type |/attribute | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003843#4003843 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003843 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Javassist user questions] - Javassist PermGen Problem with MyFaces
Hello, we have some problems with Javassist in combination with MyFaces client state saving activated (Server State Saving works without problems): Everytime when a detached EJB3/Hibernate object is restored from Client View, Javassist generates a new proxy for the class. MyFaces uses an ObjectInputStream to deserialize the saved objects. ( There was a similiar problem with javassist and Remote EJB Calls: http://jira.jboss.com/jira/browse/JASSIST-30 ) Does anybody know this problem ? br Matthias View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003847#4003847 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003847 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Inteception on field inherited through generic superclas
OK, I have reproduced your problem and fixed in svn for Branch_AOP_1_5. Please let me know if I got it right this time :-) I can't remember if you had problems building it from svn, but once you check it out 1) delete all subfolders of the thirdparty/ folder 2) go to the build/ folder and touch build-thirdparty.xml 3) execute build.sh/bat to download the thirdparty libs, it will then continue to build all of JBoss If 3) works and builds all of JBoss then that's fine. Otherwise, you will need to: - go to the common/ directory, and execute build.sh/bat - go to the aop/ directory and execute build.sh/bat View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003845#4003845 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003845 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Hot redeployment on Jboss AS 5.0.0
Ah... I always googled only some memory leak fixed (release notes) and I must miss this in the README. Ok, good to know. Thanks :-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003871#4003871 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003871 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Create programmatically Subprocess
Hi, can somebody could point me how to create programmatically subprocess ? any help is appreciated.. ppc View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003870#4003870 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003870 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Guidance on nested pageflows
I've seen a few posts about this topic but can't get my head around what is possible. I'd like to have a main pageflow that delegates to several sub-flows rather than have a single rather large main flow; and I'd like the delegation to be controlled by the pageflow. Is this possible; and if so, could someone point me toward an example or provide some sort of starting point for me? Thanks, Daniel View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003873#4003873 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003873 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Enabling transport compression with JBossWS
Are there any plans for JBossWS to upgrade to Remoting 2.0.x and use the new feature http://jira.jboss.com/jira/browse/JBREM-425;jsessionid=506E94EEC425428E9D0B647DBCB56E7C so that clients can indicate that they accept compressed transport data and actually use the compression unmarshaller if data is received that is compressed? It would be nice if this was exposed to a configuration file. Also I'm not sure if it is possible for a J2SE web service client easily send its transport data as compressed, but if it is and can be made configurable that would be usesful too. Another reference is from the Remoting User forum http://www.jboss.org/index.html?module=bbop=viewtopict=96233 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003872#4003872 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003872 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: HibernateException (cache) when deployign hello process
I had the same problem as you with JBoss AS 4.0.5. In this version Hibernate 3.2 is used. JBoss AS 4.0.4 comes with Hibernate 3.1 and this is what the service is build for (build.service.404). I think this is the problem. Replacing Hibernate 3.2 with 3.1 will solve the problem but is not a good solution. Modifying hibernate.cfg.xml is the better one but I was not able to configure it right yet. Regards Christian View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003874#4003874 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003874 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - seam with oracle adf
Hello everybody I would like to use seam with ADF I am using JDeveloper 10.1.3.1.0 Latest seam (1.1.1GA) version has been download installed I prepared a new project with seam-gen (thats works) Then I made a jdev project (using ... project from source) and added new JSP (jspx) page with a simple seam action listener Then I modified the build.xml (because of jdev needed to prepare own WEB-INF/libs and configs to use jsp editor) Then I replaced the original (sem generated) web.xml, faces-config.xml ..etc) with files from adfregistration example Finally I tried to deploy ... no success Because of I have got various exceptions and I do not know already what I replaced and overwritten ...etc So could somebody send me ([EMAIL PROTECTED]) with a real working prototype where seam is used with ADF (.jsp or jspx ) (maybe with facelets) I think it would be enough the web, faces-config.xml ... the list of the used jars and the build.xml (Otherwise seam impressed me) Thanks Lschaffer View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003877#4003877 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003877 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - 3.23.x MSSQL datasources -- not reconnecting on DB failure
We're trying hard to get upgraded to a recent release of Jboss, but in the meantime are stuck on 3.23. We're having some DB stability issues in which our clustered MS SQL server is failing over fairly regularly. Right now, this requires us to manually restart JBoss instances, because they lose connection to the DB and begin throw exceptions stating that no managed connections are available. Most of our data sources are using a fairly simple configuration: no-tx-datasource jndi-nameREMOVED/jndi-name connection-urljdbc:microsoft:sqlserver://REMOVED:REMOVED; DatabaseName=REMOVED/connection-url driver-classcom.microsoft.jdbc.sqlserver.SQLServerDriver/driver-class user-nameREMOVED/user-name REMOVED max-pool-size50/max-pool-size blocking-timeout-millis1/blocking-timeout-millis /no-tx-datasource The URL points at a floating virtual IP that may be taken over by either of two SQL servers. Is there any way we can configure the datasources to deal more gracefully with these hard DB failures? This would save us a lot of downtime! Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003881#4003881 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003881 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: who can help me? something about treecache.
yet, the path is class/resources/treecache.xml, so can you give me a simple comfig but not the ect/META-INF/tree-service.xml, of course, if you can write some notes or tell me for what? and whether or no thank you for your help! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003880#4003880 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003880 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - problem using embeded ejb3.0
hi, i m using embeded ejb 3.0 with hibernate entity manager to test junit test cases. i have already configured all the files to deal with mysql database. but while i m running the test cases i m getting the following errors. is it necessary to chanfge any code in the jboss-jms-beans.xml file. i have already configured embeded-jboss-beans.xml,persistence.xml file. is there any more files need to be change. if any one feel so then please suggest me. if any one feel any confusion then please let me know i will send acrross the entire code. b]21:14:31,819 WARN [BeanSchemaBinding] You should use the 2.0 version of the Microcontainer xml. xmlns='urn:jboss:bean-deployer:2.0' 21:14:32,272 INFO [LocalTxDataSource] Bound datasource to JNDI name 'java:/DefaultDS' 21:14:33,256 ERROR [AbstractKernelController] Error installing to Start: name=jboss.mq:service=PersistenceManager state=Create org.jboss.mq.SpyJMSException: Could not resolve uncommited transactions. Message recovery may not be accurate; - nested throwable: (com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Every derived table must have its own alias) at org.jboss.mq.pm.jdbc2.PersistenceManager.resolveAllUncommitedTXs(PersistenceManager.java:442) at org.jboss.mq.pm.jdbc2.PersistenceManager.startService(PersistenceManager.java:1571) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196) 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.joinpoint.plugins.reflect.ReflectMethodJoinPoint.dispatch(ReflectMethodJoinPoint.java:72) at org.jboss.kernel.plugins.dependency.KernelControllerContextActions.dispatchJoinPoint(KernelControllerContextActions.java:96) at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$LifecycleAction.installAction(KernelControllerContextActions.java:476) at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$KernelControllerContextAction.install(KernelControllerContextActions.java:171) at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:593) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:346) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:438) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:379) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:225) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:151) at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:291) at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:261) at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:117) at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:95) at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.deployXmlResource(EJB3StandaloneBootstrap.java:82) at com.wmg.gcdm.JUnitTest.GCDMTest.startupEmbeddedJboss(GCDMTest.java:73) at com.wmg.gcdm.JUnitTest.GCDMTest.setUp(GCDMTest.java:62) at junit.framework.TestCase.runBare(TestCase.java:125) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at
[jboss-user] [Installation, Configuration Deployment] - What Port open firewall and redirect NAT
Hello, I am French so excuse me for my english. I would like to know what port must be open to redirect in my routeur JBOSS and EJB I know the port 1099 and 1098 for JNDI/RMI but my rich client cannot connect to my JBOSS/EJB. And in my local network it's ok. Thank's for you, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003884#4003884 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003884 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ASync calls stays in JBoss queue after restart
We are considering alternative implementations for timer events than the EJB timer service. In the meantime, you are at the mercy of the timer service implementation and it's capabilities. I'm not familiar with the Could not destroy component problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003886#4003886 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003886 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Hot deployment..old jobs keep running..is it normal behavior
Hi, I'm using JBOSS 4.0.5GA with ejb3 exposed as web services. When we do hot deployment of ear file, in the middle of running a job, it doesn't get killed. It keeps running till completion. I was thinking when a new ear file is deployed, the new classes are loaded and the old processes will get terminated. Please advise. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003887#4003887 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003887 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: iceFaces inputFile component
Hi all, tried the icefaces upload component in conjunction with the new seam 1.1.1 release, and icefaces 1.5.2 and I still have no luck. I am getting the following Exception: anonymous wrote : | 16:52:50,353 ERROR [PhaseListenerManager] Exception in PhaseListener RENDER_RESPONSE(6) beforePhase. | java.lang.IllegalStateException: No page context active | at org.jboss.seam.core.FacesPage.instance(FacesPage.java:87) | at org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:219) | at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:51) | at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersBefore(PhaseListenerManager.java:70) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:373) | at com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.render(PersistentFacesState.java:180) | at de.ellumination.share.sb.UploadBean.progress(UploadBean.java:109) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166) | at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:37) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55) | at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:51) | at sun.reflect.GeneratedMethodAccessor118.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:18) | at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64) | at org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:23) | at sun.reflect.GeneratedMethodAccessor117.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:18) | at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64) | at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:51) | at sun.reflect.GeneratedMethodAccessor116.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:18) | at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64) | at org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144) | at org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129) | at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102) | at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:49) | at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118) | at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at
[jboss-user] [JBoss Seam] - Re: Running seam on geronimo problem
I looks like it is failing to connect to JNDI. How is that normally done in Geronimo? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003890#4003890 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003890 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Global navigation rules in pages.xml
Does view-id=* work for you? | page view-id=* |... | /page | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003891#4003891 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003891 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam with oracle adf
You should consider using trinidad - the result of the donation of ADF to the apache foundation. It's also worth searching the forum - this has come up before. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003892#4003892 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003892 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WS Eventing client - basics question
Eventing uses the remoting subsystem to send notifications. It should be possible to to trigger a, let's socket invocation by passing an according remoting URL within the EPR. In order to consume this on the client side, your swing app would need set up a corresponding server socket. See http://labs.jboss.com/portal/jbossremoting/docs/guide/ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003893#4003893 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003893 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Please Help....
OkFor the life of me I can not figure out where to put my Applet jar... Can anyone help? Here is my JSP | | %@ page language=java extends=org.jboss.portal.core.servlet.jsp.PortalJsp % | %@ taglib uri=http://java.sun.com/portlet; prefix=portlet % | %@ taglib uri=/WEB-INF/portal-lib.tld prefix=n % | | APPLET CODE=Applet.class CODEBASE=request.getContextPath() WIDTH=800 HEIGHT=632 | /APPLET | | I have my Applet jar at the root of my WAR file... The JSP is a few folders deep... THanks Indy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003897#4003897 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003897 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss.NET] - Re: Axis WebService Array Problem
HI, Did you or anyone found a solution to that problem? I am having the same problem, any help will be appreciated. (base=soapenc:Array is not recognizes!) Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003898#4003898 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003898 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam with oracle adf
hello I was thinking about Trinidat too But Trinidad did not have a release yet Jdev has and it has a great visual editor for jsf pages View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003899#4003899 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003899 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user