[jboss-user] [JBoss Seam] - Re: Component abstraction*
Just give your normal classes a lower precedence than the special classes. When two components have same name, higher wins. Look at the docs for more details. Greetz GHad View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112465#4112465 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112465 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Pojo doesn't get replicated in datastore
Hi, I've got a POJO which contains another POJO extends an ArrayList and when I put in cache, it store in datastore only the POJO which extends ArrayList but not its child elements. If I use directly an ArrayList, it works like a charm. Here is the code : @PojoCacheable | public class SimpleCircularBufferT extends ArrayListT { | | private int capacity; | | public SimpleCircularBuffer() { | super(1); | this.capacity = 1; | } | | /** |* @param capacity |*/ | public SimpleCircularBuffer(int capacity) { | super(capacity); | this.capacity = capacity; | } | | public boolean add(T o) { | if (this.capacity == this.size()) | super.remove(this.size() - 1); | // super.poll(); | super.add(o); | return true; | } | | public int getCapacity() { | return this.capacity; | } | | public void setCapacity(int capacity) { | this.capacity = capacity; | } | } | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112466#4112466 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112466 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2.0.1 CR1 is out
Nice job. BTW, you might want to change the 2.0.1.GA - 2.0.1.CR1 on the download page to avoid confusion... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112468#4112468 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112468 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: JBoss + MySQL + Persistence encoding issues
Opps, I forgot to put xml in code tags. ... I also set | property name=hibernate.connection.charSet value=UTF-8/ | property name=hibernate.connection.useUnicode value=true / | property name=hibernate.connection.characterEncoding value=UTF-8 / | in persistence.xml ... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112467#4112467 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112467 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jboss/jbpm
i've tried the following code for assigning value to 'admin', but when i've checked in jboss/jbpm-console server i find some unexpected incident..such as..'ve assigned to 'admin' but user, manager can do the same work..but i want that 'admin' shuld done that particular work..but this is not yet done: as for example..if 've maked some fields such as 'id' 'name' with the help of 'admin'..after data entry to that particular fields..'ve log-out from the current page..again 've log-in with the help of 'user'..but surprisinly..'ve seen that 'user' can do the same work..so pls help me out from this problem... package com.sample.assignment; import org.jbpm.taskmgmt.def.AssignmentHandler; import org.jbpm.graph.exe.ExecutionContext; import org.jbpm.taskmgmt.exe.Assignable; //import org.jbpm.graph.exe.ProcessInstance; public class StartAssignmentHandler implements AssignmentHandler { private static final long serialVersionUID = 2L; String message;//for field type public void assign(Assignable assignable, ExecutionContext executionContext) throws Exception { assignable.setActorId(manager); } } View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112470#4112470 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112470 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Undeploying multiple wars inside an ear causes NameAlrea
So, the problem has been solved. It seems, that in our configuration the binding procedure of transactionManager was called twice. When the first transactionManager was bound, the initizialization of the second failed. I have correct this. Thank you for your help. So long! Klaus View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112469#4112469 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112469 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Facelets: Ways to output code that shall be unparsed
If you use Facelets: How can one output a fragment like this? The tags will cause errors as this is not well-formed. This is code for Google-Analytics if(typeof(urchinTracker)=='undefined')document.write('sc'+'ript src='+\ | 'http'+(l=document.location.protocol=='https:'?'s://ssl':'://www')+\ | '.google-analytics.com/urchin.js'+'/sc'+'ript') I have put the code into a properties file and use this to output it, however I don't like this solution. Do you know a better one? h:outputText escape=false value=#{...} / View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112476#4112476 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112476 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - NON JRMP Server at Remote End Point Port
Hi, I am doing RMI/SSL. In that i have 2 applications deployed on 2 jboss servers on different machines. These applications should connect and make calls to each other thru RMIS . I have done all the necessary steps for Secure RMI But the exception i am getting is java.rmi.ConnectIOException : non-JRMP server at remote end point This exception is when client tries to invoke method on server . If i deploy the same applications on one server it works fine . Please help me in this matter. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112475#4112475 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112475 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Project structure and Seam
Hi everybody, I have a new question. In our project, we prefer a more traditonal project structure then the Seam Facet creates. Seam Facet creates the following structure Test Test-ear Test-ejb Test-test Our project realities are forcing a more traditional approach like Test (web application) Test-common Test-dataEjb Test-domain Test-EAR Test-sessionEjb Off course I created these project seperatly and I go on them one by one and enabled the Seam Support and naturaly I tried to create a Seam Form in the web application Test, I am receiving the message 'Seam Runtime is not configured for selected Seam Web Project'. As I said before I enabled Seam Support. Do I have to do something extra other then this? Thx in advance View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112471#4112471 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112471 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Non JRMP Server at remote endpoint Exception
Hi, I am doing RMI/SSL. In that i have 2 applications deployed on 2 jboss servers on different machines. These applications should connect and make calls to each other thru RMIS . I have done all the necessary steps for Secure RMI But the exception i am getting is java.rmi.ConnectIOException : non-JRMP server at remote end point This exception is when client tries to invoke method on server . If i deploy the same applications on one server it works fine . Please help me in this matter. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112472#4112472 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112472 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - NOn JRMP Server at remote end point port
Hi, I am doing RMI/SSL. In that i have 2 applications deployed on 2 jboss servers on different machines. These applications should connect and make calls to each other thru RMIS . I have done all the necessary steps for Secure RMI But the exception i am getting is java.rmi.ConnectIOException : non-JRMP server at remote end point This exception is when client tries to invoke method on server . If i deploy the same applications on one server it works fine . Please help me in this matter. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112474#4112474 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112474 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @DataModel s:link h:commandButton h:dataTable
While I have no desire to engage in a stream of personal abuse, that is what I have received so far. This forum seems to be populated by either 'stupid newbies' such as myself or arrogant people such as yourself. In answer to your question do I have any idea how often that question has been posted I have to state 'no'. But that is not for want of looking - before submitting my ignorant newbie question I did a search to see if the answer was already there but found nothing. I personally do not have the time to read every forum post - nor would I have thought do most people - that's a completely unreasonable expectation. Stepping back a little and trying to me more constructive, it seems to me that there is a lack of adequate documentation (an opportunity for someone). The books that are currently available are (mostly) ok up to a point but do provide only a superficial explanation of some of the underlying concepts and associated details where the devil really does reside. This forum no doubt contains a wealth of information but it also contains a lot of noise (no doubt much of it created by people such as myself). Would it be possible for some moderator to extract what golden nuggets appear and collate and index them so that these common questions can more quickly and less frustratingly be directed to the appropriate answers? Some post-processing of the content of this forum would most definitely be useful. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112480#4112480 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112480 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - migration guide
hi is there any migration guide to go to switch from jboss 4.05 to jboss 4.2? thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112482#4112482 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112482 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JBPM and Seam problem
The process definition deployment within seam is for development only. http://jira.jboss.com/jira/browse/JBSEAM-198 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112483#4112483 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112483 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - UsingWebSphereMQSeriesWithJBossASPart3
Hi, I am trying to connect to a remote Websphere MQ from JBoss and have followed the wiki article http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingWebSphereMQSeriesWithJBossASPart3. I get everything working and can see the Remote queue in my JNDI tree view. I however have a problem when deploying a MDB to listen to the remote queue. I am using EJB3 with annotations. I get the following error: anonymous wrote : | jvm 3| java.lang.AbstractMethodError: com.ibm.mq.jms.MQQueueConnection.createSession(ZI)Ljavax/jms/Session; | jvm 3| at org.jboss.resource.adapter.jms.inflow.JmsServerSession.setup(JmsServerSession.java:115) | jvm 3| at org.jboss.resource.adapter.jms.inflow.JmsServerSessionPool.setupSessions(JmsServerSessionPool.java:200) | jvm 3| at org.jboss.resource.adapter.jms.inflow.JmsServerSessionPool.start(JmsServerSessionPool.java:90) | jvm 3| at org.jboss.resource.adapter.jms.inflow.JmsActivation.setupSessionPool(JmsActivation.java:536) | jvm 3| at org.jboss.resource.adapter.jms.inflow.JmsActivation.setup(JmsActivation.java:309) | jvm 3| at org.jboss.resource.adapter.jms.inflow.JmsActivation.handleFailure(JmsActivation.java:249) | jvm 3| at org.jboss.resource.adapter.jms.inflow.JmsActivation$SetupActivation.run(JmsActivation.java:589) | jvm 3| at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204) | jvm 3| at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275) | jvm 3| at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743) | jvm 3| at java.lang.Thread.run(Thread.java:595) | | My configuration is as follows: JBoss 4.2.0 JDK 1.5.0_09 MQSeries version 5.3 CSD12 Thanks in advance Marco View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112484#4112484 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112484 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Localhost/IP Address issue
Hi all, I have deployed a war file(app.war) in JBoss 4.2.1. I can access this application by the url http://localhost:8080/app but if i replace the localhost by my IP Address ie http://xx.xx.xx.xx:8080/app i get The page cannot be displayed error. It is as if there is no server running, which is strange. I need to access my application(with IP Address) because i need to distribute this URL so that others can access my application. I thought the problem could be due to connectivity issue(DNS issue) but when the same war file is deployed in Tomcat. It works both the way(localhost and ip address). Is there any setting that need to be adjusted in Jboss which detects my IP address.. Help me out in solving this issue in JBoss View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112485#4112485 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112485 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - IntelliJ IDEA JBoss Seam
If you're using IDEA and want IDEA to support JBoss Seam development 100%, then please vote and/or create a 'New Feature' request. http://www.jetbrains.net/jira/browse/IDEA/component/10773 Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112486#4112486 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112486 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @DataModel s:link h:commandButton h:dataTable
djfjboss wrote : This forum no doubt contains a wealth of information but it also contains a lot of noise (no doubt much of it created by people such as myself). Would it be possible for some moderator to extract what golden nuggets appear and collate and index them so that these common questions can more quickly and less frustratingly be directed to the appropriate answers? Some post-processing of the content of this forum would most definitely be useful. This would be superb! I suggest you use a wiki (e.g. the jboss wiki), and post the link here. We can make it sticky then. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112487#4112487 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112487 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Project structure and Seam
When you create the web project you can select for configuration Dynamic web project with Seam. This will enable seam support for your project. To change the seam configuration right click on the project and select Seam settings node. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112489#4112489 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112489 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to pick a BPM product?
I think you will not be able to find that somewhere, online or offline. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112491#4112491 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112491 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Task Form
Make sure you have got correct entries in forms.xml file. From ENTRIES I mean the form generated thru Advance Tab should have got entry in forms.xml. Do check the value of Task Name attribute as well and make sure it is reflecting the correct task name. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112490#4112490 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112490 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Correct Link.....Submit your jBPM use case and win a JBo
www.jbossworld.com/jbia But keep in mind that you have to submit before december 14th View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112496#4112496 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112496 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: WARN in sever.log abt localhost
Looks like the machine you are running jboss server on is a part of a network and other machines on the same network have it installed. This would generally not cause any issue if they were using different partitions. By default when you start jboss, it starts in default partition, and all other server instances running on the network that have not specified their partition name would join that default partition. Due to this, the messages are relayed to every server in the partition. To avoid this, you might need to specify the partition name and mcast address for the machine. Hope that helps. ---A person who sees the world in his fifties the same way he saw it in his twenties has actually wasted his 30 years. (Muhammed Ali) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112497#4112497 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112497 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Task Form
Thanks Anurag for instant reply, I have manually changed form names and accordingly changed forms.xml,processdefination.xml reflecting my forms get visible. also i am not sure Should form names be start with form.aaa.xhtml Thanks. Tushar View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112498#4112498 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112498 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Project structure and Seam
What you say is only causing to create another project with seam structure. So again, test test-ejb test-EAR test-test View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112492#4112492 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112492 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Submit your jBPM use case and win a JBoss Innovation Awa
Its broken link View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112493#4112493 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112493 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem with SelectOneMenu
public void updateAssignable() | { | System.out.println(updateAssignable ); | this.addAssignable(); | } View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112495#4112495 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112495 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Problem with SelectOneMenu
Hello, I'm using h:selectOneMenu and I have a problem : I fill my selectOneMenu with a List, when i submit my form, I remove the selected Item in the selectOneMenu. In my java code, when i debug, the selectedValue is deleted from the List, BUT when the page is submitted, the element still here. What's the problem, please help me. thanks mypage.xhtml h:selectOneMenu id=selectOneAssignable value=#{activitesByCollaborateurCrossData.assignable} | s:selectItems | value=#{activitesByCollaborateurCrossData.availableLines} | var=assign label=#{assign.designation} | id=selectAssignable / | s:convertEntity / | /h:selectOneMenu | h:commandLink action=#{activitesByCollaborateurCrossData.updateAssignable} | h:graphicImage value=img/add.png / | /h:commandLink in mybean.java public void addAssignable() { | if(this.assignable != null){ | System.out.println(removed = +this.availableLines.remove(this.assignable)); | this.lignes.add(assignable); | listeAssignables.put(assignable.getDesignation(), assignable); | Totaux.put(assignable.getDesignation(), new Float(0)); | this.updateTable(); | } | } View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112494#4112494 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112494 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Project structure and Seam
My main problem here is that I have to create eclipse projects fitting under our naming conventions and try to keep the project structure as close as possible to Maven. This brings us to second problem of course, after Seam Facet default project creation, if I go and modify the project name and change the source/resource folders, JBoss Tools and Seam get crazy, I start receiving exceptions I am not copying the stacktrace here but if anybody is interested... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112503#4112503 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112503 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Myfaces can not work on jboss portlet
I try to adopt Myfaces work on jboss portlet ,but it aways have error on the wep page when i open the portlet,the error is : Cause: java.lang.NullPointerException StackTrace: java.lang.NullPointerException at org.apache.myfaces.application.DefaultViewHandlerSupport.calculateServletMapping(DefaultViewHandlerSupport.java:123) at org.apache.myfaces.application.DefaultViewHandlerSupport.calculateViewId(DefaultViewHandlerSupport.java:44) at org.apache.myfaces.application.jsp.JspViewHandlerImpl.createView(JspViewHandlerImpl.java:140) at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:320) at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:298) at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:380) at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:266) at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133) at javax.portlet.GenericPortlet.render(GenericPortlet.java:306) at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.invokeRender(PortletContainerImpl.java:483) at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:405) at org.jboss.portal.portlet.container.PortletContainerInvoker$1.invoke(PortletContainerInvoker.java:86) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131) at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:86) at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java) at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66) at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:112) at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java) at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66) at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:102) at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java) at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java) at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:56) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:50) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:58) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.core.aspects.portlet.AjaxInterceptor.invoke(AjaxInterceptor.java:51) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(ModesInterceptor.java:62) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:47) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.portlet.aspects.portlet.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:55) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at
[jboss-user] [JBoss Seam] - Re: @DataModel s:link h:commandButton h:dataTable
The people on this forum really are very friendly and extremely helpful. It just needs a reciprocal amount of effort - which starting a Wiki page would be a good example of. Maybe start with something like Understanding Seam DataModels and use this thread as a basis? Regarding your question though; From the manual: anonymous wrote : 27.10.1. Annotations for use with dataTable | | @DataModel | Outjects a property of type List, Map, Set or Object[] as a JSF DataModel into the scope of the owning component (or the EVENT scope if the owning component is STATELESS). In your Bean you declare your DataModel as @DataModel | private ListThing things; This outjects a DataModel context variable called 'things' into the same scope (eg. Event, Session) as your Bean. But in your datatable you refer to h:dataTable value=#{accountService.things} var=thing which is just a list and not a DataModel. Try changing it to h:dataTable value=#{things} var=thing Hope this helps. Cheers, Damian. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112505#4112505 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112505 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: pagination with lazy loading for readonly tables, seamdi
Hi, I also think lazy loading would be great for Richfaces :-) However, thank you Pete for implementing this for Trinidad. Could you please update the seamdiscs example to the latest version of Trinidad (1.2.4)? The benefit would be that it supports ajax-based sorting and paging so only the table is reloaded on this events and not the complete page. I tried it for my own, it works so far but when using the latest Trinidad libs I get the following errors: 2007-12-13 11:29:23,574 ERROR [STDERR] 13.12.2007 11:29:23 org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit createResponseWriter SCHWERWIEGEND: No RenderingContext has been created. Any help would be appreciated!! Regards, b. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112509#4112509 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112509 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Memory Management
Hi All Is there any functionality in jboss which checks memory usage of its jvm and if it detects high memory usage before getting outOfMemory error, undeploys all of services and shutdown itself completely ? Note: If there is no functionality like that, dont hesitate to give some idea why it can happen. Thanks Erkin View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112513#4112513 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112513 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: pagination with lazy loading for readonly tables, seamdi
Please open a jira issue so we don't forget. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112516#4112516 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112516 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Load Balancing Policy
I am trying to get an application deployed on a cluster of 3 machines of different configuration. Once of the machines is a QuadCore and the others a P4's. When I submit a large number of messages to the cluster both P4 are running at 100% CPU utilisation which the QuadCode is merely sitting at 25% utilisation. It seems that every node in the cluster is allocated the same number of messages on a Round Robin basis. In Chapter 8 on the 1.3 documentation there are several configuration options available. http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.3.0.GA/html/c_configuration.html However in 1.4 none of these options are included in the documentation. http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.0.SP1/html/configuration.html#conf.connectionfactory.attributes.loadbalancingfactory What is the best method to configure a load balanceing policy for clusters like the one I am working on. thanks in advance Alex View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112517#4112517 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112517 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem with SelectOneMenu
I don't really understand. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112518#4112518 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112518 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem with SelectOneMenu
hi, I have a selectOneMenu and a commandLink. when I click on this commandLink, I call a method which remove the selectItem on the selectOneMenu. After executing this method, in my List (java code), the element is deleted.So, the page is submitted, BUT, in my view, the element still here. thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112519#4112519 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112519 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm 3.2 Session Is Closed exception in JobSession
Hi, have you found a solution for the problem? I'm having exactly the same issue. thx, tiz View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112520#4112520 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112520 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Clustered SSO
Hello, I'm trying to install a clustered version of JBossPortal 2.6.2 on top on JBoss 4.2.1 on two different nodes. Following the documentation I managed to cluster JBoss with no difficulties using TCP instead of UDP. So far I didn't install clustering for JMS and stay using HSQL locally. I installed jboss-portal-ha.sar in the jboss/server/all/deploy directory and created a central Oracle scheme for the PortalDS. Then I installed the load balancing, but instead of using mod_jk I used mod_proxy and mod_proxy_balancer, following the samples in the apache docs (also setting stickysession=JSESSIONID). The problem is: when I try to log in I allways get an HTTP code 400 returned, the second try will work properly. When I'm logged in I can shutdown any of the nodes and all stays working fine. Is there anyone having similar problems? Is there a problem with mod_proxy(_balancer)? Any help will be greatly appreciated. Thanks Werner View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112523#4112523 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112523 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: New EJB causes JNDI failure on existing EJB?
Thanks very much for your reply. The lookup is being done after the deployment of the application. Both applications on both machines are packaged as ears containing several ejb3 and jar files. So on machine 2 we have MyApp1.ear and MyApp2.ear. MyWorkerBean is in Worker.ejb3 inside MyApp1.ear. I should have said that in MyWorkerBean I have specified the JNDI name with: public @Stateless | @TransactionAttribute(value = TransactionAttributeType.REQUIRES_NEW) | @RemoteBinding(jndiBinding = MyWorkerBean/remote) | class MyWorkerBean implements MyWorker { Does the rule about prefixing the JNDI name with the name of the ear still apply in this case? I don't have access to the test system at the minute but I'll try using MyWorker myWorker = (MyWorker) context.lookup(MyApp1/MyWorkerBean/remote); instead as soon as I get the chance. I'll also double-check the JNDI tree in the JMX console. Thanks again for your suggestions. Heather View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112522#4112522 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112522 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Configuring data source for Oracle / MS SQL
Try driver-classoracle.jdbc.driver.OracleDriver/driver-class. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112521#4112521 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112521 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Facelets: Ways to output code that shall be unparsed
Use CDATA script | ![CDATA[ | function test(...) | { | .. | } | ]] | /script View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112524#4112524 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112524 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem with SelectOneMenu
Are you updating the list outjected to the view. Show the code. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112528#4112528 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112528 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam security question.
Hi, Seam allow to login one user to 2 different accounts. How can I check if user is logged in, and logout him? Is any easy way to do this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112529#4112529 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112529 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB3 over HTTP and Reverse Proxy
One last problem remains. Everything is working perfekt as long as I use http. As soon as I use https, only fetching the InitialContext works and the lookup ends up with: | 12:15:47,484 DEBUG [SSLSocketBuilder] Could not find keystore url. Can not find store file for url because store url is null. | javax.naming.NamingException: Could not dereference object [Root exception is java.lang.reflect.UndeclaredThrowableException] | at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1150) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:705) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) | at javax.naming.InitialContext.lookup(InitialContext.java:351) | at at.softsolution.esa.client.gui.LoginPanel$LoginAction$1.run(LoginPanel.java:1022) | Caused by: java.lang.reflect.UndeclaredThrowableException | at $Proxy1.createProxy(Unknown Source) | at org.jboss.ejb3.JndiProxyFactory.getObjectInstance(JndiProxyFactory.java:53) | at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304) | at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1125) | at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1142) | ... 4 more | Caused by: java.lang.reflect.InvocationTargetException | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.remoting.InvokerRegistry.loadClientInvoker(InvokerRegistry.java:419) | at org.jboss.remoting.InvokerRegistry.createClientInvoker(InvokerRegistry.java:320) | at org.jboss.remoting.Client.connect(Client.java:441) | at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:61) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.remoting.IsLocalProxyFactoryInterceptor.invoke(IsLocalProxyFactoryInterceptor.java:70) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.remoting.PojiProxy.invoke(PojiProxy.java:61) | ... 9 more | Caused by: java.lang.NullPointerException | at org.jboss.remoting.transport.http.ssl.HTTPSClientInvoker.createSocketFactory(HTTPSClientInvoker.java:144) | at org.jboss.remoting.RemoteClientInvoker.init(RemoteClientInvoker.java:46) | at org.jboss.remoting.transport.http.HTTPClientInvoker.init(HTTPClientInvoker.java:105) | at org.jboss.remoting.transport.http.ssl.HTTPSClientInvoker.init(HTTPSClientInvoker.java:63) | at org.jboss.remoting.transport.https.TransportClientFactory.createClientInvoker(TransportClientFactory.java:39) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.remoting.InvokerRegistry.loadClientInvoker(InvokerRegistry.java:419) | at org.jboss.remoting.InvokerRegistry.createClientInvoker(InvokerRegistry.java:320) | at org.jboss.remoting.Client.connect(Client.java:441) | at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:61) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.remoting.IsLocalProxyFactoryInterceptor.invoke(IsLocalProxyFactoryInterceptor.java:70) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.remoting.PojiProxy.invoke(PojiProxy.java:61) | at $Proxy1.createProxy(Unknown Source) | at org.jboss.ejb3.JndiProxyFactory.getObjectInstance(JndiProxyFactory.java:53) | at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304) | at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1125) | at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1142) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:705) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) | at javax.naming.InitialContext.lookup(InitialContext.java:351) | at at.softsolution.esa.client.gui.LoginPanel$LoginAction$1.run(LoginPanel.java:1022) |
[jboss-user] [JBossWS] - Re: dynamic web service call from client
I used the concept 'JAX-WS's dynamic Dispatch interface' from and it works fine now i am able to communicate at run time without generating client stubs. thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112526#4112526 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112526 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Localhost/IP Address issue
Hi all, I solved this problem by starting the server with the parameter --host ip address. The parameter jboss.bind.address will be set to the IP Address View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112530#4112530 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112530 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: pagination with lazy loading for readonly tables, seamdi
[EMAIL PROTECTED] wrote : Please open a jira issue so we don't forget. Hi Pete, ok done: http://jira.jboss.org/jira/browse/JBSEAM-2374 I hope everything is correct, because this is my first jira issue entry! Greetings, Alexander View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112532#4112532 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112532 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Basic Question on EJB 3 with respect to JBoss
You need ejb3. What deployment errors do you get ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112533#4112533 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112533 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: jboss sheduler issue
I did that with an existing Stateless bean of my application and it worked well untill I injected another bean with the @EJB annotation then it couldnt deploy... NullPointerExeption... i searched a lot... and tryed with SchedulableMBean instead... but I cant get things working... it worked like this guy said... but how to make it work if the SchedulableClass is a bean... or have to import a bean? regards View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112538#4112538 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112538 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JBPM and Seam problem
For deployment only? what do you mean by that? So what came out of this ticket? none yet? So what is the best practice in production use right now? modify components.xml, deploy, then clean components.xml?, this sounds too dirty to me.. Anyway, I would like to deploy processes out of my ear file, thus I'm using jbpm.getProcessDefinitionFromXml which works but for the first time it thorugh the exception as I mentioned below. any clue about this issue? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112539#4112539 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112539 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Hibernate file Mapping editor not found in the latest 3.
Here is more details of my setup. Eclipse 3.3.1.1, Build id: M20071023-1652. Hibernate tools plugin 3.2.0 GA released on 12/12/2007. No other JBoss tools are installed. Isn't hibernate tool supposed to work in this case? Thank you very much for your coments. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112544#4112544 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112544 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Assigning a task to pooled-actors via context var
huh? It's just a simple string var I outjected (via seam) into the process instance, I can see the var within 'variableinstance' table of JBPM (type string, simple string value... etc...) there must be an easy way to do this, isn't ContextInstance somehow available within the process itself? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112543#4112543 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112543 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Expected a child component type of UISelectItem/UISelectIte
Hi all, h:selectOneMenu is causing problems on Seam 2.0 for some unknown reason. It used to work fine on 1.2. Here is the code. Thanks in advance, | h:selectOneMenu value=#{carService.garage} | f:selectItems value=#{carService.garages}/ | /h:selectOneMenu | | @Stateful | @Name(carService) | public class CarServiceBean implements CarService, Serializable | { | | ListGarage garages; | | public MapString,Integer getGarages() { | MapString,Integer map = new TreeMapString,Integer(); | | garages = em.createQuery(from Garage g).getResultList(); | | for (Garage g : garages) | { | map.put(g.getDescription(), g.getGarageId()); | } | return map; | } | } | 15:00:29,437 ERROR [STDERR] Dec 13, 2007 3:00:29 PM com.sun.facelets.FaceletView | Handler handleRenderException | SEVERE: Error Rendering View[/home.xhtml] | java.lang.IllegalArgumentException: Expected a child component type of UISelectI | tem/UISelectItems for component type javax.faces.SelectOne(j_id27). Found null. | | at com.sun.faces.renderkit.RenderKitUtils.getSelectItems(RenderKitUtils. | java:357) | at com.sun.faces.renderkit.html_basic.MenuRenderer.getOptionNumber(MenuR | enderer.java:675) | at com.sun.faces.renderkit.html_basic.MenuRenderer.renderSelect(MenuRend | erer.java:793) | at com.sun.faces.renderkit.html_basic.MenuRenderer.encodeEnd(MenuRendere | r.java:335) | at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java: | 836) | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:896) | at javax.faces.render.Renderer.encodeChildren(Renderer.java:137) | at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase. | java:812) | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886) | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.jav | a:592) | at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePha | se.java:106) | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) | at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl | icationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF | ilterChain.java:206) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter | .java:83) | at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter | .java:69) | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter | .java:69) | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter | .java:69) | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter | .java:69) | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl | icationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF | ilterChain.java:206) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi | lter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl | icationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF | ilterChain.java:206) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV | alve.java:230) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV | alve.java:175) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit | yAssociationValve.java:179) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv | e.java:84) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j | ava:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j | ava:102) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedC | onnectionValve.java:157) | at
[jboss-user] [JBoss Seam] - Re: JBPM and Seam problem
For development only == not for use in production (i.e. when you deploy with a clean db each time. The issue is still open so no work is done. Deploy the process using some jbpm means and use an empty bpm:jbpm / in components.xml (I think this is working) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112549#4112549 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112549 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - not start MDB delivery automatically
Hi all! I've got an MDB that listens to a specific queue and performs further calls to business EJBs and MBeans. The problem is MBeans being called should be initialized by a system operator (human). Thus if there are messages in the queue while JBoss is starting, MDB will throw runtime exception because of some MBeans it calls are not initialized yet. The solution is simple. We are to prevent MDB from invoking while JBoss is starting and MBeans are initialized and enable invocation afterwards. It was accomplished rather easily with Standard Message Driven Bean. There were invoker-proxy-binding/proxy-factory-config/MDBConfig/DeliveryActive element in MDB deployment descriptor which being set to false disable MDB starting. Than, when everything is ready, we just call MDB's MBean startDelivery method and message handling is started. But unfortunately MQ provider for our system is IBM WebSphere MQ and we have to use WebSphere MQ Resource Adapter for enabling XA transactions. Hence we are forced to use Standard Message Inflow Driven Bean instead of Standard Message Driven Bean. I read jboss.dtd and JBoss sources and found that there is no such an option as DeliveryActive for message-inflow-driven-bean. Still we've got another option. Messages won't be consumed by MDB while MDB's MBean service is stopped. But to our regret MBean service for MDB is started automatically while JBoss is starting. Is there any legal way to delay message handling with MDB? Many thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112550#4112550 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112550 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Hibernate file Mapping editor not found in the latest 3.
The newly added structured hbm.xml editor is only available via jboss tools. When running without jboss tools just use the XML editor where the code completion will be available, but not the hbm.xml structured editor. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112551#4112551 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112551 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Injecting Business Process context scoped variables
Hey, Can anyone comment on this? (I'm having the same problems...) Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112559#4112559 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112559 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JBPM and Seam problem
Alright, and nah, it's not working, I already tried it, Jbpm does not load itself when server starts with empty 'bpm:jbpm /' tag, (jbpm starts at the moment I make a use of it in runtime, but that causes transaction exceptions when it's done on later stages) so as a workaround I just left an empty process in component.xml, but this is too dirty as it deploys every restart an unneeded process :-/ many thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112562#4112562 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112562 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Child count
No, but you could always add a feature request for that. E.g., Node.getNumberOfChildren(). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112563#4112563 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112563 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem with SelectOneMenu
yes, exactly this is my code : @Out(scope = ScopeType.CONVERSATION) | private ListAssignable availableLines; | | public void addAssignable() { | if(this.assignable != null){ | System.out.println(removed = +this.availableLines.remove(this.assignable)); | for(Assignable it : this.availableLines) | { | System.out.println(Lignes Restantes : +it.getDesignation()); | } | this.lignes.add(assignable); | listeAssignables.put(assignable.getDesignation(), assignable); | Totaux.put(assignable.getDesignation(), new Float(0)); | this.updateTable(); | this.assignable = null; | } | } View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112564#4112564 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112564 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Single Sign On with Alfresco Portlet
This post in the Alfresco forums: http://forums.alfresco.com/viewtopic.php?p=28282 gives a way to implement SingleSignOn to Alfresco on JBossPortal I've tested it with Alfresco 2.9.0 (built from sources) on JBossPortal 2.6.2 and JBoss AS 4.2.2 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112566#4112566 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112566 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Pojo doesn't get replicated in datastore
This is an Interesting use case. It poses a problem because with inheritance, field changes can, and in this case are performed by the code in the super class. This is normally solved by instrumenting the super class as well. However, with JDK collection types, we can not redefine them, since they are on the bootclasspath, and thus would violate the JRE license. So for those types proxies are used. The proxies only follow the collection interfaces, so any additional state can't be stored. Perhaps an extendable type handler system is needed, that would you to customize how a type is stored in the cache. I will look at that as a future enhancement. For now you should be able to work around this problem, by using delegation instead of inheritance. Try modifying SimpleCircularBuffer to implement List, and then add a field which is an ArrayList, which you delegate all calls too (with the exception of your additional methods) Let me know your findings. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112561#4112561 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112561 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: EJB3 SSL remote connection from swing client application
Hi ! I think you need to change your InitialContextFactory to: java.naming.factory.initial=org.jboss.security.jndi.JndiLoginInitialContextFactory Otherwise, your login credentials are not honoured. You might also do something like this to explicitly login: org.jboss.security.auth.callback.AppCallbackHandler callbackHandler = new AppCallbackHandler(test, test.toCharArray() ); | LoginContext loginContext = new LoginContext (, callbackHandler); | loginContext.login(); Hope this helps Wolfgang View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112557#4112557 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112557 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: The VPE editor can't be run because your system environm
How is this related to a bug in hibernate !? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112555#4112555 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112555 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Problem with JBoss4.2.0GAJDK6
I Did everything recommended by everyone and still got the same problem. I have no references to older versions of log4j throught my workspace. I have gone so far as to copy the version recommended into all the lib folders throughout jboss. I finally did the class delete thing and bam, it worked first try. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112576#4112576 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112576 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: External AJAX access to webremote?
I'm also interested in this topic, and with a quick search I came up with this thread: http://www.jboss.com/index.html?module=bbop=viewtopicp=4069622#4069622 Maybe in this case it is also a cross domain policy problem, because of the different http port (80) of your static pages in comparison to your app server port (8080). Besides that, what about your static customer pages? I guess they don't have the same domain, so this is also not possible due to cross domain policy. btw, I would love to see Seam remoting supporting this like EXT JS does: http://extjs.com/deploy/ext/docs/output/Ext.data.ScriptTagProxy.html No hands on experience on that, let me know if I'm wrong. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112577#4112577 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112577 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Success! Re: Seam 2.0.0GA + Maven2 doesn`t work...
The last post mentioned the inclusion of drools. Turns out that was part of the answer -- I went to the Seam root.pom and lifted the drools clauses from there (minus the version info) and that got me past the identity problem. Then, since the seam-gen project depends on RichFaces, I had to include dependencies for this -- again I went to the root Seam pom and copied and pasted, minus the version. Then it turned out that I had some dependencies that I added to allow maven to compile my code or that were derived from other included dependencies that I had to exclude from the deployable war file. Otherwise I was seeing JBoss exceptions in the console. Adding explicit dependencies in my pom.xml for these WITH scopeprovided/scope elements did the trick there. And lo and behold, the web app actually worked! Two remaining glitches. My app uses a MySQL datasource. This *-ds.xml file is included in the maven project in the resources folder. The war file that is produced then has this file in the classes folder within WEB-INF. JBoss does not seem to find it there -- I had to make a copy and put that in the server deploy folder manually. Can maven be taught to do that? And I would love to have the war file actually deployed to my JBoss instance by maven itself. Is this possible? I may need to do some ant runner tricks I guess. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112574#4112574 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112574 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Exception while running JbossWS service client
Hi, I have a service up and running on Jboss 4.2.2 GA. I can browse the WSDL file and see the content. Now using wsconsume I generated the client side stubs and wrote a test client. The testclient class path refers to jars in lib of Jboss Ws 2.0.2 lib but i am getting the following exception. Any pointers what could be missing or correct proedcure to create clients using wsconsume? . | Exception in thread main javax.xml.ws.WebServiceException: Unable to load Provider: Failed to load javax.xml.ws.spi.Provider: com.sun.xml.ws.spi.ProviderImpl | at javax.xml.ws.spi.Provider.provider(Provider.java:98) | at javax.xml.ws.Service.init(Service.java:83) | at com.danny.techtalk.ex1.echo.EchoImplService.init(EchoImplService.java:53) | at com.danny.techtalk.ex1.echo.TestClient2.main(TestClient2.java:12) | Caused by: java.lang.IllegalStateException: Failed to load javax.xml.ws.spi.Provider: com.sun.xml.ws.spi.ProviderImpl | at javax.xml.ws.spi.ProviderLoader.loadProvider(ProviderLoader.java:96) | at javax.xml.ws.spi.Provider.provider(Provider.java:90) | ... 3 more | Caused by: java.lang.ExceptionInInitializerError | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) | at java.lang.reflect.Constructor.newInstance(Unknown Source) | at java.lang.Class.newInstance0(Unknown Source) | at java.lang.Class.newInstance(Unknown Source) | at javax.xml.ws.spi.ProviderLoader.loadProvider(ProviderLoader.java:91) | ... 4 more | Caused by: javax.xml.ws.WebServiceException: Error creating JAXBContext for W3CEndpointReference. | at com.sun.xml.ws.spi.ProviderImpl.getEPRJaxbContext(ProviderImpl.java:188) | at com.sun.xml.ws.spi.ProviderImpl.clinit(ProviderImpl.java:65) | ... 11 more | Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions | Two classes have the same XML type name address. Use @XmlType.name and @XmlType.namespace to assign different names to them. | this problem is related to the following location: | at com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Address | at public com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Address com.sun.xml.ws.developer.MemberSubmissionEndpointReference.addr | at com.sun.xml.ws.developer.MemberSubmissionEndpointReference | this problem is related to the following location: | at javax.xml.ws.wsaddressing.W3CEndpointReference$Address | at private javax.xml.ws.wsaddressing.W3CEndpointReference$Address javax.xml.ws.wsaddressing.W3CEndpointReference.address | at javax.xml.ws.wsaddressing.W3CEndpointReference | Two classes have the same XML type name elements. Use @XmlType.name and @XmlType.namespace to assign different names to them. | this problem is related to the following location: | at com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Elements | at public com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Elements com.sun.xml.ws.developer.MemberSubmissionEndpointReference.referenceProperties | at com.sun.xml.ws.developer.MemberSubmissionEndpointReference | this problem is related to the following location: | at javax.xml.ws.wsaddressing.W3CEndpointReference$Elements | at private javax.xml.ws.wsaddressing.W3CEndpointReference$Elements javax.xml.ws.wsaddressing.W3CEndpointReference.referenceParameters | at javax.xml.ws.wsaddressing.W3CEndpointReference | | at com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:66) | at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:422) | at com.sun.xml.bind.v2.runtime.JAXBContextImpl.init(JAXBContextImpl.java:270) | at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:103) | at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:81) | 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 javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:210) | at javax.xml.bind.ContextFinder.find(ContextFinder.java:366) | at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574) | at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522) | at com.sun.xml.ws.spi.ProviderImpl.getEPRJaxbContext(ProviderImpl.java:186) | ... 12 more | TIA...
[jboss-user] [JBossWS] - Exception while running JbossWS service client
Hi, I have a service up and running on Jboss 4.2.2 GA. I can browse the WSDL file and see the content. Now using wsconsume I generated the client side stubs and wrote a test client. The testclient class path refers to jars in lib of Jboss Ws 2.0.2 lib but i am getting the following exception. Any pointers what could be missing or correct proedcure to create clients using wsconsume? . | Exception in thread main javax.xml.ws.WebServiceException: Unable to load Provider: Failed to load javax.xml.ws.spi.Provider: com.sun.xml.ws.spi.ProviderImpl | at javax.xml.ws.spi.Provider.provider(Provider.java:98) | at javax.xml.ws.Service.init(Service.java:83) | at com.danny.techtalk.ex1.echo.EchoImplService.init(EchoImplService.java:53) | at com.danny.techtalk.ex1.echo.TestClient2.main(TestClient2.java:12) | Caused by: java.lang.IllegalStateException: Failed to load javax.xml.ws.spi.Provider: com.sun.xml.ws.spi.ProviderImpl | at javax.xml.ws.spi.ProviderLoader.loadProvider(ProviderLoader.java:96) | at javax.xml.ws.spi.Provider.provider(Provider.java:90) | ... 3 more | Caused by: java.lang.ExceptionInInitializerError | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) | at java.lang.reflect.Constructor.newInstance(Unknown Source) | at java.lang.Class.newInstance0(Unknown Source) | at java.lang.Class.newInstance(Unknown Source) | at javax.xml.ws.spi.ProviderLoader.loadProvider(ProviderLoader.java:91) | ... 4 more | Caused by: javax.xml.ws.WebServiceException: Error creating JAXBContext for W3CEndpointReference. | at com.sun.xml.ws.spi.ProviderImpl.getEPRJaxbContext(ProviderImpl.java:188) | at com.sun.xml.ws.spi.ProviderImpl.clinit(ProviderImpl.java:65) | ... 11 more | Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions | Two classes have the same XML type name address. Use @XmlType.name and @XmlType.namespace to assign different names to them. | this problem is related to the following location: | at com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Address | at public com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Address com.sun.xml.ws.developer.MemberSubmissionEndpointReference.addr | at com.sun.xml.ws.developer.MemberSubmissionEndpointReference | this problem is related to the following location: | at javax.xml.ws.wsaddressing.W3CEndpointReference$Address | at private javax.xml.ws.wsaddressing.W3CEndpointReference$Address javax.xml.ws.wsaddressing.W3CEndpointReference.address | at javax.xml.ws.wsaddressing.W3CEndpointReference | Two classes have the same XML type name elements. Use @XmlType.name and @XmlType.namespace to assign different names to them. | this problem is related to the following location: | at com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Elements | at public com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Elements com.sun.xml.ws.developer.MemberSubmissionEndpointReference.referenceProperties | at com.sun.xml.ws.developer.MemberSubmissionEndpointReference | this problem is related to the following location: | at javax.xml.ws.wsaddressing.W3CEndpointReference$Elements | at private javax.xml.ws.wsaddressing.W3CEndpointReference$Elements javax.xml.ws.wsaddressing.W3CEndpointReference.referenceParameters | at javax.xml.ws.wsaddressing.W3CEndpointReference | | at com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:66) | at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:422) | at com.sun.xml.bind.v2.runtime.JAXBContextImpl.init(JAXBContextImpl.java:270) | at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:103) | at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:81) | 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 javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:210) | at javax.xml.bind.ContextFinder.find(ContextFinder.java:366) | at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574) | at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522) | at com.sun.xml.ws.spi.ProviderImpl.getEPRJaxbContext(ProviderImpl.java:186) | ... 12 more | TIA...
[jboss-user] [JBoss Seam] - Re: Seam 2.0.1 CR1 is out
Woops - thanks for catching that. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112567#4112567 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112567 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @DataModel s:link h:commandButton h:dataTable
Damian Many thanks for your reply - I could have RTFMd many times over and still not have spotted my error. I assumed that I could access the variable via the #{a.b} notation - it never occurred to me to try #{b} unless I'd already defined @Name(b) somewhere. This style of reference is not one that comes naturally to me. With this small but very important change both s:link and h:commandButton work - the issue regarding submitting the form does not seem relevant, but maybe it is! Unfortunately, this success leads to another newbie question! I'm more than happy to contribute this to the pot and looked at the Wiki page to see how to do it. I created a new entry under Tips (DataModel/DataSelection easy when you know how) which takes me to an undefined page that I then provided some content for and saved it. But when I returned the content had all gone! Kindly indulge my ignorance a little further and I'll put the material on the Wiki. Thanks again, David View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112571#4112571 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112571 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @DataModel s:link h:commandButton h:dataTable
No worries. I think that the '/' in your Wiki title is the problem there. Cheers, Damian. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112578#4112578 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112578 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Same element ID in many forms on the page
Hi, When I use the following form alone on the page everything is fine, but if put it into some iteration element, like rich:dataTable then #{tagHome.instance.name} varibale isn't initialised. Can anyone suggest what could be the matter? Any help is much appreciated, a4j:form ajaxSubmit=true | rich:panel | h:panelGrid columns=2 | h:panelGroup | h:inputText value=#{tagHome.instance.name} id=suggestion / | rich:suggestionbox for=suggestion | suggestionAction=#{tagHome.autocomplete} var=tag | tokens=, width=200 height=100 | frequency=1000 | | h:column | h:outputText value=#{tag.name} / | /h:column | h:column | h:outputText value=#{tag.id} / | /h:column | /rich:suggestionbox | | /h:panelGroup | a4j:commandLink value=Add Tag reRender=tagsPanel action=#{tagHome.persist} | a4j:actionparam name=cardID value=#{card.id} | assignTo=#{tagHome.cardID} / | /a4j:commandLink | /h:panelGrid | /rich:panel | /a4j:form | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112580#4112580 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112580 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB3 over HTTP and Reverse Proxy
An upgrade from JBoss 4.2.0.GA to 4.2.2.GA solved the issue ... seemed to be some problem in the remoting. So I hopefully end this thread and maybe its of some help for others. P.S.: Now the trouble moved towards jbossws, but thats an other story ... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112581#4112581 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112581 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Startup and hbm2ddl
Can anyone confirm/deny that entityManager cannot be used in @Startup components while hbm2ddl is being used? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112584#4112584 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112584 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JBPM and Seam problem
Ok, I will look at that when I get a minute :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112587#4112587 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112587 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How to access EJB3 beans from a portlet !???
in netbeans, right click on editor, entreprise resources-call entreprise bean select your ejb, remote/local depending where you add your portlet. netbean add a method to your portlet for you... except the jndi is wrong :-) so too call an ejb MediaDirSessionBean, from the application project AC, with local interface, jndi is : AC/MediaDirSessionBean/local the full function should look like this one : private MediaDirSessionLocal lookupMediaDirSessionBean() { try { Context c = new InitialContext(); return (MediaDirSessionLocal) c.lookup(AC/MediaDirSessionBean/local); } catch (NamingException ne) { java.util.logging.Logger.getLogger(getClass().getName()).log(java.util.logging.Level.SEVERE, exception caught, ne); throw new RuntimeException(ne); } } A+ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112588#4112588 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112588 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Assigning a task to pooled-actors via context var
Try this | assignment expression=variable(username) / | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112589#4112589 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112589 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Unwaring web app - leaves some files in the war
Hi Folks, Im using the latest JBoss AS 5.0 beta2 and experiencing something similar to the above. I have a war file that looks like this myapp/conf/config.properties myapp/WEB-INF/ etc etc Ok now im a bit confused about what the tmp directory and the work directory do and their relationship if any, i havent see any docs on it and would appreciate any links if possible.(I do need to read up on this but ill ask anyways ) Now the problem Im having is this, the war is exploded fine under the tmp directory but in work directory the .properties file is not there. i have a third party library which looks for the properties file under conf/config.properties, but if doesnt find it because there the class loader which loads the libs is loading the classes out of the work directory and not the tmp directory. So Im confused, which one is the correct exploded directory?? tmp or work and if its work which it seems to be because the classloader url is coming from the work directory, why isnt the .properties file exploded in there also?? Cheers, LL View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112590#4112590 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112590 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Fundamental question about em.persist
I have to come back to this issue once again. There must be some easy explanation. The following code produces Test Card in the DB. Why the last change doesn't get persisted? It is a part of the transaction, after all. @Create | @Transactional | public void init() { | Card card = new Card(); | card.setName(Test Card); | entityManager.persist(card); | card.setName(The final name); | } | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112593#4112593 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112593 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Facelets: Ways to output code that shall be unparsed
Thanks, I had already tried that, but I received error messages in the browsers (JavaScript error in IE, XML/document not well formed error in FF) The solution that finally worked is this (note the double slashes): script | //![CDATA[ | function test(...) | { | .. | } | //]] | /script | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112592#4112592 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112592 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Unable to browse messages in queue LRUCache error
Hi all, I'm attempting to browse the DLQ in Jboss MQ in order to log the messages for inspection and review by our developers. I'm getting a very strange error when I try to get an enumeration. I'm connecting to remote queue via JNDI Enumeration queueContents = browser.getEnumeration(); Causes the following error below. I'm assuming this is a duplicate hashcode issue, but how can I change the implementation so that collisions don't occur? | org.jboss.mq.SpyJMSException: Cannot browse the Queue; - nested throwable: (java.lang.RuntimeException: Can't add object '2 msg=232 STORED PERSISTENT queue=QUEUE.DLQ priority=4 lateClone=false hashCode=22159791' to LRUCache that is already in cache.) | at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:66) | at org.jboss.mq.SpyJMSException.rethrowAsJMSException(SpyJMSException.java:51) | at org.jboss.mq.Connection.browse(Connection.java:861) | at org.jboss.mq.SpyQueueBrowser.getEnumeration(SpyQueueBrowser.java:83) | at com.purdueefcu.statements.writer.jms.QueueInspectorImpl.getQueueContents(QueueInspectorImpl.java:81) | at com.purdueefcu.statements.writer.jms.QueueInspectorImpl.getFailedProcessMessages(QueueInspectorImpl.java:41) | at com.purdueefcu.statements.QueueInspectorTest.testGetFailedProcessMessages(QueueInspectorTest.java:16) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at junit.framework.TestCase.runTest(TestCase.java:154) | at junit.framework.TestCase.runBare(TestCase.java:127) | at org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:69) | 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.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130) | 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 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) | Caused by: java.lang.RuntimeException: Can't add object '2 msg=232 STORED PERSISTENT queue=QUEUE.DLQ priority=4 lateClone=false hashCode=22159791' to LRUCache that is already in cache. | at org.jboss.mq.server.MessageCache$LRUCache.addMostRecent(MessageCache.java:791) | at org.jboss.mq.server.MessageCache.messageReferenceUsedEvent(MessageCache.java:401) | at org.jboss.mq.server.MessageReference.getMessage(MessageReference.java:168) | at org.jboss.mq.server.MessageReference.getMessageForDelivery(MessageReference.java:147) | at org.jboss.mq.server.BasicQueue.browse(BasicQueue.java:509) | at org.jboss.mq.server.JMSQueue.browse(JMSQueue.java:161) | at org.jboss.mq.server.JMSDestinationManager.browse(JMSDestinationManager.java:597) | at org.jboss.mq.server.JMSServerInterceptorSupport.browse(JMSServerInterceptorSupport.java:136) | at org.jboss.mq.security.ServerSecurityInterceptor.browse(ServerSecurityInterceptor.java:99) | at org.jboss.mq.server.TracingInterceptor.browse(TracingInterceptor.java:418) | at org.jboss.mq.server.JMSServerInvoker.browse(JMSServerInvoker.java:142) | at org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:116) | at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:395) | at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:398) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) | at java.lang.Thread.run(Thread.java:595) | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112591#4112591 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112591 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2.0.1 CR1 is out
When's it going to make it into the Maven repository? I keep checking, but it hasn't appeared there yet:(. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112586#4112586 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112586 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: TransactionTable HashMap
Hmm, I can't seem to recreate this. Running the code you provided in a loop and then inspecting the size of the 2 maps, I see they're both 0. The cleanup is called in the afterCompletion() call in the Synchronization registered with the transaction manager. Do you see this being called in your logs? Also, do you know if this happens all the time, or only on failing transactions that rollback or on remotely originating transactions? All stuff you would have simulated for your profiler session. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112583#4112583 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112583 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @DataModel s:link h:commandButton h:dataTable
I have created a new Tip on the Seam Wiki that describes my traumas with DataModel, and Damian's valuable insight that fixed it. I hope this will be of use to others in the future. However, I still think that active separation of wheat from chaff by a knowledgeable moderator would be very useful - though I do understand that it may be an unacceptable burden on those already under quite a heavy load. Please let me know if the content is acceptable. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112594#4112594 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112594 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: New EJB causes JNDI failure on existing EJB?
hmccartney wrote : | I should have said that in MyWorkerBean I have specified the JNDI name with: | public @Stateless | | @TransactionAttribute(value = TransactionAttributeType.REQUIRES_NEW) | | @RemoteBinding(jndiBinding = MyWorkerBean/remote) | | class MyWorkerBean implements MyWorker { | | Does the rule about prefixing the JNDI name with the name of the ear still apply in this case? | | Well in that case, the prefix will not be added. So you should have been able to lookup using MyWorkerBean/remote jndi-name. I would check the jndi listing through the jmx-console to make sure the jndi-name of the bean. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112598#4112598 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112598 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Task Form
it does not matter what the name of a form is, as long as it is identical to what is in the forms.xml file View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112602#4112602 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112602 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Newbie EJB 3 JNDI question
Ok so I do this, and all I see is a list of global JNDI names in the JMX Console. There are no local references under each of the EJBs to the local ENC EJB references - they're all global! So there *must* be another way of doing this so that we inject into the local ENC? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112600#4112600 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112600 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - set property/preference for a portlet instance according to
Hi, Using the preference system i can pass specific values to a portlet instance at runtime. I'm going to need the same portlet, on different pages, and with dif preferences values. The only solution I found is to create an instance each time... I would like to use the same instance :I see a property system, sound great except i can read them ! i go to my site-my page-properties for the prortlet, create a new one (beside Region order), let call it ValA with : u = request.getPropertyNames(); while (u.hasMoreElements()) { String a = (String) u.nextElement(); writer.println(prop : + a + ); } I'm getting : prop : x-forwarded-for prop : x-forwarded-host prop : accept-encoding prop : connection prop : accept-charset prop : pragma prop : cookie prop : x-forwarded-server prop : cache-control prop : host prop : accept-language prop : user-agent prop : accept prop : max-forwards Not what i'm expecting !! So is it possible to use the property system to interact with a portlet or is it just for jbossportal ??? Thks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112601#4112601 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112601 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Connection was lost
wrong forum try the jbossAS forum View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112604#4112604 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112604 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Connection was lost
Hi, im lossing the connections when i use the datasources, another thing is that when i get more than 20 connections from the datasource it says that it doesn't have more. this is the xml that is i have for the datasources config. ?xml version=1.0 encoding=UTF-8? local-tx-datasource jndi-nameJbpmDS/jndi-name connection-urljdbc:sqlserver://srvdm2;DatabaseName=JbpmDBDesarrollo;/connection-url driver-classcom.microsoft.sqlserver.jdbc.SQLServerDriver/driver-class user-namesa/user-name sa min-pool-size15/min-pool-size /local-tx-datasource local-tx-datasource jndi-nameBPMPavecaDS/jndi-name connection-urljdbc:sqlserver://srvdm2;DatabaseName=BPMPavecaDesarrollo;/connection-url driver-classcom.microsoft.sqlserver.jdbc.SQLServerDriver/driver-class user-namesa/user-name sa min-pool-size15/min-pool-size /local-tx-datasource local-tx-datasource jndi-nameBPCSDS/jndi-name connection-urljdbc:as400://APPN.S103882C/V82BPCSF/connection-url driver-classcom.ibm.as400.access.AS400JDBCDriver/driver-class user-nameCONEXION/user-name CONEXION01 min-pool-size15/min-pool-size /local-tx-datasource local-tx-datasource jndi-nameMTDS/jndi-name connection-urljdbc:as400://APPN.S103882C/VEAM900F/connection-url driver-classcom.ibm.as400.access.AS400JDBCDriver/driver-class user-nameCONEXION/user-name CONEXION01 min-pool-size15/min-pool-size /local-tx-datasource local-tx-datasource jndi-nameInterfaseDS/jndi-name connection-urljdbc:as400://APPN.S103882C/V82BPCSUSF/connection-url driver-classcom.ibm.as400.access.AS400JDBCDriver/driver-class user-nameCONEXION/user-name CONEXION01 min-pool-size15/min-pool-size /local-tx-datasource any ideas?? thanks, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112597#4112597 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112597 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Standalone client getting errors while attempting to acc
goja wrote : | It looks like a JBoss standalone client cannot browse the JNDI binding because of a dependency of the client jars on a sar and jboss-server.jar, which in turns throws an exception complaining about No 'jboss' MBeanServer found!. | | Any other ideas? | | | | | public class ListJNDIBindings { | | | | public static void main(String[] args) { | | | | Properties props = new Properties(); | | props.put(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory.class.getName()); | | props.put(Context.PROVIDER_URL, jnp://localhost:1099); | | props.put(Context.URL_PKG_PREFIXES, org.jboss.naming:org.jnp.interfaces); | | | | try { | | Context context = new InitialContext(props); | | NamingEnumerationBinding ne = context.listBindings(); | | while (ne.hasMore()) { | | System.out.println(ne.nextElement()); | | } | | } catch (NamingException e) { | | // TODO Auto-generated catch block | | e.printStackTrace(); | | } | | } | | } | | Well, if you look at the code that you posted, you are using the listBindings API on the Context, which as per the javadoc: anonymous wrote : Enumerates the names bound in the named context, along with the objects bound to them. Any application can bind any object to the JNDI tree and if you use the listBindings API on the client side then effectively you will have to have the class/jar files of those objects on the client side. If you want to browse the JNDI tree then you can use the list() API available on the Context as follows: | | package org.myapp; | | import java.util.Properties; | | import javax.naming.Binding; | import javax.naming.Context; | import javax.naming.InitialContext; | import javax.naming.NamingEnumeration; | import javax.naming.NamingException; | | public class ListJNDIBindings { | | public static void main(String[] args) { | | Properties props = new Properties(); | props.put(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory.class.getName()); | props.put(Context.PROVIDER_URL, jnp://localhost:1099); | props.put(Context.URL_PKG_PREFIXES, org.jboss.naming:org.jnp.interfaces); | | try { | Context context = new InitialContext(props); | NamingEnumeration ne = context.list(); | | while (ne.hasMore()) { | System.out.println(ne.nextElement()); | } | } catch (NamingException e) { | // TODO Auto-generated catch block | e.printStackTrace(); | } | } | } The javadoc of the list API mentions: anonymous wrote : Enumerates the names bound in the named context, along with the class names of objects bound to them In this case you need not have the jar/class files of the all the objects bound to the JNDI tree. I was able to get this code working by including the jbossall-client.jar file in the client's classpath. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112596#4112596 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112596 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - JBOSS Stop error
Hi, I have installed jboss-4.2.2.GA with jdk1.5.0_13 on Redhat linux server. When i start jboss from bin directory, it run perfectly fine , ./run.sh -c all 10:16:56,225 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 46s:509ms But when i stop jboss using shutdown script i get error - ./shutdown.sh -S Exception in thread main javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused]]] at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1562) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:634) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.jboss.Shutdown.main(Shutdown.java:214) Caused by: javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused]] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:274) at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1533) ... 4 more Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:248) ... 5 more Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:520) at java.net.Socket.connect(Socket.java:470) at java.net.Socket.(Socket.java:367) at java.net.Socket.(Socket.java:267) at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:84) at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:77) at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:244) Can anyone help me to resolve this error. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112595#4112595 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112595 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Slimming JBoss only to J2EE not to EJB
I want to use JBoss 4.2 to support J2EE,support the framework such as JSF,Spring,Hibernate. I know JBoss support EJB,powerful,but I want to slim the JBoss 4.2 only conform to J2EE,eliminate the configuration of EJB from JBoss and run J2EE application most efficiently. Who can help me?Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112613#4112613 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112613 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jBPM starters kit 3.1.4 - http://localhost:8080/jbpm/
Hi, When I am logged in as ernie on http://localhost:8080/jbpm/ I can do the whole holiday-demo as ernie but I thought that I need two persons to continue the holiday request (one is asking for some days off and another makes the decision if it is possible or not). Is it a bug or do I think wrong? Thanks Tina View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112610#4112610 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112610 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jboss/jbpm
STFF, the Jira etc. KNOWN ISSUE View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112605#4112605 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112605 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Connection was lost
But this is a Jbos JBPM forum and this is happening in my Jbpm app. :s View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112606#4112606 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112606 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jBPM starters kit 3.1.4 - eclipse
Hi, I have some questions regarding the process deployment of jPDL-processes with eclipse and jBPM jPDL 3.1.4: What happens when I press the button Deploy Process Archiv? 1. I would like to know whether the server creates a process archiv and where is it located in the directory of the server 2. How it comes that I can see the process on http://localhost:8080/jbpm/faces/login.jsp 3. How is it possible to deploy the process with eclipse Thanks Tina View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112608#4112608 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112608 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How to show error page in a portlet
How I will produce error page from bean constructor? How to redirect to other page from constructor? I dont want a general portal error, I want portlet error. I used the portlet web.xml. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112612#4112612 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112612 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user