[jboss-user] [JBoss Seam] - Re: HTTP Status 404 - /registration/
build.properties | #See build/sample.build.properties for properties you might want to set | #Wed Dec 12 11:30:23 CST 2007 | qualifier=.CR1 | mavenized=false View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113835#4113835 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113835 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: HTTP Status 404 - /registration/
build/sample.build.properties # Use this properties file to set system specific properties | # -- | # | # Location of JBoss AS and Tomcat | # --- | #jboss.home /Applications/jboss-4.2.1.GA # Default | #tomcat.home /Applications/apache-tomcat-6.0 # Default | #jboss.home C:\\jboss-4.2.1.GA | #tomcat.home C:\\Tomcat-6.0 | # | # Misc Settings | # - | # Enabled validation of example XML descriptors | #validate.xml true | # Directory in which to put build distribution, defaults to ../jboss-seam-${version}.${patchlevel} | #dist.dir ../jboss-seam-dist | # alphanumeric qualifier for the version number | #qualifier -SNAPSHOT | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113837#4113837 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113837 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Messaging 1.3 Clustering question
Same for me with Messaging 1.4 and AS 4.2.2.GA Again, I presume I'm missing something ... Took an out-of-the-box configuration, using a combination of the ejb3mdb and cluster examples - deploying the MDB to both nodes and changing the client to send lots of messages (1+) results in all messages appearing on one (either) node, and failover not working. Anyone got a simple load-balance test configuration which works please? Thanks tim View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113838#4113838 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113838 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: HTTP Status 404 - /registration/
Here's whats going on. In the readme.txt: anonymous wrote : 2. Edit the build.properties file and change jboss.home to your |JBoss AS installation directory The default jboss.home property is set to /Applications/... and needs to be overwritten using the build.properties file. Try setting it there as the readme.txt instructions and it should work. regards, Jay View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113840#4113840 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113840 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam EJB not binding
Hi, I'm new to Seam and i'm running into a problem. I've created a Seam project using seam gen (eclipse plugin), and created a new Action called TestAction which implements an interface called test. Here is my Test Action class: @Stateless | @Name(test) | @Interceptors(SeamInterceptor.class) | public class TestAction implements Test | { | | @Logger private Log log; | | @In FacesMessages facesMessages; | | @PersistenceContext | private EntityManager em; | | public void test() | { | //implement your business logic here | log.info(Test.test() action called); | | List resellerList = em.createQuery(from Reseller).getResultList(); | | facesMessages.add(test + + resellerList.size()); | } | |//add additional action methods | | } When I try to execute test() in a JSF I keep getting the following exceptions: Caused by javax.servlet.ServletException with message: Could not instantiate Seam component: test Caused by javax.naming.NameNotFoundException with message: Test not bound Anyone have any ideas what I can be doing wrong? Thanks, Felix View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113843#4113843 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113843 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: HTTP Status 404 - /registration/
stupid me. jboss.home was supposed to be set in build.properties and i did it in build.xml Neways..its working now thanks a lot for your help. I am really thankful to you jay -Vikram View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113845#4113845 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113845 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - JBoss Portal with NTLM
Hi there, is there a good tutorial out there for using JBoss Portal with NTLM? What I want to do is login to a Windows Client and use this this authentication to skip the JBoss Portal login page. Thanks! greetings View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113846#4113846 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113846 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: HTTP 404 not using localhost
Read the readme.html file, first bullet under JBossAS 4.2.0.GA in the Configuration Issues section. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113848#4113848 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113848 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Messaging 1.3 Clustering question
The examples directory contains examples of distributed queue, topic and failover View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113852#4113852 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113852 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: 2.0.1.CR1 - Testing w/o Hibernate
oops, my bad, fixed in cvs. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113859#4113859 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113859 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - DB2: Communication link failure
Hi: I am getting the following error when trying to run a query against a DB2 table. Below is the system configuration: JBoss 4.0.3.SP1 OS: Linux Db2: version 8.0 Error message: CLI0108E Communication link failure. QLSTATE=40003 If JBoss is restarted when this message occurs, this doesn't happen anymore. The data source configuration is below: jndi-nameiraTxDataSource/jndi-name connection-urljdbc:db2:db2ntcp/connection-url driver-classCOM.ibm.db2.jdbc.app.DB2Driver/driver-class user-nametest/user-name test min-pool-size5/min-pool-size max-pool-size70/max-pool-size track-statementstrue/track-statements idle-timeout-minutes4/idle-timeout-minutes type-mappingDB2/type-mapping /local-tx-datasource Thanx [EMAIL PROTECTED] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113857#4113857 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113857 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Call an ejb from Servlet in different application
Anyone out there, Hello. Anyway, here is my latest progress, I have added the lookup code and the exception that I am now getting. The exception is encountered at obj = ctx.lookup(ejb/UserAdmin/UserBean); Is this a classloading issue? Thanks in advance, hopefully someone has a clue as to what this problem is. Bob Lookup code InitialContext ctx = new InitialContext(); Object obj = null; try { obj = ctx.lookup(ejb/UserAdmin/UserBean); } catch (Exception e) { logger.log(Level.ERROR, e.getMessage(), e); } } UserBeanHome home = (UserBeanHome)obj; UserBean remote = (UserBean) home.create(); Exception java.lang.ClassCastException: org.jboss.util.id.GUID cannot be cast to org.jboss .util.id.GUID at org.jboss.invocation.InvokerInterceptor.readExternal(InvokerInterceptor.java:358) at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1751) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at org.jboss.proxy.Interceptor.readExternal(Interceptor.java:80) at org.jboss.proxy.ejb.RetryInterceptor.readExternal(RetryInterceptor.java:291) at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1751) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at org.jboss.proxy.Interceptor.readExternal(Interceptor.java:80) at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1751) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at org.jboss.proxy.Interceptor.readExternal(Interceptor.java:80) at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1751) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at org.jboss.proxy.Interceptor.readExternal(Interceptor.java:80) at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1751) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at org.jboss.proxy.ClientContainer.readExternal(ClientContainer.java:156) at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1751) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113860#4113860 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113860 ___ 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
Regarding the contents of the war archive (whther file or directory), here is where my confusion comes in. This is your illustration: deploy | +myapp.war | +conf | +config.properties | +WEB-INF This tells me that there are two entities in the deploy directory: myapp.war and WEB-INF. Then in myapp.war there is a directory named conf. In other words, the WEB-INF directory is not located in the war archive but is outside of it. I am sure that is not what you meant, but whereas in this case I can assume you really meant that WEB-INF is within myapp.war (at least I hope you meant that), in other cases I have to take your word for the layout, and in many cases the layout has me confused because it cannot be correct. Put it another way. Here are the contents of the war I am using to duplicate this problem, as produced by the jar utility: $ jar -tf webapp.war WEB-INF/ WEB-INF/classes/ WEB-INF/classes/peter/ index.jsp WEB-INF/classes/config.properties WEB-INF/classes/peter/TheServlet.class WEB-INF/web.xml I would illustrate this as follows: webapp.war | + index.jsp | + WEB-INF |+ classes | + config.properties | + peter | + TheServlet.class or alternatively as: Contents of myapp.war: index.jsp | WEB-INF/classes/config.properties | WEB-INF/classes/peter/TheServlet.class The code that you posted, can I assume that the code is located within the class ProjectRootClass, and that the class is not a servlet? Also, this code does not access the properties file. How is the properties file accessed? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113863#4113863 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113863 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: What is the timeline for 2.0.1?
cpopetz wrote : Thanks for the information on the timeline. I'm running with the latest nightly snapshot, which allows me to continue load testing, though I'm reluctant to deploy to production with it. We are also waiting on the release of JBoss AS 5.0.0.BETA3 before releasing the next GA of Seam. I hope we can do a release early in the new year. In the meantime, I think CVS is pretty stable atm with no big changes planned before the next release. anonymous wrote : With regard to the mailing list, I'm not so much looking for development discussions. What I'm interested in is an announcements list for critical issues (security, crashing bugs, bugs that effect the entire framework, etc.) I think that discovering that seam isn't thread safe is a pretty big deal, and the only way I found out was by stumbling upon the JIRA issue for the above-mentioned bug. If I had already deployed seam to production, I'd need to know that bug exists as soon as possible, so that I could roll back. I can filter through seam-issues, but I might miss it, or not recognize the ramifications of a bug as well as someone versed in the code. | | If I buy Jboss support, does something like that exist? If the above-mentioned bug had been found in a released (not GA) version of seam, would someone at jboss have made a more concerted effort to get the word out, e.g. a sticky forum post? There is no such facility for the community, I will check whether there is for customers. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113862#4113862 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113862 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Strange behaviour when replacing nodes catched
Hi! I'm testing the cache service I'm using in my application based on JBoss Cache and I have a strange problem. I have selected LRU replacemente polityc, and I've created the following test. I set a maximum number of nodes in cache, I fill them with data, then I read every one except one, then I insert one element more. Then the least frequently used (the one wich I didn't read) should be replaced with the new one inserted. Well, that not happens. In fact, when I try to retrieve the node that not should be in cache (because it was replaced), it is in cache. But if I start a debug session in Eclipse then the test ends correctly with the replaced node not found in cache. What's happening with these? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113865#4113865 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113865 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [J2EE Design Patterns] - Re: Spawning threads in server process
I have a similar request, and this thread seems to have died. I have started threads from a servlet and it works well (using a global maps and the rule one per user, one per task). My problem is how to manage the security aspect, and Scotts answer really answer that (nice to see there is a pool of threads - but how do you use it)? I have noticed that if the request is terminated the thread keeps running but the security environment has vanished. Ideally, I would like to spawn a servlet as a new independent background request within the same session. Is there a way to do this. Essentially TOMCAT is setting up the environment when a thread is started (Thread pool?) and this environment will change when TOMCAT moves on to something else. If I am just using unsecured reads I don't have a problem, but I am not keen of having database updates labelled nobody. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113864#4113864 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113864 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Server.log and large tables
thank you to all @peter.hilton I don't have a category with name org.jboss.seam (use jboss-4.2.2.GA) @Bernix I have changed the config in the way you pointed and it's ok now View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113866#4113866 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113866 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Setting up multiple instances of JBoss in different mach
HI shoeb, Thanks for your reply. Let me briefly explain you, what I did . I am using windows XP , and JBoss 4.2.1. (1) I changed DefaultPartition to TestPartition at all\deploy\cluster-service.xml | server | |!-- -- |!-- Cluster Partition: defines cluster -- |!-- -- | |mbean code=org.jboss.ha.framework.server.ClusterPartition | name=jboss:service=${jboss.partition.name:TestPartition} | | !-- Name of the partition being built -- | attribute name=PartitionName${jboss.partition.name:TestPartition}/attribute | (2) Even though I am NOT using SFSB (Stateful Session Bean) . I modified the below code at cluster-service.xml for SFSB changed DefaultPartition to TestPartition | | !-- -- |!-- HA Session State Service for SFSB -- |!-- -- | |mbean code=org.jboss.ha.hasessionstate.server.HASessionStateService | name=jboss:service=HASessionState | dependsjboss:service=Naming/depends | !-- We now inject the partition into the HAJNDI service instead |of requiring that the partition name be passed -- | depends optional-attribute-name=ClusterPartition | proxy-type=attributejboss:service=${jboss.partition.name:TestPartition}/depends | !-- JNDI name under which the service is bound -- | attribute name=JndiName/HASessionState/Default/attribute | !-- Max delay before cleaning unreclaimed state. |Defaults to 30*60*1000 = 30 minutes -- | attribute name=BeanCleaningDelay0/attribute |/mbean | | (3)I modified the HA-JNDI also at cluster-service.xml changed DefaultPartition to TestPartition | !-- -- |!-- HA JNDI -- |!-- -- | |mbean code=org.jboss.ha.jndi.HANamingService | name=jboss:service=HAJNDI | !-- We now inject the partition into the HAJNDI service instead |of requiring that the partition name be passed -- | depends optional-attribute-name=ClusterPartition | proxy-type=attributejboss:service=${jboss.partition.name:TestPartition}/depends | !-- Bind address of bootstrap and HA-JNDI RMI endpoints -- | attribute name=BindAddress${jboss.bind.address}/attribute | !-- Port on which the HA-JNDI stub is made available -- | (4) I modified at the HA-Invokers changed DefaultPartition to TestPartition | !-- -- |!-- HA Invokers -- |!-- -- | |mbean code=org.jboss.invocation.unified.server.UnifiedInvokerHA | name=jboss:service=invoker,type=unifiedha | dependsjboss:service=TransactionManager/depends | depends optional-attribute-name=Connector | proxy-type=attributejboss.remoting:service=Connector,transport=socket/depends | dependsjboss:service=${jboss.partition.name:TestPartition}/depends |/mbean | (5) I changed at Distributed cache invalidation | !-- -- |!-- Distributed cache invalidation -- |!-- -- | |mbean code=org.jboss.cache.invalidation.bridges.JGCacheInvalidationBridge | name=jboss.cache:service=InvalidationBridge,type=JavaGroups | !-- We now inject the partition into the HAJNDI service instead |of requiring that the partition name be passed -- | depends optional-attribute-name=ClusterPartition | proxy-type=attributejboss:service=${jboss.partition.name:TestPartition}/depends | dependsjboss.cache:service=InvalidationManager/depends | attribute name=InvalidationManagerjboss.cache:service=InvalidationManager/attribute | attribute name=BridgeNameDefaultJGBridge/attribute |/mbean | in all the above places I changed the name of the partition name. I changed from DefaultPartition to TestPartition, thats it. Other than that I haven't changed any thing. (6) I changed another file called farm-service.xml which is at I changed all\deploy\deploy.last\farm-service.xml | !--
[jboss-user] [JBoss Seam] - Update transactions occurring prematurely in Seam app
This may be a EntityManager flush issue but not sure... I have the following xhtml for a Seam2.0.0.GA web app backed by 2 SFSB's (one conversation scoped and the other session scoped). The problem is when user clicks 'yes' for any radio button in any row of the form/dataTable, an update transaction is persisted to the database for that row/column. The update should only happen when user clicks submit in one of the rich:modalPanel forms. I've ran this test case thru the debugger several times and the submit method is not being called. I'm thinking the EntityManager/PersistenceContext is being automatically flushed somehow but not sure if or when this is happening. I did remove the a4j:support tag for one of the columns and moved the js function call to onclick event handler. The table did not get updated like before. So somehow the a4j:support is causing this to happen I think... Any hints? thx. h:form id=mainForm | | h:outputText value=No Direct Reports rendered=#{myAuditList != null and myAuditList.rowCount==0}/ | h:dataTable id=dataTable1 value=#{myAuditList} var=myRow rendered=#{myAuditList != null and myAuditList.rowCount 0} | styleClass=dataTable rowClasses=oddRow, evenRow frame=hsides | h:column | f:facet name=headerStatus/f:facet | | h:graphicImage id=statusImage value=#{securityAuditAction.processGraphicImage(myRow[1].auditProgress)}/ | /h:column | h:column | f:facet name=headerEmployee Name/f:facet | | !-- siteId and employeeNumber hidden fields are used for all radio buttons -- | h:outputText id=employeeName value=#{myRow[0].id.employeeName}/ | h:inputHidden id=employeeNameHidden value=#{myRow[0].id.employeeName}/ | h:inputHidden id=siteId value=#{myRow[0].id.siteId}/ | h:inputHidden id=employeeNumber value=#{myRow[0].id.employeeNumber}/ | /h:column | | h:column | f:facet name=headerSiteId/f:facet | | h:outputText value=#{myRow[0].id.siteId}/ | /h:column | | h:column | f:facet name=headerEmployeeNumber/f:facet | | h:outputText value=#{myRow[0].id.employeeNumber}/ | /h:column | | h:column | f:facet name=headerAdjustment Limit/f:facet | | h:outputText value=#{myRow[0].id.employeeNumber}/ | /h:column | | | h:column | f:facet name=headerAccount Approved?/f:facet | | h:panelGrid columns=2 | h:selectOneRadio id=accountApprovedRB value=#{myRow[1].icomsAccountApproved} | | a4j:support event=onclick | oncomplete=processNote(#{myAuditList.getRowIndex()}, 'accountApproved') | action=#{noteAction.setCurrentData(myAuditList.getRowIndex(), 'accountApproved',
[jboss-user] [JBossWS] - Cannot rename web.xml - how to apply the patch?
Hi I get the deployment-error of this issue: http://jira.jboss.com/jira/browse/JBWS-1940?page=all And I do not exactly know how to apply the files: http://repository.jboss.com/jboss/jbossws-jboss40/4.0.5.SP1/ to my jboss-4.0.5ga-installation. Can you provide a step-by-step description? Thank you View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113873#4113873 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113873 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam sources - html tags
Hello, I just downloaded the 2.0.1CR1 and it work for me. Here's an example of a link: | s:link view=/view/feed.xhtml value=#{feed.title} propagation=none | f:param name=name value=#{feed.name}/ | /s:link | and a rule for it: | outbound-rule | from^/blog/view/feed.seam\?(cid=\d+)?(from=\d+)name=([a-z0-9_]+)(.*)$/from |to/blog/view/$3?$1$2$4/to | /outbound-rule | (note that you have to include the context path in the outbound-rule for some reason). -- Adam View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113871#4113871 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113871 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - EL changes according to JSF 1.2
Hi, since the JBoss Tools 2 are available we decided to upgrade our Seam 1.2.1 based application to Seam 2.0. I had and still have to fiddle with JBossTools to deploy my app, but this is another problem. I made all the changes described in seam2migration.txt regarding the configuration files. Now I'm stuck on the coding part. With JSF 1.2 the EL is changed and the class MethodBinding was replaced by MethodExpression. I use a menu provided by ICEfaces for the navigation in my app. Since I have normal links that return navigation strings AND menu items that should invoke a method I wrote sth like this: if(link.charAt(0) == '#' facesContext != null) { | menuItem.setAction(new ActionParamMethodBinding(facesContext.getApplication(), link)); | } else { | menuItem.setAction(new ActionMethodBinding(link)); | } All links that had to invoke a method have a preceding '#'. if this is the case the action of this link is an object of the Seam class ActionParamMethodBinding. But as you can guess this class is gone. How can I implement the behaviour I had with the new versions of Seam and JSF? BTW: Is there any document where one can see how to create a Seam Dynamic Web Project with Eclipse, which jars have to be included and how to deploy and test it? And how to configure Seam 2.0 with ICEfaces 1.6.2? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113875#4113875 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113875 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Cant build Seam from the CR1 download.
Please report this in JIRA. I will try to test when I can get access to a windows machine. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113874#4113874 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113874 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: What is the timeline for 2.0.1?
How is JBoss AS 5.0.0.BETA3 related to the next GA release of Seam? Will it take advantage of some new features in 5.0? I would like to switch to JBoss 5.0. Have you hear of an expected release date for JBAS 5.0.GA? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113876#4113876 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113876 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Couple of basic questions to help understand Seam
dustismo wrote : Maybe this is just a typo on your part, but your page action will not work as written.. should be: | | | | page view-id=/firstpage.xhtml action=#{actionComponent.begin} | | descriptionCreate new Itemdescription | | . | | And that was the reason, thank! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113882#4113882 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113882 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: TimeZoneSelector discussion/enhancements
Please create two jira issues, one for each feature request. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113884#4113884 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113884 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Using custom protocol handler class (URLStreamHandlerFactory
As far i understand I can not have more than one instance of a class implementing URLStreamHandlerFactory per Jboss JVM. Is there any way i can invoke/register this class at startup time. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113885#4113885 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113885 ___ 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'm having the same issue and tried the proposed solution. This works fine on Windows XP. However, I can't get it to run on Windows Vista. I tried using -b 0.0.0.0 but the only way to contact any web pages deployed on JBoss is to use localhost. Does anyone know if there is a way to get -b 0.0.0.0 to work on Vista? Thank you in advance for your help, Matthieu View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113888#4113888 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113888 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Instances of JBoss in different machines
Hi all, I would like to set up multiple instances of JBoss in different machines. I mean to say, I want to creat 1 node in my machine, and another node (say node2) in another machine, and want to pull them into cluster. Please help me out any link or any steps to do that. I didn't find information regarding this in http://www.jboss.org/wiki/Wiki.jsp?page=JBossHA;. Let me briefly explain you, what I did . I am using windows XP , and JBoss 4.2.1. (1) I changed DefaultPartition to TestPartition at all\deploy\cluster-service.xml | | server | |!-- -- |!-- Cluster Partition: defines cluster -- |!-- -- | |mbean code=org.jboss.ha.framework.server.ClusterPartition | name=jboss:service=${jboss.partition.name:TestPartition} | | !-- Name of the partition being built -- | attribute name=PartitionName${jboss.partition.name:TestPartition}/attribute | | | (2) Even though I am NOT using SFSB (Stateful Session Bean) . I modified the below code at cluster-service.xml for SFSB changed DefaultPartition to TestPartition | | | !-- -- |!-- HA Session State Service for SFSB -- |!-- -- | |mbean code=org.jboss.ha.hasessionstate.server.HASessionStateService | name=jboss:service=HASessionState | dependsjboss:service=Naming/depends | !-- We now inject the partition into the HAJNDI service instead |of requiring that the partition name be passed -- | depends optional-attribute-name=ClusterPartition | proxy-type=attributejboss:service=${jboss.partition.name:TestPartition}/depends | !-- JNDI name under which the service is bound -- | attribute name=JndiName/HASessionState/Default/attribute | !-- Max delay before cleaning unreclaimed state. |Defaults to 30*60*1000 = 30 minutes -- | attribute name=BeanCleaningDelay0/attribute |/mbean | | (3)I modified the HA-JNDI also at cluster-service.xml changed DefaultPartition to TestPartition | | !-- -- |!-- HA JNDI -- |!-- -- | |mbean code=org.jboss.ha.jndi.HANamingService | name=jboss:service=HAJNDI | !-- We now inject the partition into the HAJNDI service instead |of requiring that the partition name be passed -- | depends optional-attribute-name=ClusterPartition | proxy-type=attributejboss:service=${jboss.partition.name:TestPartition}/depends | !-- Bind address of bootstrap and HA-JNDI RMI endpoints -- | attribute name=BindAddress${jboss.bind.address}/attribute | !-- Port on which the HA-JNDI stub is made available -- | | | (4) I modified at the HA-Invokers changed DefaultPartition to TestPartition | | !-- -- |!-- HA Invokers -- |!-- -- | |mbean code=org.jboss.invocation.unified.server.UnifiedInvokerHA | name=jboss:service=invoker,type=unifiedha | dependsjboss:service=TransactionManager/depends | depends optional-attribute-name=Connector | proxy-type=attributejboss.remoting:service=Connector,transport=socket/depends | dependsjboss:service=${jboss.partition.name:TestPartition}/depends |/mbean | | | (5) I changed at Distributed cache invalidation | | !-- -- |!-- Distributed cache invalidation -- |!-- -- | |mbean code=org.jboss.cache.invalidation.bridges.JGCacheInvalidationBridge | name=jboss.cache:service=InvalidationBridge,type=JavaGroups | !-- We now inject the partition into the HAJNDI service instead |of requiring that the partition name be passed -- | depends optional-attribute-name=ClusterPartition | proxy-type=attributejboss:service=${jboss.partition.name:TestPartition}/depends | dependsjboss.cache:service=InvalidationManager/depends | attribute name=InvalidationManagerjboss.cache:service=InvalidationManager/attribute | attribute
[jboss-user] [Beginners Corner] - Re: How can I slim JBoss4.2.2 conforming to J2EE ?
Ok,thanks for jaikiran,nice to meet you.It's good for me. JBoss support EJB inherently,cann't disable EJB is understood. Remove some unused services and make JBoss efficiently is ok. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113891#4113891 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113891 ___ 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
Have you checked the firewall settings? Are you running with UAC on or off? What is the output from netstat (or tcpview) when you run with and without -b 0.0.0.0? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113893#4113893 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113893 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Validation Failed exception
You are attempting to merge an invalid entity as specified by the hibernate validator annotations View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113896#4113896 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113896 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: SelectItems and cache
It does? I can't see one... There is no support for caching created s:selectItems lists. If you want it, file a feature request. Following a recent conversation with Gavin I figured out how to make it work nicely. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113897#4113897 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113897 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Dependency Injection in Domain Model / Seam / Hibernate / Gu
I have a fairly standard architecture for my application. I'm using SFSB/SLSB Seam components with IN/OUT injection. These methods call the EntityManager (e.g., find()) to interact with the database. | @Name(seam.editor) | @Stateful | public class SeamEditor implements ISeamEditor{ |@In EntityManager em; | |@Out DomainModelObject dmo; |public String executeAction(){ | dmo = em.find(DomainModelObject.class, new Long(9)); | dmo.performSomeAction(); |} | } | Deep in the object graph returned by the the EntityManager, a domain model object sometimes needs to call a service to obtain another resource. Right now, these services are static method calls. | @Entity | public class DeepDomainObject{ | |private long id; | |public String calculateSomething(){ | ..snip... | | String resut = DAService.getSomeInformationFromAnotherService(); | | ..snip... |} | | } | The domain object is created by the EntityManager (using Jboss 4.0.x) via lazy loading using (or eager fetching). So there isn't any DI injection from Seam of the EJB (3) container. And I'm pretty sure I don't want it to come from the container as we want to run unit tests outside the container (which will not hit the db). We've now run into the unit testing issue that we want to mock out the static method call. We're exploring different options (Factory creation) and different DI mechanisms. What have others done? Does anyone have experience with Guice in this type of situation? Thanks in advance, Chris View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113898#4113898 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113898 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam PDF and Chart component
Yes, please look at the example app for HTML usage. The original use case of the tags was to generate charts for PDF reports. The HTML support came later, but unfortunately the tags share a lot of code with the PDF versions. I'd love to detangle them some day. :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113899#4113899 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113899 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - implementing SMPC questions
So I'm trying to replace the EntityManager that is injected into my SFSB via @PersistenceContext with a SMPC (Seam Managed Persistence Context) as follows: import org.jboss.seam.annotations.In; | import javax.persistence.EntityManager; | | @In(create=true) | EntityManager em; //a Seam-managed persistence context 1) I'm still getting @In attribute requires non-null value: securityAuditAction.em when I run my test case even after adding the create=true element setting in the @In attribute. How can I fix that? 2) The previous code was as follows: @PersistenceContext(unitName=boIcomsSecurityAudit, type=PersistenceContextType.EXTENDED) | private EntityManager em; Note that I have multiple persistence units in my persistence.xml as well as multiple datasources in my *-ds.xml. How will the SMPC know which datasource or persistence unit to use? The optional elements for @In are required, create, scope, value. 3) The reason I'm converting to SMPC to begin with is due to the premature update that was happening in my use case (still don't know exactly where/why but think it may be flushMode=auto [default] related). I read section 8.3.3 of the Seam and O/R mapping section of the docs and it sounds like this SMPC strategy will fix my problem (i.e. manual flush at end of conversation only). 4) is the SMPC similar to JPA EXTENDED persistence context type in that the JPA entities are not released (unmanaged) from the PC? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113900#4113900 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113900 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Messaging 1.3 Clustering question
Yes, but the distributed queue example opens 2 connections (which are given out round-robin as expected) and sends a single message on one and receives it on the other. This may be a distributed queue, but doesn't show load balancing. What I am trying to do is send 20 (or, for testing, 100) onto a single queue and have the clustered machines service these (via MDB's) using a load-balancer. I am happy with a round-robin for now :-) I believe this is a valid use case! Is this possible? I assumed it was ... MQ would service the messages round-robin, and JBM is supposed to be better! Are there any examples of such a configuration around? I can only get one of the machines to service the messages - which one depends on the ClusteredConnectionFactory of course. Thanks tim View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113902#4113902 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113902 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: What is the timeline for 2.0.1?
supernovasoftware.com wrote : How is JBoss AS 5.0.0.BETA3 related to the next GA release of Seam? Will it take advantage of some new features in 5.0? Embedded JBoss is based on JBoss AS 5, we want the next release of Seam to include Embedded JBoss BETA3, which will be released shortly after the AS 5.0.0.BETA3 release. Hence that requirement. anonymous wrote : I would like to switch to JBoss 5.0. Have you hear of an expected release date for JBAS 5.0.GA? No, sorry. I'm not sure about this, you would have to ask on a JBoss AS message board. It's not ready for running Seam apps in production yet though. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113901#4113901 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113901 ___ 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.0.0GA + Maven2 doesn`t work...
You should be able to use cargo for this, unfortunately it doesn't support JBoss 4.2 yet. So yes, some embedded ant script is probably best. Not sure about the -ds.xml file (I'm sure maven can do this though). Maybe ask on the maven users list. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113903#4113903 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113903 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: What is the timeline for 2.0.1?
Thanks for the reply. I won't be switching until it is recommend for Seam apps or at least approved. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113905#4113905 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113905 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Back button questions
The back button just hits the browsers cache, not the server. So you can't do this server side (perhaps you can with javascript and checking to see if the session is active with Seam remoting?). Something similar http://in.relation.to/Bloggers/ImplementingGracefulSessionTimeoutWithSeamJSFAndJQuery View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113906#4113906 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113906 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2 + JBoss Portal 2.6 portlets
Wesley and Alex are still working on this (in other words its not ready yet). We'll put an announcement on in.relation.to when we have this working. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113904#4113904 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113904 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Messaging 1.3 Clustering question
If you have a distributed queue with an MDB consuming from that queue - one on each node, and send messages to that queue on a particular node, then the local consumer (i.e. the local MDB) will always get the messages by preference. This makes sense, since there's no point sending the messages to different nodes if the local consumer can cope with them happily - this would just be unnecessary network traffic. Consumers on other nodes will consume the messages only if the local consumer either doesn't exist, or is busy. What does busy mean? Each consumer maintains a local buffer of messages (default size 150) from which it consumes. Once that buffer is full, the consumer is busy. For a fast consumer, the buffer would never get full so it would never be busy. You can alter this value (see prefetchSize in the doco). Also make sure you're using 1.4.0.SP3 and JBoss Remoting 2.2.2.SP4 Hope that clears things up. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113909#4113909 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113909 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Does JBossPortal support mix of JSF/MyFaces/Facelets with JS
Hi all, as in the subject: does JBoss Portal (2.6.2) support mix of JSF/MyFaces/Facelets with JSPXs as templating files? I am trying to deploy application built with such mix (it was developed in Tomcat-based environment) as a portlet in JBoss Portal. I've added necessary descriptors (porlet, instance, object) and inserted portlet into server/default/deploy folder. In portal administration panel it appeared properly and I've added instance of this new portlet to a page. Unfortunately I'm getting only empty portlet box with title and nothing inside... What's worse - there is NOTHING in logs - no errors, no warnings even. So I'm clueless and helpless here... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113910#4113910 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113910 ___ 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?
File a feature request in jira View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113908#4113908 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113908 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: implementing SMPC questions
When you use the following flushMode element: @Begin(flushMode=FlushModeType.MANUAL) must you use SMPC or can you use JPA Extended PersistenceContext as follows? @PersistenceContext(unitName=boIcomsSecurityAudit, type=PersistenceContextType.EXTENDED) | private EntityManager em; View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113911#4113911 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113911 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Jboss Seam Eclipse Plugin
Hi All, I am very new to Jboss and Seam. Can any one tell me how to use eclipse for developing seam jboss application? I have seam example applications running but i cant change it on eclipse. Where can I download eclipse plugin for seam application? i am using eclipse-3.1-4, jboss4.2.0,seam2.0 on suse 10.0 (Linux). Any help would appreciated. Thanks, Vikram View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113913#4113913 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113913 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - identifier 'authenticator' resolved to null
Hello all, I am trying to migrate my apps to Seam 2.0GA. Somehow, I am running into an exception where Seam could not look up my authenticator. So I created a new project with plain pages. I run into the same problem. Please help! Here is the exception in the log anonymous wrote : 10:28:51,875 INFO [EARDeployer] Started J2EE application: file:/D:/JudoFS/server/jboss-4.2.1.GA/server/default/deploy/marketdesk_wui.ear/ | 10:28:51,953 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080 | 10:28:51,984 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009 | 10:28:52,250 INFO [Server] JBoss (MX MicroKernel) [4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)] Started in 35s:266ms | 10:29:57,046 INFO [Contexts] starting up: org.jboss.seam.security.identity | 10:29:57,781 INFO [RuleBase] parsing rules: /security.drl | 10:29:58,078 INFO [Contexts] starting up: org.jboss.seam.web.session | 10:29:58,671 ERROR [STDERR] Dec 18, 2007 10:29:58 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/D:/JudoFS/server/jboss-4.2.1.GA/server/default/deploy/marketdesk_wui.ear/marketdesk_wui.war/WEB-INF/lib/jboss-seam-mail.jar!/META-INF/seam-mail.taglib.xml | 10:29:58,687 ERROR [STDERR] Dec 18, 2007 10:29:58 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/D:/JudoFS/server/jboss-4.2.1.GA/server/default/deploy/marketdesk_wui.ear/marketdesk_wui.war/WEB-INF/lib/jboss-seam-pdf.jar!/META-INF/seam-pdf.taglib.xml | 10:29:58,703 ERROR [STDERR] Dec 18, 2007 10:29:58 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/D:/JudoFS/server/jboss-4.2.1.GA/server/default/deploy/marketdesk_wui.ear/marketdesk_wui.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/s.taglib.xml | 10:29:58,734 ERROR [STDERR] Dec 18, 2007 10:29:58 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/D:/JudoFS/server/jboss-4.2.1.GA/server/default/deploy/marketdesk_wui.ear/marketdesk_wui.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml | 10:29:58,750 ERROR [STDERR] Dec 18, 2007 10:29:58 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/D:/JudoFS/server/jboss-4.2.1.GA/server/default/deploy/marketdesk_wui.ear/marketdesk_wui.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml | 10:29:58,765 ERROR [STDERR] Dec 18, 2007 10:29:58 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/D:/JudoFS/server/jboss-4.2.1.GA/server/default/deploy/marketdesk_wui.ear/marketdesk_wui.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml | 10:29:58,781 ERROR [STDERR] Dec 18, 2007 10:29:58 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/D:/JudoFS/server/jboss-4.2.1.GA/server/default/deploy/marketdesk_wui.ear/marketdesk_wui.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml | 10:29:58,828 ERROR [STDERR] Dec 18, 2007 10:29:58 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/D:/JudoFS/server/jboss-4.2.1.GA/server/default/deploy/marketdesk_wui.ear/marketdesk_wui.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml | 10:29:58,859 ERROR [STDERR] Dec 18, 2007 10:29:58 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/D:/JudoFS/server/jboss-4.2.1.GA/server/default/deploy/marketdesk_wui.ear/marketdesk_wui.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/a4j.taglib.xml | 10:29:58,875 ERROR [STDERR] Dec 18, 2007 10:29:58 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/D:/JudoFS/server/jboss-4.2.1.GA/server/default/deploy/marketdesk_wui.ear/marketdesk_wui.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/ajax4jsf.taglib.xml | 10:29:58,906 ERROR [STDERR] Dec 18, 2007 10:29:58 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/D:/JudoFS/server/jboss-4.2.1.GA/server/default/deploy/marketdesk_wui.ear/marketdesk_wui.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/rich.taglib.xml | 10:29:58,937 ERROR [STDERR] Dec 18, 2007 10:29:58 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/D:/JudoFS/server/jboss-4.2.1.GA/server/default/deploy/marketdesk_wui.ear/marketdesk_wui.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/richfaces.taglib.xml | 10:32:07,187 ERROR [SeamLoginModule] Error invoking login method | javax.el.PropertyNotFoundException: Target Unreachable, identifier 'authenticator' resolved to null | at org.jboss.el.parser.AstValue.getTarget(AstValue.java:38) | at org.jboss.el.parser.AstValue.invoke(AstValue.java:95) | at
[jboss-user] [JBoss Seam] - Thank you for in.relation.to / RichFacesPleaseWaitBox concur
I find the blogs on in.relation.to to be most helpful. I just read http://in.relation.to/Bloggers/ImplementingGracefulSessionTimeoutWithSeamJSFAndJQuery By Christian. That it cool and I hope it will be integrated into Seam/A4J. I also like http://in.relation.to/Bloggers/StoringYourMessagesInADatabase By Pete. These are very common scenarios and would be great to have them tightly integrated. I have been trying to deal with another very common scenario recently. http://labs.jboss.com/wiki/RichFacesPleaseWaitBox Please see forum post for reference and current status. http://www.jboss.com/index.html?module=bbop=viewtopicp=4113110 My conversation keeps being ended due to concurrent access and other erratic behavior. I think... Any advice would be greatly appreciated. I think these 3 items should be included and easily configurable. Concurrent access problems seem to be my biggest hurdle in using Richfaces and Seam together. Please advise me on some reading material so I can understand this topic better. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113917#4113917 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113917 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: SelectItems and cache
I would definitely second this request. I will have to implement this in the not so distant future. Pete, if you blog with a tutorial on what you've done I would be much obliged :) I'm assuming you are planning to use JBoss Cache under the covers? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113923#4113923 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113923 ___ 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
Wait a minute, I think I understand now. What you posted is the code that gets the base directory, and the code that opens the properties file appends conf/config.properties top the base to get the file location. I added your code to my servlet, and here is the output (when all of my classes are in the WEB-INF/classes directory: 11:12:42,640 INFO [STDOUT] ProjectRootClass: Probe URL is vfsfile:/opt/jboss/jboss-5.0.0.Beta2/server/webapp/deploy/inear.ear/webapp.war/WEB-INF/classes/peter/ProjectRootClass.class 11:12:42,641 INFO [STDOUT] ProjectRootClass: The project root was detected at /opt/jboss/jboss-5.0.0.Beta2/server/webapp/deploy/inear.ear/webapp.war And then I packaged my classes in a jar file and placed it into WEB-INF/lib: 11:17:26,260 INFO [STDOUT] ProjectRootClass: Probe URL is jar:vfsfile:/opt/jboss/jboss-5.0.0.Beta2/server/webapp/deploy/inear.ear/webapp.war/WEB-INF/lib/stuff.jar!/peter/ProjectRootClass.class 11:17:26,260 INFO [STDOUT] ProjectRootClass: The project root was detected at /opt/jboss/jboss-5.0.0.Beta2/server/webapp/deploy/inear.ear/webapp.war In both cases the base location is webapp.war directory (both the ear and war are exploded). So it appears that if the ear and war are exploded that it should work (that is, the code should not be looking in the tmp or work files for the base. So some more questions - where did the code you posted come from? I hope it did not come from a JSP! If it did, you might have to precompile the JSP and package it in the jar file, or put it in the classes directory. If the code is not from a JSP, then I need to see the output from the code, and the code that opens the properties file. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113924#4113924 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113924 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: question about components and persistence
anonymous wrote : At first it would seem to the neophyte like me a more natural way to keep the object itself and perhaps merge it at the beginning of each conversation. Thats a valid alternative approach, but doesn't work so nicely with EntityHome. anonymous wrote : (issue aside I wonder if there is a way to differentiate between a managed entity and one that is not, to avoid the exception thrown when trying to merge an already managed entity) entityManager.contains(entity); anonymous wrote : Rephrasing, when is more appropriate to merge and entity instead of reloading it? Both are semantically equivalent in this case AFAICS. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113926#4113926 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113926 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Update transactions occurring prematurely in Seam app
here's the server.log output: 2007-12-18 11:08:28,146 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.events | 2007-12-18 11:08:28,146 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.afterPhase | 2007-12-18 11:08:28,146 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2007-12-18 11:08:28,146 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2007-12-18 11:08:28,146 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] committing transaction after phase: INVOKE_APPLICATION 5 | 2007-12-18 11:08:28,146 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2007-12-18 11:08:28,146 DEBUG [org.jboss.seam.transaction.UTTransaction] committing JTA transaction | 2007-12-18 11:08:28,146 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.events | 2007-12-18 11:08:28,146 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.events | 2007-12-18 11:08:28,146 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.events | 2007-12-18 11:08:28,146 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.events | 2007-12-18 11:08:28,146 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.events | 2007-12-18 11:08:28,146 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.events | 2007-12-18 11:08:28,146 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.beforeTransactionCompletion | 2007-12-18 11:08:28,146 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] processing flush-time cascades | 2007-12-18 11:08:28,146 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] dirty checking collections | 2007-12-18 11:08:28,146 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] Flushed: 0 insertions, 1 updates, 0 deletions to 10 objects | 2007-12-18 11:08:28,146 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections | 2007-12-18 11:08:28,146 DEBUG [org.hibernate.pretty.Printer] listing entities: | 2007-12-18 11:08:28,161 DEBUG [org.hibernate.pretty.Printer] com.cox.beans.entity.GlobalEmployeeMaster{id=component[siteId,employeeNumber,userId,employeeName,addressLine1,addressLine2,addressLine3,searchName,socialSecurityNbr,homeTelephoneAreaCode,homeTelephoneExchange,homeTelephoneNumber,empBusinessAreaCode,empBusinessExchange,busPhoneNumber,empBusPhoneExtension,overridePct,commissionAmt,salesManagerCode,vehicleAssigned,unitsSoldWeek1,unitsSoldWeek2,unitsSoldWeek3,unitsSoldWeek4,lastWeekNumberPaid,ytdAnnuityCommsEarned,ytdBonusesEarned,aptUnitsSoldWeek1,aptUnitsSoldWeek2,aptUnitsSoldWeek3,aptUnitsSoldWeek4,resUnitsSoldWeek1,resUnitsSoldWeek2,resUnitsSoldWeek3,resUnitsSoldWeek4,employeeOutque,userSkillLevel,fsmEmployee,defaultSalesReason,employeeDispatchPool1,employeeDispatchPool2,employeeDispatchPool3,employeeDispatchPool4,employeeDispatchPool5,reportsTo,companyNumber,divisionNumber,franchiseNumber,employeeTypeCode]{employeeDispatchPool2= , salesManagerCode= , commissio! nAmt=0.0, empBusPhoneExtension= , addressLine2=TEMP EFF 12/10/07, aptUnitsSoldWeek2=0, reportsTo=74047, homeTelephoneExchange=0, employeeDispatchPool1= , homeTelephoneNumber=0, unitsSoldWeek2=0, vehicleAssigned=N, resUnitsSoldWeek3=0, busPhoneNumber=0, aptUnitsSoldWeek1=0, franchiseNumber=0, employeeNumber=74043, employeeDispatchPool3= , empBusinessAreaCode=0, employeeOutque=*DEFAULT, unitsSoldWeek4=0, addressLine3= , employeeDispatchPool4= , companyNumber=0, socialSecurityNbr=900066004, aptUnitsSoldWeek3=0, userSkillLevel=N, resUnitsSoldWeek2=0, overridePct=0.0, ytdBonusesEarned=0.0, searchName=GONZALEZ, userId=ORGJOGON, siteId=333, lastWeekNumberPaid=0, divisionNumber=0, aptUnitsSoldWeek4=0, employeeTypeCode=08, addressLine1=SOFTWARE DEVELOPER, unitsSoldWeek3=0, defaultSalesReason= , employeeDispatchPool5= , empBusinessExchange=0, resUnitsSoldWeek1=0, resUnitsSoldWeek4=0, employeeName=JONATHAN GONZALEZ, unitsSoldWeek1=0, fsmEmployee=N, homeTelephoneAreaCode=0, ytdAnnuityC! ommsEarned=0.0}} | 2007-12-18 11:08:28,161 DEBUG [org.hibernate.pretty.Printer] com.cox.beans.entity.TblSecurityAuditWorking{auditProgress=0, reportToId=900050881, auditYear=2007, securityLevelApproved=null, icomsAccountApproved=null, adjustmentLimitApproved=null, auditQuarter=4, id=component[siteId,employeeNumber]{siteId=333, employeeNumber=74055}} | 2007-12-18
[jboss-user] [JBoss Seam] - Re: Adding custom timeout action
That doesn't diffentiate between the session being expired, and the session being destroyed. Probably won't make it into 2.0.1 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113927#4113927 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113927 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Jboss Seam Eclipse Plugin
http://in.relation.to/Bloggers/JBossTools20GAGoesFinal View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113922#4113922 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113922 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: mixing javascript with JSF EL to call SFSB method
Hmm, I guess you can use a4j:actionParams for this. Post the modalPanel layout. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113931#4113931 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113931 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - CMS security not working
Hi, I am using AS 4.2.2 + portal 2.6.2. I try to configure the CMS Security. I have defined a role : myRole. And various users but I want to define CMS security only with roles. I have defined the following security on the following directories : For all directories, Administrators role has the manage permissions and it is the only one to get it. It has also the read and write permissions everywhere but other roles got them sometimes. / is readable by all the roles excepted Users and Anonymous. No more permissions on /. /MyTopDirectory is readable by all the roles excepted Users and Anonymous. No more permissions on /MyTopDirectory. /MyTopDirectory/TheUsableDirectory is readable and writable by myRole. No more permissions on /MyTopDirectory/TheManagerDirectory. I have also defined a new page with the AdminCMSPortlet to let MyRole users access it. But MyRole users does not see any directories in this portlet. Just the action menu and get access denied or various exceptions if trying to use it. But even a very simple example does not work : - do not give any permissions to Anonymous role on / directory and give it read permissions on default directory (no permissions are defined on index.html for any role or user) : Access is denied on the /default/index.html of the CMS portlet home page. If Anonymous role has read permissions on / directory, it works. So Any Permissions specified explicitly on the CMS Node overrides the policy inherited via recursive propagation as indicated in 14.2 chapter of portal reference guide is not working ? Yes, I know, I miss something. I have not found it in documentation or in portal user forum. Thanks a lot for some help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113935#4113935 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113935 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem with manual flush mode for managed persistence c
Does SMPC work with multiple datasources in the same app? If yes how would you configure the @In injection attribute similar to the @PersistenceContext JPA attribute which you can specify a persistenceUnit name? In the API for the Seam @In annotation there is no element similar to unitName... | @PersistenceContext(unitName=boIcomsSecurityAudit, type=PersistenceContextType.EXTENDED) | private EntityManager em; | | //@In(create=true) | //EntityManager em; //a Seam-managed persistence context I have xyz-ds.xml as below: datasources | |local-tx-datasource | jndi-nameboIcomsSecurityAuditDatasource/jndi-name | connection-urljdbc:sqlserver://CORG0DV01:1433;databaseName=boIcomsSecurityAudit/connection-url | driver-classcom.microsoft.sqlserver.jdbc.SQLServerDriver/driver-class | user-name_AppUser_JavaTestAcct/user-name | passwordJavaTestAcct/password |/local-tx-datasource | |local-tx-datasource | jndi-namecoxDSSDatasource/jndi-name | connection-urljdbc:sqlserver://CORG0DV01:1433;databaseName=coxDSS/connection-url | driver-classcom.microsoft.sqlserver.jdbc.SQLServerDriver/driver-class | user-name_AppUser_JavaTestAcct/user-name | passwordJavaTestAcct/password |/local-tx-datasource | |local-tx-datasource | jndi-namecoxIMDatasource/jndi-name | connection-urljdbc:sqlserver://CORG0DV01:1433;databaseName=coxIM/connection-url | driver-classcom.microsoft.sqlserver.jdbc.SQLServerDriver/driver-class | user-name_AppUser_JavaTestAcct/user-name | passwordJavaTestAcct/password |/local-tx-datasource | | /datasources View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113936#4113936 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113936 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - migration from jboss-4.0.5.GA to jboss-4.2.1.GA
Hello everybody, We have to migrate an application written with Seam 1.1.0.CR1 on jboss-4.0.5.GA ( at this time MyFaces was the built-in JSF implementation) to Seam 2.0.0.GA on jboss-4.2.1.GA. After a while, we have finally been able to port everything using default configuration (so SUN RI JSF 1.2 built-in JSF implementation). Actually, we have created from scratch a Seam application using Seam generator and integrate piece by piece our old application. Unfortunately, one of the third-party component we are using is fckeditor / fck-faces which is built-in on top of MyFaces :( So reading several posts on the forum and reading blog on internet, we tried to enable MyFaces in our application. We went through http://wiki.jboss.org/wiki/Wiki.jsp?page=JBoss5AndMyFaces but nothing helped us :( We are totally blocked about this issue and we really need help. Is there a place with a sample of EAR file using MyFaces in JBoss 4.2.1GA please ? We would really need a sample of an application with MyFaces bundled in it. We put anonymous wrote : | | context-param | param-nameorg.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL/param-name | param-valuetrue/param-value | /context-param | in faces-config.xml we copied the lib myfaces-impl-1.1.5.jar and myfaces-api-1.1.5.jar ( and dependencies) in WEB-INF\lib but we got digester error : anonymous wrote : | ERROR [org.apache.commons.digester.Digester] Parse Error at line 2 column 14: Document is invalid: no grammar found. | org.xml.sax.SAXParseException: Document is invalid: no grammar found. | I guess because our faces-config.xml has been created with Seam generator targeted for JSF 1.2 we does the same with myfaces-api-1.2.0.jar and myfaces-impl-1.2.0.jar but anonymous wrote : | ERROR [org.apache.myfaces.webapp.DefaultFacesInitializer] Error initializing MyFaces: Class org.jboss.seam.jsf.SeamApplicationFactory is no javax.faces.application.ApplicationFactory | java.lang.IllegalArgumentException: Class org.jboss.seam.jsf.SeamApplicationFactory is no javax.faces.application.ApplicationFactory | at javax.faces.FactoryFinder.newFactoryInstance(FactoryFinder.java:128) | at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:107) | at org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:499) | at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:190) | at org.apache.myfaces.webapp.DefaultFacesInitializer.initFaces(DefaultFacesInitializer.java:112) | at | I'm sure we missed some steps or configurations specifying that we use MyFaces in place of Sun RI. This context parameter and the copy of the libraries can't be sufficient. Please let us know what is missing. a small sample of an EAR file using MyFaces in place of Sun RI would be extremely helpful. or is there a guide as seam2migration.txt explaining what we shouldn't remove if we want to keep using MyFaces ? There is no instructions for this scenario. Thanks in avance Christophe Laumond View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113932#4113932 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113932 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - GPD Deploy - fileupload not found
I've come across a problem with deploying processes with jbpm-enterprise.ear rather than jbpm-console that is bundled with JBPM 3.2.2 suit. On startup JBOSS throws a NoClassDefFoundError when it tries to load the upload servelet. I came across a similar problem on the ESB forum: http://jboss.org/index.html?module=bbop=viewtopict=118843postdays=0postorder=ascstart=0 I tried the suggested work around of removing load on startup but when I deploy via GPD it still can't find the Upload class. One workaround seems to be to extract commons-uploadfile.jar (and related jars i.e. commons-io.jar) from the jbpm-console.war in the 'ear' and copy them to server/jbpm/lib. So the question is why can the classes be found when packaged in jbpm-console.war and not in jbpm-enterprise.ear? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113939#4113939 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113939 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Talikng to Remote EJBs in 4.2.1 from 4.0.5
Did you resolve your problem? I have the same problem. I have an application running in jboss 4.0.4GA using EJB 3 and other application running in jboss 4.2.1GA using EJB3 too. Tkz. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113938#4113938 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113938 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Autowired in a Seam bean
I don't really understand the question... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113944#4113944 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113944 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Deploy custom protocol handling class
Can there be more than one instance of a class implementing URLStreamHandlerFactory per Jboss JVM. Is there any way i can invoke/register this class at startup time. In weblogic I use -Dweblogic.net.http.URLStreamHandlerFactory=com.acme.protocol.handler.CustomProtocolUHandler How do I make it work with Jboss Thanks again. package com.acme.protocol.handler; import java.net.*; //import java.util.*; import sun.misc.*; import com.rsa.ssl.*; import java.io.File; public class CustomProtocolHandler implements URLStreamHandlerFactory { public URLStreamHandler createURLStreamHandler(String protocol) { protocol = protocol.toLowerCase(); //We are also returning our handler for handling of dummy protocols like javascript: or about:blank if(protocol.startsWith(myhttp)) { return m_protocolHandler; } else { return null; } } public static void main(String[] args ) { System.out.println(main Method called); try { CustomProtocolHandler customProtocolURLStreamHandler = new CustomProtocolHandler(); java.net.URL.setURLStreamHandlerFactory(customProtocolURLStreamHandler); } catch(Exception e) { System.err.println(Exception while setting the URLStreamHandlerFactory object+e ); } } } View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113942#4113942 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113942 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Error selecting object
Post a new topic, piggy backing old topics is just confusing ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113943#4113943 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113943 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: persist() / remove() at end of long running conversation
Start a new topic, this one is old. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113947#4113947 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113947 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Talikng to Remote EJBs in 4.2.1 from 4.0.5
http://jira.jboss.com/jira/browse/EJBTHREE-1118 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113946#4113946 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113946 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Incompatibility between Jboss server versions?
Incompatibility between Jboss server versions? Hi guys, can anybody help-me with a problem? I'm currently using JBossAS 4.2.1 and I was trying to make a lookup in an EJB3 Session Bean - in another JbossAS (different VM - version 4.0.4GA) - , but I received an Exception... Caused by: javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.ejb3.session.BaseSessionRemoteProxy; local class incompatible: stream classdesc serialVersionUID = 2609262789016232311, local class serialVersionUID = 8310915813626447181] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:724) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:123) at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:85) at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:121) at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:146) at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:86) at org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:104) at org.springframework.jndi.JndiObjectTargetSource.getTarget(JndiObjectTargetSource.java:121) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:150) ... 90 more Caused by: java.io.InvalidClassException: org.jboss.ejb3.session.BaseSessionRemoteProxy; local class incompatible: stream classdesc serialVersionUID 2609262789016232311, local class serialVersionUID = 8310915813626447181 at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) at java.rmi.MarshalledObject.get(MarshalledObject.java:135) at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:654) it Sounds incompatible! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113948#4113948 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113948 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Incompatibility between Jboss server versions?
Hi guys, can anybody help-me with a problem? I'm currently using JBossAS 4.2.1 and I was trying to make a lookup in an EJB3 Session Bean - in another JbossAS (different VM - version 4.0.4GA) - , but I received an Exception... Caused by: javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.ejb3.session.BaseSessionRemoteProxy; local class incompatible: stream classdesc serialVersionUID = 2609262789016232311, local class serialVersionUID = 8310915813626447181] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:724) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:123) at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:85) at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:121) at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:146) at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:86) at org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:104) at org.springframework.jndi.JndiObjectTargetSource.getTarget(JndiObjectTargetSource.java:121) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:150) ... 90 more Caused by: java.io.InvalidClassException: org.jboss.ejb3.session.BaseSessionRemoteProxy; local class incompatible: stream classdesc serialVersionUID 2609262789016232311, local class serialVersionUID = 8310915813626447181 at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) at java.rmi.MarshalledObject.get(MarshalledObject.java:135) at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:654) it Sounds incompatible! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113945#4113945 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113945 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Incompatibility between Jboss server versions?
Incompatibility between Jboss server versions? Hi guys, can anybody help-me with a problem? I'm currently using JBossAS 4.2.1 and I was trying to make a lookup in an EJB3 Session Bean - in another JbossAS (different VM - version 4.0.4GA) - , but I received an Exception... Caused by: javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.ejb3.session.BaseSessionRemoteProxy; local class incompatible: stream classdesc serialVersionUID = 2609262789016232311, local class serialVersionUID = 8310915813626447181] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:724) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:123) at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:85) at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:121) at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:146) at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:86) at org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:104) at org.springframework.jndi.JndiObjectTargetSource.getTarget(JndiObjectTargetSource.java:121) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:150) ... 90 more Caused by: java.io.InvalidClassException: org.jboss.ejb3.session.BaseSessionRemoteProxy; local class incompatible: stream classdesc serialVersionUID 2609262789016232311, local class serialVersionUID = 8310915813626447181 at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) at java.rmi.MarshalledObject.get(MarshalledObject.java:135) at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:654) it Sounds incompatible! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113949#4113949 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113949 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Editors not shown first when an xhtml file is opened in the
When we open a xhtml file in the jboss html editor, the first time there isn't anything show, just a grey background. The tabs at the bottom of the pane are shown, and if you click another tab the editor is shown and you can use all different edit modes. We are running Eclipse on Windows Vista 64, and maybe this has something to do with it. When we copied the configuration to a Vista 32 bit machine, the problem went away. It would be great if someone could point us in the right direction of where to continue our search! Another hint may be that the settings pane for the visual editor also is blank after we used the editor once. What we've tried so far (but did not succeed): - update to nightly build of jboss tools - searched the jira - searched the forums - edit the code ourselves - tried running this eclipse configuration with JDK 5 (both 64 as 32 bit) - tried setting another default editor We use the following versions: - Eclipse 3.3.1.1 - JBoss Tools 2.0.0.GA - Java JDK6 64 bit View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113951#4113951 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113951 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Editors not shown first when an xhtml file is opened in
I don't have access to a vista 64 bit so can't really help. I would have assumed that running with a Java 5 32 bit should work, but if that does not work then report in jira ...but again, we don't have access to a 64 bit vista so would need help on getting xulrunner to work on 64 bit vista. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113952#4113952 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113952 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Editors not shown first when an xhtml file is opened in
Thanks for the fast reply max! I did take a look at xulrunner and 64 bit vista, but when i switched tabs once, everything works until i close the editor. I was trying to call the change tab event myself in the sourcecode of VpeEditorPart.java, in a way that when i open the editor, it automatically changes tabs and loads the editor. (as a quick temporary fix) Do you know where this call can be done? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113955#4113955 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113955 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Error selecting object - SEAM 1.2.1GA
I'm using SEAM 1.2.1GA and have all of a sudden run into random errors selecting objects out of a drop down list. It doesn't have all the time and seems very random. I've attempted to enhance the equals() method and the hashcode, but nothing seems to matter in that regard. When I debug the EntityConverter, the key associated with the object is incorrect. You can see this from the error message as well. anonymous wrote : ERROR [EntityConverter] Cannot load entity (com.ball.lcgm.entity.User with id org.jboss.seam.ui.NoSelectionConverter.noSelectionValue) from persistence context I mainly see this when my dropdown list is populated from an ajax call, but I've also seen this error when selecting from a selectManyCheckbox: | h:selectManyCheckbox value=#{manageOwners.ownersToRemove} layout=pageDirection | s:selectItems value=#{profileRecord.owners} var=user label=#{user.fullName}/ | s:convertEntity/ | /h:selectManyCheckbox | h:commandButton action=#{manageOwners.removeOwners} value=Remove Owners/ | The error quoted above is directly from the specified code. As you can see, there is no mention of noSelectionValue. Any help would be appreciated. I've read before to upgrade to the latest in CVS, but that is not an option at the moment. We do have a JBoss support agreement and if needed, I can escalate it there. Thanks, James View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113953#4113953 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113953 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Editors not shown first when an xhtml file is opened in
hmm...so as long as you toggle the tabs the editor works fine ? you can close the editor and open a new one and it works again after toggling the tab? Please report that in jira - then we can track it there. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113956#4113956 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113956 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Message paging not working
Can you attach your testcase here? http://jira.jboss.com/jira/browse/JBMESSAGING-1211 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113959#4113959 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113959 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - java.lang.ClassCastException: org.jboss.util.id.GUID cannot
Hi, I am attempting to lookup and call methods on an ejb from a servlet where the two are deployed in separate ear files on the same JBoss server. I believe I have encountered a classloading issue, if so, I am not sure how to resolve it. Can anyone help me resolve this problem? Anyway, here is my latest progress, the exception is encountered at obj = PortableRemoteObject.narrow(ctx.lookup(ejb/UserAdmin/UserBean , Class.forName(className)); Is this a classloading issue or a configuration issue? Has anyone encountered this problem? And if so do you know what I may be doing wrong. Thanks in advance, hopefully someone has a clue as to what this problem may be. Bob Lookup code InitialContext ctx = new InitialContext(); Object obj = null; try { obj = PortableRemoteObject.narrow(ctx.lookup(ejb/UserAdmin/UserBean), Class.forName(className)); } catch (Exception e) { logger.log(Level.ERROR, e.getMessage(), e); } UserBeanHome home = (UserBeanHome)obj; UserBean remote = (UserBean) home.create(); Exception java.lang.ClassCastException: org.jboss.util.id.GUID cannot be cast to org.jboss .util.id.GUID at org.jboss.invocation.InvokerInterceptor.readExternal(InvokerInterceptor.java:358) at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1751) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at org.jboss.proxy.Interceptor.readExternal(Interceptor.java:80) at org.jboss.proxy.ejb.RetryInterceptor.readExternal(RetryInterceptor.java:291) at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1751) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at org.jboss.proxy.Interceptor.readExternal(Interceptor.java:80) at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1751) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at org.jboss.proxy.Interceptor.readExternal(Interceptor.java:80) at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1751) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at org.jboss.proxy.Interceptor.readExternal(Interceptor.java:80) at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1751) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at org.jboss.proxy.ClientContainer.readExternal(ClientContainer.java:156) at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1751) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at java.rmi.MarshalledObject.get(MarshalledObject.java:142) at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:652) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) at javax.naming.InitialContext.lookup(InitialContext.java:392) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113960#4113960 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113960 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Same element ID in many forms on the page
What does isn't initialised mean here? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113962#4113962 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113962 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: distributed-queue does not always work?
The configuration seems ok to me. Possible things you should look at: - Are you sure you didn't change anything on the test? - Can you try the same test again, after dropping/creating your database (or clearing the data on the tables). - Are you sure you have your UDP working fine? - Do you have both nodes on the same box I assume? If not, check your JGroups configs. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113963#4113963 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113963 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Asynchronous mail example fails
The unified classloader has nothing to do with UseJBossWebLoader. Use RichFaces 3.1.x - this allows the use of RichFaces components in your action beans. Place the richfaces-api.jar into your ear/lib directory. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113964#4113964 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113964 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Editors not shown first when an xhtml file is opened in
yeah, when i toggle the tabs (change to another and then change back) it's working. We tried a redraw and update on the sourceditor object in setVisualMode in VpeEditorPart.java, but that didn't fix things. I added this in Jira, http://jira.jboss.org/jira/browse/JBIDE-1531. Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113958#4113958 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113958 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Error selecting object
New Topic: http://www.jboss.com/index.html?module=bbop=viewtopicp=4113953 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113954#4113954 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113954 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Test database with Seam2, Maven and TestNG?
I have finally got the maven unit tests through testng running, but they are failing. I want to have two databases, one for tomcat deployment and one for my unit tests. The problem is that the seam configuration is picking up my src/main/resources/META-INF/orm.xml and src/main/resources/META-INF/persistence.xml. As a result, the tests are being run against the wrong database. Anyone have any bright ideas on how to isolate the unit tests better? Thanks, Andrew View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113957#4113957 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113957 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: occasional could not acquire lock on @Synchronized compo
Well, you'll need increase the timeout for trying to obtain the lock. By default a second. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113966#4113966 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113966 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: how to dis-manage entities?
gsegura wrote : And that is the problem because when more than one user are inserting CourseNotes to the collection, the second one will get an optimisticlockexception at the time he tries to merge his instance of the course I would just used managed entities at all times. anonymous wrote : At the same time this makes think of another issue: the implementation of master-detail editions, which at first, for the neophyte like me, feels natural to handle using nested conversations and sharing full objects but the preferred way to go is using entityhome and its passing-just-the-id technique, again a not very OO-ish way IMHO. I don't really understand this statement. Why can't you use EntityHome and nested conversations? EntityHome uses objects when inside the conversation (you just pass in the id to get started, probably from outside the conversation). Why is EntityHome not very ooish? JPA doesn't have a concept of read only entities afaik. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113970#4113970 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113970 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Scope of EntityManager
Hi, I think I've found the reason for this problem. I think it is a bug in combination with richfaces. The error occurd when serving a request for anonymous wrote : /mywebapp/a4j_3_1_1-SNAPSHOTorg/richfaces/renderkit/html/css/modalPanel.xcss/DATB/eAGLZKr5DAADWQHL which is a resource for a richfaces component. As you can see in the stack trace below, this request somehow triggerd the JSF lifecycle, which causes the SeamPhaseListener to run, which again tries to initialize the entity manager, though the conversation context has not been activated yet. SeamManagedEntityManagerFactory.createEntityManager() line: 59 | JpaTransactionManager.createEntityManagerForTransaction() line: 391 | JpaTransactionManager.doBegin(Object, TransactionDefinition) line: 315 | JpaTransactionManager(AbstractPlatformTransactionManager).getTransaction(TransactionDefinition) line: 350 | SpringTransaction.begin() line: 74 | SeamPhaseListener.begin(PhaseId) line: 566 | SeamPhaseListener.handleTransactionsBeforePhase(PhaseEvent) line: 307 | SeamPhaseListener.beforeServletPhase(PhaseEvent) line: 142 | SeamPhaseListener.beforePhase(PhaseEvent) line: 116 | ResourceLifecycle.invokePhaseListener(PhaseListener, PhaseEvent, boolean) line: 201 | ResourceLifecycle.processPhaseListeners(PhaseListener[], PhaseEvent, boolean) line: 177 | ResourceLifecycle.send(ResourceContext, InternetResource) line: 147 | InternetResourceService.load(Object, Object) line: 336 | LRUMapCache.load(Object, Object) line: 116 | LRUMapCache.get(Object, Object) line: 87 | InternetResourceService.serviceResource(String, HttpServletRequest, HttpServletResponse) line: 198 | InternetResourceService.serviceResource(HttpServletRequest, HttpServletResponse) line: 144 | Filter(BaseFilter).doFilter(ServletRequest, ServletResponse, FilterChain) line: 265 | Ajax4jsfFilter.doFilter(ServletRequest, ServletResponse, FilterChain) line: 60 | SeamFilter$FilterChainImpl.doFilter(ServletRequest, ServletResponse) line: 69 | LoggingFilter.doFilter(ServletRequest, ServletResponse, FilterChain) line: 58 | SeamFilter$FilterChainImpl.doFilter(ServletRequest, ServletResponse) line: 69 | SeamFilter.doFilter(ServletRequest, ServletResponse, FilterChain) line: 158 | Any comment? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113972#4113972 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113972 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Duplicate calls to functions
http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamProblemsFAQ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113973#4113973 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113973 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Exception redirection broken. 404 thrown
Please file a jira issue so we can investigate View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113974#4113974 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113974 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Anybody got Seam 2.0.0 working with WebSphere 6.1 and EJ
We haven't got Seam working with WAS and EJB3. We do however have it working with JPA - see the JPA example for more. Jay is currently working on app server compatibility - he hasn't got to WAS yet, but when he does you can expect *much* better docs on how to get your app running. If you can post specific errors then perhaps we can help you more. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113975#4113975 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113975 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Setting up multiple instances of JBoss in different mach
Hi all, I solved the problem. The problem was my system is not having mcast open. So instead of using UDP, Iam using TCPPING. It was working fine. Thanks! vvk View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113976#4113976 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113976 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Instances of JBoss in different machines
HI all , I solved the problem. The problem is in my system there is no mcast open. So I used TCPPING now I am able to see both the machines as well as able to deploy the stuff. Thanks! Vvk View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113979#4113979 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113979 ___ 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 GA - seambay example deployment fails
Can you try with a clean install of JBoss AS 4.2.2 and Seam 2.0.0? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113980#4113980 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113980 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - problem with Integration test in Seam 2.0.0 GA
I am trying to use integration test in Seam 2.0.0GA and getting authenticator not found error. Please tell me what is wrong in my setup? I had tried to setup classpath for testing by reverse engineering the build.xml in examples dir and info in readme.txt - pls let me know if something is wrong there.. | Test case: | | public class LoginTest extends SeamTest{ | | @Test(groups = { login }) | public void testSuccessfulLogin() throws Exception{ | | new FacesRequest(){ | | @Override | protected void processValidations() throws Exception{ | validateValue(#{identity.username},testaccount); | validateValue(#{identity.password},password); | } | | @Override | protected void updateModelValues() throws Exception{ | setValue(#{identity.username},testaccount); | setValue(#{identity.password},password); | } | | @Override | protected void invokeApplication(){ | invokeMethod(#{identity.login}); | assert getValue(#{identity.loggedIn}).equals(Boolean.TRUE); | } | | }.run(); | } | } | | Log: | | [testng] C:\proj\testsrc\com\login\test\testng.xml |[testng] 14:45:03,541 WARN [UnifiedLoaderRepository3] Tried to add non-URLClassLoader. Ignored |[testng] 14:45:04,494 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc. |[testng] 14:45:04,494 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer |[testng] 14:45:04,557 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TxControl_1] - Name of XA node not defined. Using -639de6b2:c2d6:47683150:0 |[testng] 14:45:04,588 INFO [arjLoggerI18N] [com.arjuna.ats.arjuna.recovery.TransactionStatusManager_1] - Starting service com.arjuna.ats.arjuna.recovery.ActionStatusService on port 49878 |[testng] 14:45:04,588 INFO [arjLogger] TransactionStatusManagerItem - host: 127.0.0.1 port: 49878 |[testng] 14:45:04,619 INFO [arjLoggerI18N] [com.arjuna.ats.arjuna.recovery.TransactionStatusManager_3] - TransactionStatusManager started on port 49878 with service com.arjuna.ats.arjuna.recovery.ActionStatusService |[testng] 14:45:04,619 INFO [tsmxLogger] Registering mbean for module 'arjuna' |[testng] 14:45:04,635 INFO [tsmxLogger] Initialising JMX agent com.arjuna.ats.internal.jbossatx.agent.LocalJBossAgentImpl |[testng] 14:45:04,650 INFO [TransactionManagerService] Starting recovery manager |[testng] 14:45:04,650 INFO [arjLogger] |[testng] --- Start RecoveryActivators |[testng] 14:45:04,650 INFO [arjLoggerI18N] [com.arjuna.ats.internal.arjuna.recovery.ready] RecoveryManagerImple is ready on port 49,879 |[testng] 14:45:04,650 INFO [TransactionManagerService] Recovery manager started |[testng] 14:45:04,666 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference |[testng] 14:45:06,322 INFO [RARDeployment] Required license terms exist, view vfsfile:/C:/proj/lib/bootstrap/deploy/jboss-local-jdbc.rar/META-INF/ra.xml |[testng] 14:45:06,385 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS' |[testng] 14:45:06,385 INFO [RARDeployment] Required license terms exist, view vfsfile:/C:/proj/lib/bootstrap/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml |[testng] 14:45:06,385 INFO [RARDeployment] Required license terms exist, view vfsfile:/C:/proj/lib/bootstrap/deploy/jms-ra.rar/META-INF/ra.xml |[testng] 14:45:06,854 WARN [JDBCPersistenceManager] |[testng] JBoss Messaging Warning: DataSource connection transaction isolation should be READ_COMMITTED, but it is currently NONE. |[testng] Using an isolation level less strict than READ_COMMITTED may lead to data consistency problems. |[testng] Using an isolation level more strict than READ_COMMITTED may lead to deadlock. |[testng] 14:45:06,979 INFO [ServerPeer] ServerPeer[0] creating server peer with ID 0 |[testng] 14:45:07,338 INFO [ServerPeer] JBoss Messaging 1.2.0.sp1 server [0] started |[testng] 14:45:07,369 INFO [TopicService] Topic[/topic/TopicWithOwnDLQAndExpiryQueue] started, fullSize=20, pageSize=2000, downCacheSize=2000 |[testng] 14:45:07,369 INFO [TopicService] Topic[/topic/TopicWithOwnRedeliveryDelay] started,
[jboss-user] [JBoss Seam] - Re: ReRender does not update the Form drop down values
There is a caching problem with s:selectItems in 2.0.0.GA. Try with a simple f:selectItems. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113982#4113982 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113982 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Adding custom timeout action
Thanks. I got it working using HttpAttributeListener. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113981#4113981 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113981 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Chained select boxes
syzork wrote : seam-ui example is not working. How? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113984#4113984 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113984 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Injected Logger is null on tomcat, seam 1.2
Lots of sample code in the examples directory. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113985#4113985 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113985 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Forms - JBPM with Seam
No special integration, no. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113986#4113986 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113986 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Default message.properties
I'm having some problems with the default message.properties and how to override them. I've managed to override a few of the messages... | org.jboss.seam.loginSuccessful = Aren't you cool #{identity.username}? | org.jboss.seam.loginFailed = Invalid username/password combination. | org.jboss.seam.notLoggedIn = You need to login | But that last one doesn't work. I'm not sure which events line-up with which messages. And for that matter, I don't even see where the default messages are stored. Is there any place that points out the connections between the messages and what's provided so I can override it? -Jason View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113983#4113983 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113983 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Redirect based on identity-roles
Start a new topic, nothing to do with this one. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113988#4113988 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113988 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Using Seam with Facelets and EL Parameters
Why are you using managed beans with Seam? I suggest you start from the JPA example for WAS. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113991#4113991 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113991 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user