[jboss-user] [JCA/JBoss] - Is it a JBoss Bug ...?
Hi I am using a custom JCA Resource Adapter for Siebel.We are running our application on JBoss 4.0.5(Production Release). We are experiencing a Strange problem of connection pooling.Here is the simulation of the problem 1) We have written a servlet that obtains a valid Siebel connection from the pool. 2) It performs n number of queries with the same connection object(in a for loop). 3) Suddenly a NullpointerException is thrown during the execution.Going to the root cause of the exception we have analysed that the ManagedConnection(SiebelManagedConnection) object associated with the connection(SiebelConnection) handle becomes null. 4) Digging into the JCA code we found that such an even can take place only if you call a close method on the connection object. 5) However the for loop or the code that is called from the for loop does not give any evidence of close method being called on the connection object. 6) So we are quite sure that our application code is not closing the connection in between of the execution. 7) Is JBoss's connection pooling mechanism responsible for this ? 8) To make the problem more strange the NullPointerException is thrown only when we give 20 concurrent requests to the servlet. The max-pool-size is set to 18.But the blocking time-out is set to 30Sec.The for loop will not take more than 10Sec to execute. Even if the connections in the pool gets exhausted, we should get the exception message like No ManagedConnection Available in the beginning of the execution.JBoss does throw an exception in the situation like this. But the server should not do anything with the connection object that is already held by the calling thread. Can anyone help me in resolving the issue? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041615#4041615 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041615 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: How to add additional ports in sample-bindings.xml
Yes, it's called copypaste :) Or, if you want to write one (xslt based?) and contribute it back :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041616#4041616 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041616 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Transaction Demarcation
What do you need is user transactions. | import javax.ejb.TransactionManagement; | import javax.ejb.TransactionManagementType; | | | @TransactionManagement(TransactionManagementType.BEAN) | public class Q... | @In | private EntityManager entityManager; | @Resource | public UserTransaction utx; | | .. | utx.begin(); | utx.commit(); | utx.rollback(); | .. | } | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041617#4041617 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041617 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Is it a JBoss Bug ...?
Hmmm. Without looking at the code it would be difficult to tell the reason. Can you turn on XLevel tracing in your log4j.xml file? There is an example of how to do this in the log4j.xml in your conf directory. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041618#4041618 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041618 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: EntityHome validation error (Chapter 14 example)
cja987 wrote : ... prefer to have all CRUD actions go through the session bean that simply injects the EntityHome itself. TMTOWTDI. | what are you saying? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041619#4041619 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041619 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - If NoResultException, then logic in JSF or Java
In my simple application that i am writing, now i can edit records if a single resultset exist in database, pull it in the form and edit it and click save to modify the contents fine. Now the problem is that when nothing is returned from that database, for example an activity record for that user, if it doesn't already exist. then i am having a hard time figuring out what to do. Should i use JSF like in other examples to check if s:div rendered=#{reportActivity.value == null} | PUT THE FORMS HERE | /s:div ... for some reason i'm not sure if the object returned is null even if no row is found but i dont know if that happens then i put the forms inside the s div tags. and if it is not null then put the forms with value binding in between those s divs at the bottom. Or currently i am playing with creating a new object and putting sample values in it in the .java files. check this @Create | public String reportActivity() { | try { | value = (Activity) em | .createQuery( | select o from Activity o where o.username = #{identity.username}) | .getSingleResult(); | | } | catch(javax.persistence.NoResultException ex) { | | value = (Activity) new Activity(); | value.setUsername(#{identity.username}); | value.setFirstact(Not Available); | value.setSecondact(Not Available); | value.setThirdact(Not Available); | value.setFourthact(Not Available); | value.setFifthact(Not Available); | em.persist(value); | log.info(reportActivity.reportActivity() action called with: #{reportActivity.value} + getUsername()); | return failure; | } | | return success; | } that one is going horribly wrong, it doesn't even pick up the username. and when submitted it enters data in mysql twice 2 rows instead of one and puts in #identity.username instead of the username. In addition the page flow xml file seems to not work properly either. When my method above should return failure it should go to a different page but it doesnt. see page view-id=/reportActivity.xhtml login-required=true | navigation | rule if-outcome=failure | redirect view-id=/ActivityEdit.xhtml/ | /rule | /navigation | navigation from-action=#{reportActivity.updateActivity} | redirect view-id=/ActivityList.xhtml/ | /navigation |/page what are the best practices for this? I know im still stuck at the basics. sorry View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041620#4041620 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041620 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: If NoResultException, then logic in JSF or Java
Well that ActivityEdit.xhtml file is the one that creates a row in database (auto generated by seam-gen with entity) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041621#4041621 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041621 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: connection problems after 1 hour using jboss
Hi, i think we fix this problem. shame on me...we have a lot of jboss logfiles which explode our filesystem (no more space) ..and every time we reboot the server it clears the temp files... that declare the attitude of the connection problems thanx tomerbd2 :-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041622#4041622 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041622 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: connection problems after 1 hour using jboss
Hi, i think we fix this problem. shame on me...we have a lot of jboss logfiles which explode our filesystem (no more space) ..and every time we reboot the server it clears the temp files... that declare the attitude of the connection problems thanx Felix :-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041623#4041623 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041623 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mathematical captcha Email obfuscator
Sorry, I might have sounded a bit negative on the bug tracker - don't get me wrong - I and everyone else (being presumptuous) is really grateful for your contribution :) Homer J. wrote : 1. I purposefully didn't use the patch format because I thought it's easier for you to integrate this way and my code doesn't rely on existing seam code. Further my code is fine grained - like you demanded. So all you / the seam developers have to do is to rename the classes merge faces-config.xml, jsf-ui.taglib.xml, taglib.tld into JBossSeam/src/ui. I find it much easier to read a patch than a set of files - and it also means that you can submit a patch for each area of functionality (even if some patches depend upon others) - such we can see how you've built up the component. It also means that we can more easily choose to apply part of your functionality and know that it works as you intended... At the end of the day, Gavin will need to review all this anyway, and this will make it faster for him. anonymous wrote : 2. I might be wrong but AFAIK MathCaptchaResponseValidator does the same job as org.jboss.seam.captcha.CaptchaResponseValidator - that means it gets called by the hibernate validator and relays validation to the MathCaptcha component. Sorry, my bad, yes you are completely correct. anonymous wrote : 3. please see 1. Just far less source of errors - someone forgets to rename something somewhere and it all goes wrong :( If you say - I've developed and tested this patch against Seam head and it works great - then we can apply it with much less work! anonymous wrote : 4. This part I don't understand: Further, we are currently trying to work out what the role of JSF components is in Seam. I think we need to hold on commiting the JSF components for now. My hopes just were that you include it in jboss-seam-ui.jar so it can be used like s:link, s:cache, ... So, with the addition of the Ajax4jsf, RichFaces etc. projects to jboss.org, we are considering what role JSF components have in Seam, and whether some of the controls should be moved to other jboss.org projects. We haven't finished discussing this yet afaik :) So I was just suggesting that we hold of committing this until we have a roadmap for JSF components in Seam. We are still quite a way off 1.3.0.GA so this should be resolved by then! anonymous wrote : However: My intention was to give you a working example as proof of concept but if you insist on using the patch format I can give it a try (I haven't used it before but I have trust in my eclipse so this will probably work ;)). I always had problems with Eclipse and CVS patch on the anoncvs connection (it mangles whitespace and newines) and had much more success with command line cvs (looks like you are on a unix machine so this shouldn't be a problem :) ). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041625#4041625 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041625 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Example: OneToMany Composite Key
All of the examples in the seam distribtution work - or do you want a specific example? Show the entity that is producing the error - perhaps someone can help you :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041626#4041626 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041626 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Any Help? Run booking example out of container error.
use-java-contextfalse/use-java-context use-java-context: If this is set to false the the datasource will be bound in the global JNDI context rather than the java: context. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041627#4041627 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041627 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - JMS-Topic-Deployment on JBoss 5 Beta 2
Hi all, I have an (Session-Bean)-JAR within an EAR. Inside the JAR, there is an META-INF/jboss-service.xml witch defines a JMS-Topic messageTopic. A sessionBean - inside the same JAR - has an @Resource-injection with this just deployed topic - and this fails. The sessionbean will not be deployed, but after all I see the messageTopic in JBoss' jmx-console, so my jboss-service.xml is deployed. I want to ask, if I do anything wrong? Perhaps, I have to give (how?) an order of deployment (first deploy the topic, then deploy the sessionbean). Or is it just a bug, because of JBoss 5 is beta? Additionally, I have to say, that my project worked with jboss-4.0.2.GA. Best regards, Carsten View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041628#4041628 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041628 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Any Help? Run booking example out of container error.
ps: 1 set as non-jta-data-source 2 delete property of en, after reading docs of jboss-server, it's more clear. and it's clear! ^_^ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041631#4041631 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041631 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - how to import external page in taskform(.xhtml)?
I have external page(http://otherwebsite.com/jsp.page) that I need to import in to my task form(eg:form.create.xhtml in websale), how to config in task form?(jbpm Jpdl 3.2GA) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041632#4041632 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041632 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Any Help? Run booking example out of container error.
delete line :property name=hibernate.transaction.manager_lookup_class value=org.hibernate.transaction.JBossTransactionManagerLookup View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041633#4041633 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041633 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Error registering jboss.web:type=ProtocolHandler, port=28080,
I have written Mbean , which makes a client RMI connection to external application . This bean is configured in the conf/jboss-service.xml so when the jboss is started during the start of my bean i get following error. Can anyone please tell me how to fix this problem. 17:17:07,312 ERROR [Registry] Error registering jboss.web:type=ProtocolHandler,port=28080,address=%2F0.0.0.0 java.lang.SecurityException: MBeanTrustPermission(register) not implied by protection domain of mbean class: org.apache.commons.modeler.BaseModelMBean, pd: ProtectionDomain (file:/opt/jboss-4.0.5.GA/server/coam/tmp/deploy/tmp61685commons-modeler.jar no signer certificates) [EMAIL PROTECTED] url=file:/opt/jboss-4.0.5.GA/server/coam/deploy/jbossweb-tomcat55.sar/ ,addedOrder=9} no principals [EMAIL PROTECTED] ( (java.net.SocketPermission localhost:1024- listen,resolve) (java.net.SocketPermission localhost:1024- listen,resolve) (java.util.PropertyPermission java.version read) (java.util.PropertyPermission java.vm.name read) (java.util.PropertyPermission java.vm.vendor read) (java.util.PropertyPermission os.name read) (java.util.PropertyPermission java.vendor.url read) (java.util.PropertyPermission java.vm.specification.vendor read) (java.util.PropertyPermission os.version read) (java.util.PropertyPermission java.specification.vendor read) (java.util.PropertyPermission java.class.version read) (java.util.PropertyPermission java.specification.name read) (java.util.PropertyPermission file.separator read) (java.util.PropertyPermission os.arch read) (java.util.PropertyPermission java.vm.version read) (java.util.PropertyPermission java.vendor read) (java.util.PropertyPermission java.specification.version read) (java.util.PropertyPermission java.vm.specification.version read) (java.util.PropertyPermission java.vm.specification.name read) (java.util.PropertyPermission path.separator read) (java.util.PropertyPermission line.separator read) (java.lang.RuntimePermission stopThread) (java.io.FilePermission /opt/jboss-4.0.5.GA/server/coam/tmp/deploy/tmp61685commons-modeler.jar read) (java.io.FilePermission /opt/jboss-4.0.5.GA/server/coam/deploy/jbossweb-tomcat55.sar read) ) at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1398) at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:376) at org.apache.commons.modeler.Registry.registerComponent(Registry.java:871) at org.apache.catalina.connector.Connector.start(Connector.java:1076) at org.jboss.web.tomcat.tc5.Tomcat5.startConnectors(Tomcat5.java:590) at org.jboss.web.tomcat.tc5.Tomcat5.handleNotification(Tomcat5.java:627) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:153) at $Proxy41.handleNotification(Unknown Source) at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:127) at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:108) at org.jboss.system.server.ServerImpl.sendNotification(ServerImpl.java:908) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:497) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) at org.jboss.Main.boot(Main.java:200) at org.jboss.Main$1.run(Main.java:490) at java.lang.Thread.run(Thread.java:595) 17:17:07,314 ERROR [Connector] Protocol JMX registration failed .. thanks in advance Mallick View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041634#4041634 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041634 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - SEAM INSTALLATION
After installing JBOSS AS 4.0.5 with ejb3 profile and \jboss-seam-1.2.1.GA the ant script gives the following message with both Java 5 and 6: select-compiler: compile: [javac] Compiling 382 source files to C:\JBOSSSIM\jboss-seam-1.2.1.GA\build\ classes [javac] javac: invalid target release: 1.5 Can any of JBoss Seam users please give me a clue what is going wrong ? Thanks Pronob View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041635#4041635 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041635 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Can't change the layout in the JBoss Portal 2.6CR1
Dear. I've added some layouts and uncomment the two layout(nodesk, phalanx). after changing the layout in the portal page, there is no effect to change the layout. I did succeed changing layout in the JBoss Portal 2.4.2, but I can not change the layout JBoss Portal 2.6 CR1. Let me know how to change the layout. Regard View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041636#4041636 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041636 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Error message on clicking to the admin page
Dear When I click the admin page, there are error message on the message console as below. 2007-04-28 22:16:18,750 ERROR [STDERR] 2007. 4. 28 PM 10:16:18 com.sun.facelets.compiler.TagLibraryConfig loadImplicit Added Library from: jar:file:/E:/Utils/JBoss/07.Portal/jboss-portal-2.6-CR1-bundled/jboss-portal-2.6-CR1/server/default/tmp/deploy/tmp12692portal-wsrp.jse-contents/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml 2007-04-28 22:16:18,796 ERROR [STDERR] 2007. 4. 28 PM 10:16:18 com.sun.facelets.compiler.TagLibraryConfig loadImplicit Added Library from: jar:file:/E:/Utils/JBoss/07.Portal/jboss-portal-2.6-CR1-bundled/jboss-portal-2.6-CR1/server/default/tmp/deploy/tmp12670jsf-facelets.jar!/META-INF/jstl-core.taglib.xml 2007-04-28 22:16:18,812 ERROR [STDERR] 2007. 4. 28 PM 10:16:18 com.sun.facelets.compiler.TagLibraryConfig loadImplicit Added Library from: jar:file:/E:/Utils/JBoss/07.Portal/jboss-portal-2.6-CR1-bundled/jboss-portal-2.6-CR1/server/default/tmp/deploy/tmp12692portal-wsrp.jse-contents/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml 2007-04-28 22:16:18,812 ERROR [STDERR] 2007. 4. 28 PM 10:16:18 com.sun.facelets.compiler.TagLibraryConfig loadImplicit Added Library from: jar:file:/E:/Utils/JBoss/07.Portal/jboss-portal-2.6-CR1-bundled/jboss-portal-2.6-CR1/server/default/tmp/deploy/tmp12692portal-wsrp.jse-contents/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml 2007-04-28 22:16:18,890 ERROR [STDERR] 2007. 4. 28 PM 10:16:18 com.sun.facelets.compiler.TagLibraryConfig loadImplicit Added Library from: jar:file:/E:/Utils/JBoss/07.Portal/jboss-portal-2.6-CR1-bundled/jboss-portal-2.6-CR1/server/default/tmp/deploy/tmp12670jsf-facelets.jar!/META-INF/jsf-core.taglib.xml 2007-04-28 22:16:18,890 ERROR [STDERR] 2007. 4. 28 PM 10:16:18 com.sun.facelets.compiler.TagLibraryConfig loadImplicit Added Library from: jar:file:/E:/Utils/JBoss/07.Portal/jboss-portal-2.6-CR1-bundled/jboss-portal-2.6-CR1/server/default/tmp/deploy/tmp12670jsf-facelets.jar!/META-INF/jsf-html.taglib.xml 2007-04-28 22:16:18,906 ERROR [STDERR] 2007. 4. 28 PM 10:16:18 com.sun.facelets.compiler.TagLibraryConfig loadImplicit Added Library from: jar:file:/E:/Utils/JBoss/07.Portal/jboss-portal-2.6-CR1-bundled/jboss-portal-2.6-CR1/server/default/tmp/deploy/tmp12672portal-faces-lib.jar!/META-INF/portal.taglib.xml 2007-04-28 22:16:18,906 ERROR [STDERR] 2007. 4. 28 PM 10:16:18 com.sun.facelets.compiler.TagLibraryConfig loadImplicit Added Library from: jar:file:/E:/Utils/JBoss/07.Portal/jboss-portal-2.6-CR1-bundled/jboss-portal-2.6-CR1/server/default/tmp/deploy/tmp12670jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml 2007-04-28 22:16:18,921 ERROR [STDERR] 2007. 4. 28 PM 10:16:18 com.sun.facelets.compiler.TagLibraryConfig loadImplicit Added Library from: jar:file:/E:/Utils/JBoss/07.Portal/jboss-portal-2.6-CR1-bundled/jboss-portal-2.6-CR1/server/default/tmp/deploy/tmp12692portal-wsrp.jse-contents/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml 2007-04-28 22:16:18,921 ERROR [STDERR] 2007. 4. 28 PM 10:16:18 com.sun.facelets.compiler.TagLibraryConfig loadImplicit Added Library from: jar:file:/E:/Utils/JBoss/07.Portal/jboss-portal-2.6-CR1-bundled/jboss-portal-2.6-CR1/server/default/tmp/deploy/tmp12670jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml 2007-04-28 22:16:18,921 ERROR [STDERR] 2007. 4. 28 PM 10:16:18 com.sun.facelets.compiler.TagLibraryConfig loadImplicit How do I fix it? Regards View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041637#4041637 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041637 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - There is an error message when shutdown
Dear. There is an error message when shutdown as below. 22:37:09,468 WARN [JBossServiceModelMBean$ServiceMixin] Stopping failed JBossServiceModelMBean$ServiceMixin java.lang.NullPointerException at org.jboss.portal.portlet.impl.container.PortletApplicationContextImpl.stopPortletApplication(PortletApplicationContextImpl.java:136) at org.jboss.portal.portlet.deployment.jboss.PortletAppDeployment.destroy(PortletAppDeployment.java:238) at org.jboss.portal.server.deployment.jboss.DeploymentContext.destroy(DeploymentContext.java:125) at org.jboss.portal.server.deployment.jboss.PortalDeploymentInfoContext.remove(PortalDeploymentInfoContext.java:119) at org.jboss.portal.server.deployment.jboss.ServerDeployer.unregisterFactory(ServerDeployer.java:157) 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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy138.unregisterFactory(Unknown Source) at org.jboss.portal.server.deployment.jboss.AbstractDeploymentFactory.unregisterFactory(AbstractDeploymentFactory.java:127) at org.jboss.portal.server.deployment.jboss.AbstractDeploymentFactory.stop(AbstractDeploymentFactory.java:161) at org.jboss.portal.portlet.deployment.jboss.PortletAppDeploymentFactory.stop(PortletAppDeploymentFactory.java:210) 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.portal.jems.as.system.JBossServiceModelMBean$ServiceMixin.execute(JBossServiceModelMBean.java:428) at org.jboss.portal.jems.as.system.JBossServiceModelMBean$ServiceMixin.stopService(JBossServiceModelMBean.java:399) at org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:315) at org.jboss.system.ServiceMBeanSupport.stop(ServiceMBeanSupport.java:206) at org.jboss.portal.jems.as.system.JBossServiceModelMBean$6.invoke(JBossServiceModelMBean.java:327) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:995) at $Proxy0.stop(Unknown Source) at org.jboss.system.ServiceController.stop(ServiceController.java:508) at org.jboss.system.ServiceController.stop(ServiceController.java:499) at org.jboss.system.ServiceController.stop(ServiceController.java:499) at org.jboss.system.ServiceController.stop(ServiceController.java:499) at org.jboss.system.ServiceController.stop(ServiceController.java:499) at org.jboss.system.ServiceController.stop(ServiceController.java:499) 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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy4.stop(Unknown Source) at org.jboss.deployment.SARDeployer.stop(SARDeployer.java:336)
[jboss-user] [Installation, Configuration Deployment] - last sources from svn
hi.where I can to find the last snapshot of jboss application server through anonsvn? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041640#4041640 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041640 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Example: OneToMany Composite Key
petemuir wrote : All of the examples in the seam distribtution work - or do you want a specific example? | | Show the entity that is producing the error - perhaps someone can help you :) Yes, I'm looking for a specific example: one that shows use of a Composite Primary key - as the order example in the Java EE tutorial does. Here's some code that produces the above duplicate column insert errors (seam 1.2.1 GA). In this instance, the recordId column is duplicated: | package com.mydomain.selfEnroll; | | import java.io.Serializable; | import java.util.Calendar; | import java.util.Collection; | import java.util.Date; | | import javax.persistence.CascadeType; | import javax.persistence.Entity; | import javax.persistence.GeneratedValue; | import javax.persistence.GenerationType; | import javax.persistence.Id; | import javax.persistence.OneToMany; | import javax.persistence.SequenceGenerator; | import javax.persistence.Table; | import javax.persistence.Temporal; | import javax.persistence.TemporalType; | | import org.hibernate.validator.NotNull; | import org.jboss.seam.ScopeType; | import org.jboss.seam.annotations.Name; | import org.jboss.seam.annotations.Scope; | | @Entity | @Scope(ScopeType.CONVERSATION) | @Name(record) | @Table(name = RECORD) | @SequenceGenerator(name = recordGen, allocationSize = 1, sequenceName = RECORD_SEQ) | public class Record implements Serializable { | private Long recordId; | | private Date eventDate; | | private Byte memberDiabetes; | | private Byte familyDiabetes; | | private Byte weight; | | private Byte waist; | | private CollectionRecordData recordData; | | public Record() { | eventDate = Calendar.getInstance().getTime(); | } | | @NotNull | @Temporal(TemporalType.DATE) | public Date getEventDate() { | return eventDate; | } | | public void setEventDate(Date eventDate) { | this.eventDate = eventDate; | } | | public Byte getFamilyDiabetes() { | return familyDiabetes; | } | | public void setFamilyDiabetes(Byte familyDiabetes) { | this.familyDiabetes = familyDiabetes; | } | | public Byte getMemberDiabetes() { | return memberDiabetes; | } | | public void setMemberDiabetes(Byte memberDiabetes) { | this.memberDiabetes = memberDiabetes; | } | | @Id | @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = recordGen) | public Long getRecordId() { | return recordId; | } | | public void setRecordId(Long recordId) { | this.recordId = recordId; | } | | public Byte getWaist() { | return waist; | } | | public void setWaist(Byte waist) { | this.waist = waist; | } | | public Byte getWeight() { | return weight; | } | | public void setWeight(Byte weight) { | this.weight = weight; | } | | @OneToMany(cascade = CascadeType.ALL, mappedBy = record) | public CollectionRecordData getRecordData() { | return recordData; | } | | public void setRecordData(CollectionRecordData recordData) { | this.recordData = recordData; | } | } | | package com.mydomain.selfEnroll; | | import java.io.Serializable; | | import javax.persistence.Column; | import javax.persistence.Entity; | import javax.persistence.Id; | import javax.persistence.IdClass; | import javax.persistence.JoinColumn; | import javax.persistence.ManyToOne; | import javax.persistence.SequenceGenerator; | import javax.persistence.Table; | | import org.jboss.seam.ScopeType; | import org.jboss.seam.annotations.Name; | import org.jboss.seam.annotations.Scope; | | @IdClass(RecordDataKey.class) | @Entity | @Scope(ScopeType.CONVERSATION) | @Name(recordData) | @Table(name = RECORD_DATA) | @SequenceGenerator(name = recordGen, allocationSize = 1, sequenceName = RECORD_SEQ) | public class RecordData implements Serializable { | private Long recordId; | | private Long biomarkerId; | | private Double value; | | private Record record; | | @ManyToOne | @JoinColumn(name = RECORDID) | public Record getRecord() { | return record; | } | | public void setRecord(Record record) { | this.record = record; | } | | public RecordData() { | } | | @Id | @Column(name = RECORDID, nullable = false, insertable = false, updatable = false) | public Long getRecordId() { | return recordId; | } | | public void setRecordId(Long recordId) { | this.recordId =
[jboss-user] [JBoss Portal] - last sources from svn
hi.where I can to find the last snapshot of jboss portal through anonsvn? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041643#4041643 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041643 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Example: OneToMany Composite Key
Actually, use this code instead of the above to invoke the entities. I just changed one line to make it standalone. | ... | // code that invokes above entities to produce the problem | CollectionRecordData biomarkers = new ArrayListRecordData(1); | RecordData biomarker = new RecordData(); | biomarker.setBiomarkerId(99L); | biomarker.setValue(4.4); | biomarkers.add(biomarker); | myRecord.setRecordData(biomarkers); | | em.persist(myRecord); | ... | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041644#4041644 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041644 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: ports for EJB
There is a wiki that tells which ports should be exposed http://www.jboss.org/wiki/Wiki.jsp?page=UsingJBossBehindAFirewall View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041646#4041646 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041646 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: ports for EJB
Yes, I read that. It is a little bit technical for the mortal, though, with all those MBean references. This is why I asked for reinforcement. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041648#4041648 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041648 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: how to change JWS 80 port on jboss portal 26CR1
by ths issue? http://wiki.jboss.org/wiki/Wiki.jsp? I Modify all file 1---the portal 2.6.CR1 on windows , is work 2--on solaris 10 is not work I login in portal (account admin) and enter admin _ WSRP page When I click (SELF application ) regist link ,and show this error (internal 500) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041649#4041649 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041649 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mathematical captcha Email obfuscator
No need to excuse, I don't think that you sounded negative. I just thought this way you have more control over how to integrate it without worries cause it's only a handful of files. Anyway: I converted the whole stuff into 3 patches. It's tested ( working) with todays CVS head and JBoss AS 4.2.0CR2. Please have a look at it if you have some time. PS: To create cvs patches on the command line I had to manually fiddle with CVS/Entries because the N parameter was ignored which is plain retarded. Is there any other option I haven't found or is this normal? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041650#4041650 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041650 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: last sources from svn
All the repositories are accessible from: http://anonsvn.jboss.org/repos/ The latest sources are is always under trunk within each project. For example: http://anonsvn.jboss.org/repos/jbossas/trunk/ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041652#4041652 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041652 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Regional classloaders and state transfer
We are currently using the 2.0 beta 2 release, and have some problem with the state transfer. We are using regional based classloaders with an example cache like: /a/ - ClassLoader A /b/ - ClassLoader B The startup sequence of the cache looks like: 1. Create cache 2. Register classloaders 3. Start the cache Now, we startup Cache #1 and everything is working well. We add some ClassLoader A specific objects under /a/... and can read and write them correctly. Placing ClassLoader B specific objects under /b/... also works fine. Then we start Cache #2 using the same start sequence as above, but then we run into problems. Cache #1 has objects in it's cache so a state transfer is initialized. The regions have been initialized in Cache #2 with proper classloaders so that should be fine. However, the state transfer from Cache #1 is triggered on the root '/'. When Cache #2 gets the initial state transfer it goes a little like this: 1. Do I have regional based classloaders? yes. 2. Do I have a classloader defined for region '/'? no. 3. Use default classloader. 4. ClassNotFoundException The class not found is of course due to the fact that objects under /a/... will require ClassLoader A. The steps are of course my interpretation from stepping the code in a debugger, I might be wrong. Any feedback regarding this would be much appreciated, I am not really sure yet on how to solve the problem if the state transfer is for the whole cache with the root node as reference. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041653#4041653 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041653 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam cannot reference EJB, why?
here is the startup log in which Seam scans the ejb jar: 20:03:09,933 INFO [ServletContextListener] Welcome to Seam 1.2.1 | 20:03:09,953 INFO [Scanner] scanning: /D:/opt/jboss-4.0.5/server/default/./tmp/deploy/tmp1148FBN-app.ear-contents/FBN-JSF-exp.war/WEB-INF/lib/jboss-s | eam.jar | 20:03:10,033 INFO [Scanner] scanning: /D:/opt/jboss-4.0.5/server/default/tmp/deploy/tmp1148FBN-app.ear-contents/jboss-seam.jar | 20:03:10,083 INFO [Initialization] Namespace: http://jboss.com/products/seam/security, package: org.jboss.seam.security, prefix: org.jboss.seam.secur | ity | 20:03:10,083 INFO [Initialization] Namespace: http://jboss.com/products/seam/drools, package: org.jboss.seam.drools, prefix: org.jboss.seam.drools | 20:03:10,083 INFO [Initialization] Namespace: http://jboss.com/products/seam/mail, package: org.jboss.seam.mail, prefix: org.jboss.seam.mail | 20:03:10,083 INFO [Initialization] Namespace: http://jboss.com/products/seam/web, package: org.jboss.seam.web, prefix: org.jboss.seam.web | 20:03:10,083 INFO [Initialization] Namespace: http://jboss.com/products/seam/theme, package: org.jboss.seam.theme, prefix: org.jboss.seam.theme | 20:03:10,083 INFO [Initialization] Namespace: http://jboss.com/products/seam/jms, package: org.jboss.seam.jms, prefix: org.jboss.seam.jms | 20:03:10,083 INFO [Initialization] Namespace: http://jboss.com/products/seam/framework, package: org.jboss.seam.framework, prefix: org.jboss.seam.cor | e.framework | 20:03:10,093 INFO [Scanner] scanning: /D:/opt/jboss-4.0.5/server/default/tmp/deploy/tmp1148FBN-app.ear-contents/jboss-seam-debug.jar | 20:03:10,093 INFO [Scanner] scanning: D:\opt\jboss-4.0.5\server\default\.\tmp\deploy\tmp1148FBN-app.ear-contents\FBN-JSF-exp.war\WEB-INF\classes | 20:03:10,093 INFO [Scanner] scanning: /D:/opt/jboss-4.0.5/server/default/./tmp/deploy/tmp1148FBN-app.ear-contents/FBN-JSF-exp.war/WEB-INF/lib/jboss-s | eam-ui.jar | 20:03:10,093 INFO [Scanner] scanning: /D:/opt/jboss-4.0.5/server/default/./tmp/deploy/tmp1148FBN-app.ear-contents/FBN-JSF-exp.war/WEB-INF/lib/jboss-s | eam-debug.jar | 20:03:10,093 INFO [Scanner] scanning: /D:/opt/jboss-4.0.5/server/default/tmp/deploy/tmp1148FBN-app.ear-contents/FBN-EJB.jar | 20:03:10,103 INFO [Initialization] reading /WEB-INF/components.xml | 20:03:10,233 INFO [Initialization] reading jar:file:/D:/opt/jboss-4.0.5/server/default/tmp/deploy/tmp1148FBN-app.ear-contents/jboss-seam.jar!/META-IN | F/components.xml | 20:03:10,253 INFO [Initialization] reading jar:file:/D:/opt/jboss-4.0.5/server/default/./tmp/deploy/tmp1148FBN-app.ear-contents/FBN-JSF-exp.war/WEB-I | NF/lib/jboss-seam.jar!/META-INF/components.xml | 20:03:10,253 INFO [Initialization] reading properties from: /seam.properties | 20:03:10,263 INFO [Initialization] reading properties from: /jndi.properties | 20:03:10,263 INFO [Initialization] initializing Seam | 20:03:10,313 INFO [Scanner] scanning: /D:/opt/jboss-4.0.5/server/default/tmp/deploy/tmp1148FBN-app.ear-contents/jboss-seam-debug.jar | 20:03:10,734 INFO [Scanner] scanning: D:\opt\jboss-4.0.5\server\default\.\tmp\deploy\tmp1148FBN-app.ear-contents\FBN-JSF-exp.war\WEB-INF\classes | 20:03:10,744 INFO [Scanner] scanning: /D:/opt/jboss-4.0.5/server/default/./tmp/deploy/tmp1148FBN-app.ear-contents/FBN-JSF-exp.war/WEB-INF/lib/jboss-s | eam-ui.jar | 20:03:11,084 INFO [Scanner] scanning: /D:/opt/jboss-4.0.5/server/default/./tmp/deploy/tmp1148FBN-app.ear-contents/FBN-JSF-exp.war/WEB-INF/lib/jboss-s | eam-debug.jar | 20:03:11,094 INFO [Scanner] scanning: /D:/opt/jboss-4.0.5/server/default/tmp/deploy/tmp1148FBN-app.ear-contents/FBN-EJB.jar | 20:03:11,174 INFO [Scanner] scanning: /D:/opt/jboss-4.0.5/server/default/./tmp/deploy/tmp1148FBN-app.ear-contents/FBN-JSF-exp.war/WEB-INF/lib/jboss-s | eam.jar | 20:03:12,777 INFO [Scanner] scanning: /D:/opt/jboss-4.0.5/server/default/tmp/deploy/tmp1148FBN-app.ear-contents/jboss-seam.jar | 20:03:13,838 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.security.identity | 20:03:13,888 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.persistence.persistenceProvider | 20:03:13,908 INFO [Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init | 20:03:14,048 INFO [Initialization] Installing components... | 20:03:14,069 INFO [Component] Component: org.jboss.seam.core.applicationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Appl | icationContext | 20:03:14,069 INFO [Component] Component: org.jboss.seam.core.businessProcessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core. | BusinessProcessContext | 20:03:14,079 INFO [Component] Component: org.jboss.seam.core.conversation, scope: CONVERSATION, type: JAVA_BEAN, class:
[jboss-user] [JBoss Seam] - Re: SEAM INSTALLATION
If you are getting that message, you are definitely not using Java 5. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041655#4041655 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041655 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: default equals() doesn't behave as expected for javaBean
Just a thought: wouldn't it be enough to let equals check the defined component name and scope for equality? That assumes that the name/scope pair is unique to the object and immutable, which holds as far as I can see? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041656#4041656 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041656 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - @In annotation and creating bean
Hi, I 'm beginer with seam and have a question.I've created two stateful beans(eg. User and Message).How can I call User 's method in Message bean by annotation? Best regards, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041657#4041657 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041657 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - PageCustomizerInterceptor not restricting tabs based on role
Looking at the PageCustomizerInterceptor class it performs security checks before rendering tabs but it does not seem to be working. JACCPortalAuthorizationManager is always returning true for checkPermission. I'm fairly certain that I have setup my security constraints properly in my *-object.xml file because when i click on a tab i get the right security message. Any ideas what is going wrong? | security-constraint | policy-permission | role-nameMyRole/role-name | action-nameview/action-name | action-nameviewrecursive/action-name | action-namepersonalizerecursive/action-name | /policy-permission | /security-constraint | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041658#4041658 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041658 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam cannot reference EJB, why?
Show the contents of FBN-EJB.jar View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041659#4041659 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041659 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: For Gavin to review
http://jira.jboss.com/jira/browse/JBSEAM-1262 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041660#4041660 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041660 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam cannot reference EJB, why?
the content of the ejb jar is - jndi-properties | - META-INF/seam.properties | - META-INF/ejb-jar.xml | - META-INF/persistence.xml | - META-INF/Manifest.mf | - com/ideartis/jee/fbn/Booking.class | - com/ideartis/jee/fbn/BookingBean.class | - com/ideartis/jee/fbn/ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041661#4041661 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041661 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - In relation to Entity hierarchy and EntityManager's behaviou
I found a strange behaviour of EntityManager for the Entity Hierarchy using JOINED strategy (I have not tested yet other strategies). Let me assume that I have a hierarchy of joined entities derived from, for example, a Vehicle base class: | Vehicle | / | \ |/ | \ | /|\ | GroundAirWater | / | \ |/ | \ | /|\ | Airbus Boeing Cessna | / | \ |/ | \ | /|\ |B737 B747 B777 | When I'm trying to remove a Vehicle entity, entity manager removes all related child records from db (Vehicle-Air-Boeing-B747). It's OK. When I'm trying to remove a B747 entity, entity manager also removes all ancestor records from db (including Boeing, Air and Vehicle), but I don't need it :-(. I just tried to remove only B747 record, why entity manager supposed that I need to remove all ancestors too? I think that this approach is not right. Because, when I want to remove a B747 record only from db (for example an ailiner with registration number XX), I didn't want to remove all related ancestors include Vehicle. When I want to remove just Boeing related records from my db, it means that I just wanted to remove only Boeing records including all its childs (B737, B747 and B777), but not its anchestors (Air and Vehicle). if you think that my thougts on this subject is not on right way or do not cover OOP concepts, please suggest me some resources and will try to study them to understand inheritance from yours point of view. -- rustam bogubaev View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041664#4041664 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041664 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Using (Hash)Map in wrapper class
I'm using jboss-4.2.0.CR2 with jbossws-1.2.1.GA I'm trying to deploy the following simple echo webservice. | @WebService() | @SOAPBinding(style = SOAPBinding.Style.RPC) | public class EchoMapSSTest { | | @WebMethod | public MapString, String echoMapSS(MapString, String myMap) { | return myMap; | } | } | JBoss gives the following error message: ... 28 more Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions java.util.Map is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at java.util.Map The JAXB2.0 documentation clearly states that java.util.Map MUST be supported, so I think I'm doing something wrong? Please help View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041665#4041665 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041665 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Using (Hash)Map in wrapper class
I've found a related jax-ws topic: http://forums.java.net/jive/message.jspa?messageID=185244 Putting the Hashmap inside a wrapper does work: | @WebService() | @SOAPBinding(style = SOAPBinding.Style.RPC) | public class EchoMapSSTest { | | public static class MapWrapper { | public MapString, String map; | } | | @WebMethod | public MapWrapper echoMapSS(MapWrapper myMap) { | return myMap; | } | } | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041666#4041666 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041666 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Two services with same portname
When I deploy two services with the same method name inside one war file something strange happens: | @WebService | @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED) | public class EchoListString { | | @WebMethod | public ListString echo(ListString myList) { | return myList; | } | | } | and | @WebService | @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED) | public class EchoListBean { | | @WebMethod | public ListBasicBean echo(ListBasicBean myList) { | return myList; | } | | } | The echo input xsd (as well as the output) which is generated inside the wsdl is: xs:complexType name=echo xs:sequence xs:element maxOccurs=unbounded minOccurs=0 name=arg0 type=tns:basicBean / /xs:sequence /xs:complexType the tns:basicBean is used instead of xs:string! When I change the name of either EchoListString.echo EchoListBean.echo, everything is normal. I think it's a bug, but i'm not sure! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041670#4041670 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041670 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - How to configure heartbeat on Cluster env!
I have 2 nodes on my cluster env with Jboss4.05GA on RedHat AH3. Machine1: eth0 :192.168.0.173 eth1: 192.268.100.173 Maching2: eth0: 192.168.0.174 etho1:192.168.100.174 192.168.100.173 and 192.168.100.174 connect directly and the 192.168.0.173 and 192.168.0.174 connecte with a switch. I want the cluster message (UDP message) throws the x.x.100.x. But i also want other server can find this cluster with jnp:192.168.0.173:1100,jnp:192.168.0.174:1100. How can i configure it. I has try this: ./run.sh -c all -b 192.168.100.174 . Then other server cant' find the Jboss server. After that, i try again as this: ./run.sh -c all -b 192.168.0.174. I find the 2 Jboss server communicate with the x.x.0.x. it's not my wanted. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041671#4041671 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041671 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: If NoResultException, then logic in JSF or Java
Hello View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041673#4041673 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041673 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: How to configure heartbeat on Cluster env!
Try: | ./run.sh -c all -b 192.168.0.174 -Dbind.address=192.168.100.174 | JGroups will use the value of the bind.address system property to determine what interface to use. Other services use jboss.bind.address. When you use -b, when JBoss starts it sets both of those properties to the provided value. But if you directly specify bind.address as I did above, the value you give will supercede the -b value, so JGroups will use that value. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041674#4041674 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041674 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Eclipse 3.2 and JBoss IDE 2.0 beta2 introduces config errors
Installation of Eclipse IDE 2.0.0 Beta2 introduces several feature configuration errors, older versions of features being installed over newer one: anonymous wrote : | Included feature J2EE Standard Tools (JST) Project version 1.5.3.v200701251935-kW-NqztJbMj98Vy is disabled. | | Included feature J2EE Standard Tools (JST) Project version 1.5.3.v200701251935-kW-NqztJbMj98Vy is disabled. | | | Included feature Graphical Editing Framework version 3.2.1.v20060921 is disabled. | | Included feature J2EE Standard Tools (JST) Project version 1.5.1.v200609111510-kW-O_zxPud7GuJG contains problems. | | Included feature Web Standard Tools (WST) Project version 1.5.1.v200609111500-X3TmmF3AeboB5EW is disabled. | | | Included feature JST Web User Documentation version 1.5.3.v200701251934 is disabled. | | | Included feature Web Standard Tools (WST) Project version 1.5.3.v200701251935-X3Tn7ug44nfs8AE contains problems. | | Included feature WST XML Plug-in Developer Resources version 1.5.3.v200701251933-L2zO3EqAIUoe80j contains problems. | | Included feature WST Web Services Plug-in Developer Resources version 1.5.3.v200701251933-8422923473A55-v contains problems. | | | Included feature WST Relational Database User Documentation version 1.5.1.v200609121915--4hNDDhDrSIDSDf is disabled. | | Included feature WST Relational Database Core version 1.5.1.v200608082030--3YIAAYAeEKFTFU is disabled. | | | Included feature WST Web Services User Documentation version 1.5.1.v200609111650--2PD88P8XECCNKM is disabled. | | | Included feature WST XML User Documentation version 1.5.1.v200609111545--3YIAAYAjJGDUPb is disabled. | | Included feature WST XML Core version 1.5.1.v200608082030--3YIAAYAjGLENFH is disabled. | Please see my install log http://jane.atbhost.com/. Eclipse SDK Version: 3.2.2 Build id: M20070212-1330 Ubuntu Edgy Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041676#4041676 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041676 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBoss IDE 2.x and WTP 1.5.2 coexistence
Forgot to mention: installed thru Eclipse; in the install documentation the url for the remote site is http://download.jboss.org/jbosside/updates/stable;, but this is the path for IDE 1.6! How come the docs are not updated? Shouldn't Eclipse 3.2 prevent you to install an incompatible version? I had to change the url to http://download.jboss.org/jbosside/updates/development; View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041677#4041677 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041677 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - import.sql and hsqldb
In the Seam hotel booking example, there is the import.sql file. I am wondering how that is getting run. I looked if there is an ant target for example running the SQL into HSQLDB database when the project gets built but there is nothing of the sort. Could someone with considerbaly more experience explain to me how that is working? Thanks. Much appreciated. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041678#4041678 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041678 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Any Help? Run booking example out of container error.
I got the seam booking example running out of the box with Tomcat 6.0 no problems. Is this with JBoss AS? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041680#4041680 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041680 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: SEAM INSTALLATION
I am pasting a full display with java -version output : just to make sure we are in the same page: C:\JBOSSSIM\jboss-seam-1.2.1.GAjava -version java version 1.6.0_01 Java(TM) SE Runtime Environment (build 1.6.0_01-b06) Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing) C:\JBOSSSIM\jboss-seam-1.2.1.GAant Buildfile: build.xml init: [echo] Build JBoss Seam 1.2 select-compiler: antlr: compilecore: [javac] Compiling 382 source files to C:\JBOSSSIM\jboss-seam-1.2.1.GA\build\ classes [javac] javac: invalid target release: 1.5 [javac] Usage: javac source files [javac] where possible options include: [javac] -gGenerate all debugging info [javac] -g:none Generate no debugging info [javac] -g:{lines,vars,source}Generate only some debugging info [javac] -nowarn Generate no warnings [javac] -verbose Output messages about what the compiler is doing [javac] -deprecation Output source locations where deprecated APIs are used [javac] -classpath Specify where to find user class files [javac] -sourcepath Specify where to find input source files [javac] -bootclasspath Override location of bootstrap class fil es [javac] -extdirsOverride location of installed extension s [javac] -d Specify where to place generated class f iles [javac] -encoding Specify character encoding used by sourc e files [javac] -source Provide source compatibility with specif ied release [javac] -target Generate class files for specific VM ver sion [javac] -help Print a synopsis of standard options BUILD FAILED C:\JBOSSSIM\jboss-seam-1.2.1.GA\build.xml:670: Compile failed; see the compiler error output for details. Total time: 2 seconds C:\JBOSSSIM\jboss-seam-1.2.1.GA Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041681#4041681 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041681 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user