[jboss-user] [JBoss jBPM] - Re: Error in leaveNode and SubProcess
Hi, this is a feature, not a bug, see JavaDoc http://docs.jboss.com/jbpm/v3/javadoc/org/jbpm/graph/exe/ExecutionContext.html#leaveNode() anonymous wrote : | leaveNode | public void leaveNode() | leave this node over the default transition. This method is only available on node actions. Not on actions that are executed on events. Actions on events cannot change the flow of execution. | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126027#4126027 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126027 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Dynamic Entity Beans
Sry, wrong thread... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126024#4126024 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126024 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Error creating component org.jboss.seam.core.resourceBun
I am also facing probolem in loading my own messagebundle In components.xml I have core:resource-loader core:bundle-names messages mycompany_messages /core:bundle-names /core:resource-loader Both h:outputLabel for=person value =#{messages.Username} /h:outputLabel and h:outputLabel for=person value =#{mycompany_messages.Username} /h:outputLabel are not working? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126026#4126026 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126026 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam events question
Most commen error is to forget to declare the Observer method on the interface, if it's a SessionBean. Greetz GHad View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126025#4126025 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126025 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Component + Servlet
Use Component.getInstance(DocumentService.class) where DocumentService is a Seam component. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126029#4126029 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126029 ___ 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 on Glassfish
hi,thejavafreak,thank you for reply. I used GlassFish v2ur1-b09d. Have you used Groovy with Glassifh 2.1? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126028#4126028 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126028 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: JBossCache + Hibernate + Spring
Thanks Manik for quick reply. Hi, I have solved most of the problems but now getting following in logs:- Jan 18, 2008 4:56:33 PM HKT BEA-001131 Received an exception when closing a cached statement for the pool JDBC-NWTE2: java.sql.SQLException: [BEA][Oracle JDBC Driver]Broken pipe. Do you have any idea of its cause? Thanks Regards, Narendra Gupta View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126031#4126031 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126031 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Dynamic Entity Beans
Most commen error is to forget to declare the Observer method on the interface, if it's a SessionBean. Greetz GHad View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126023#4126023 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126023 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: LdapExtLoginModule.java bug? Blank password login succes
Are you sure this login configuration is being used for authenticating? Are you doing a programatic login or container managed login? If you are using container managed login, have you configured the security-domain in the jboss-web.xml? What do the TRACE level logs from security package, show? See Q4 at http://wiki.jboss.org/wiki/Wiki.jsp?page=SecurityFAQ to enable TRACE level logs. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126039#4126039 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126039 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Using child class as argument in webmethod
Did you use the @XmlSeeAlso annotation? You might also take a look at the tests for JBWS-1702, which should be something very similar to your use case. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126038#4126038 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126038 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Error in leaveNode and SubProcess
Thank you very much for your reply. After changing process definition as you suggested, everything works fine. Here is changed unit test, which completes successfuly: | public class TestSubProcessBug extends TestCase{ | | public void testBug() { | ProcessDefinition subDefinition = ProcessDefinition.parseXmlString(?xml version='1.0' encoding='UTF-8'?+ | process-definition name='testSubProcess'+ |start-state name='start'+ |transition to='testState'/+ |/start-state+ |node name='testState'+ |script+ |executionContext.leaveNode();+ |/script+ |transition to='end'/+ |/node+ |end-state name='end'/+ | /process-definition); | ProcessDefinition definition = ProcessDefinition.parseXmlString(?xml version='1.0' encoding='UTF-8'?+ | process-definition name='testParent'+ |start-state name='start'+ |transition to='state'/+ |/start-state+ |node name='state'+ |script+ |executionContext.leaveNode();+ |/script+ |transition to='subProcess'/+ |/node+ |process-state name='subProcess'+ |sub-process name='testSubProcess'/+ |transition to='end'/+ |/process-state+ |end-state name='end'/+ | /process-definition); | ProcessState processState = (ProcessState) definition.getNode(subProcess); | processState.setSubProcessDefinition(subDefinition); | ProcessInstance processInstance = new ProcessInstance(definition); | processInstance.signal(); | } | | } | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126037#4126037 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126037 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Validation of input values?
I'm writing webservices with jbossws, I use contract-last approach and let jboss auto-generate the wsdl:s on deployment. However, I would like to use some kind of auto validation and correct schema generation for values not nillable for example. So, the optimal way would be to use like hibernate annotations to annotate @NotNull, regexp, etc. on my pojos, and have it validated and also have the wsdl generated in the proper way. I don't want to manaully hack the wsdl:s afterwards, I want the clients to always be able to access the server and get the latest wsdl without having a process of editing it, publish it manually etc. Is there a way to do this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126040#4126040 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126040 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @In attribute requires non-null value
This definitely works, you can look at the booking example for a functioning example. I suggest that you set a breakpoint in your authenticator.authenticate() method, then once its hit set another breakpoint in BijectionInterceptor.aroundInvoke() (after invocation.proceed() is called) to ensure that the interceptor is indeed being invoked for your component, and then another breakpoint in Component.outject() to ensure that the component's attributes get outjected. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126035#4126035 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126035 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to prevent startup console log info?
Just increase the log level for javax.servlet.ServletContextListener (Generic Welcome Message), org.jboss.seam.deployment.* and org.jboss.seam.init.* to WARN or higher. Regards, Kurt View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126041#4126041 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126041 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Problem importing multiple schema from the same namespac
Created the JIRA Feature Request: http://jira.jboss.org/jira/browse/JBWS-1980 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126044#4126044 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126044 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: @Xmljavatypeadapter used on class failed
sorry , I use jboss4.2.2GA with jbossws2.0.3 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126047#4126047 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126047 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Can't update database from ejb message driven bean. Permissi
Hello, I have an web application that have a part running with TWINCAT. TWINCAT sends messages to an message driven bean wich talks to an ejb. This ejb must read or update the database. The application is working correctly when that must read, but update a row is impossible, and there are no error messages. It seems like an permission denied problem, cause i don't execute the mdb from the controller. (if i do this, work). Application dont update the database when the method is executed by a message. Can anyone help me, please? Thanks, Marc View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126049#4126049 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126049 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Can't start JBoss 5 Beta3 with a JRE
Seems to be working fine with JBoss-4.2.x, the server boots fine. (i havent tried with JBoss 5): === | | JBoss Bootstrap Environment | | JBOSS_HOME: D:\JBoss-4.2.2\jboss-4.2.2.GA | | JAVA: c:\jdk1.5.0_07\jre\bin\java | | JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 | | CLASSPATH: D:\JBoss-4.2.2\jboss-4.2.2.GA\bin\run.jar | | === | | 14:48:42,698 INFO [Server] Starting JBoss (MX MicroKernel)... | 14:48:42,698 INFO [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139) | 14:48:42,698 INFO [Server] Home Dir: D:\JBoss-4.2.2\jboss-4.2.2.GA | 14:48:42,698 INFO [Server] Home URL: file:/D:/JBoss-4.2.2/jboss-4.2.2.GA/ | 14:48:42,698 INFO [Server] Patch URL: null | 14:48:42,698 INFO [Server] Server Name: jaikiran | 14:48:42,698 INFO [Server] Server Home Dir: D:\JBoss-4.2.2\jboss-4.2.2.GA\server\jaikiran | 14:48:42,698 INFO [Server] Server Home URL: file:/D:/JBoss-4.2.2/jboss-4.2.2.GA/server/jaikiran/ | 14:48:42,698 INFO [Server] Server Log Dir: D:\JBoss-4.2.2\jboss-4.2.2.GA\server\jaikiran\log | 14:48:42,698 INFO [Server] Server Temp Dir: D:\JBoss-4.2.2\jboss-4.2.2.GA\server\jaikiran\tmp | 14:48:42,698 INFO [Server] Root Deployment Filename: jboss-service.xml | 14:48:43,120 INFO [ServerInfo] Java version: 1.5.0_07,Sun Microsystems Inc. | 14:48:43,120 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_07-b03,Sun Microsystems Inc. | 14:48:43,120 INFO [ServerInfo] OS-System: Windows 2003 5.2,x86 | 14:48:43,885 INFO [Server] Core system initialized | | From the command prompt, run the following command and post the output here: java -version Also, do you have a folder named 'server' under /cygdrive/c/jre1.5.0_07/bin folder? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126048#4126048 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126048 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: handleException details
Exception that I injected was null. But I could get that exception as Exception excp= (Exception)Contexts.getConversationContext().get(org.jboss.seam.handledException); if (excp != null excp instanceof Exception) { System.out.println(error + excp.getClass().getName()); excp.printStackTrace(); but printStacjTrace doesnt print anything now. But esxception class name is proper. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126046#4126046 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126046 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Jboss server is not starting after adding project to it
Please reply as soon as possible View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126042#4126042 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126042 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - @Xmljavatypeadapter used on class failed
I used @Xmljavatypeadapter on my class like below @XmlJavaTypeAdapter(XMLStringAdapter.class) public class XMLCollection { public Integer content ; public XMLCollection() { super(); } public class XMLStringAdapter extends XmlAdapterString, XMLCollection { @Override public String marshal(XMLCollection arg0) throws Exception { return ; } @Override public XMLCollection unmarshal(String arg0) throws Exception { return new XMLCollection(); } I found it not take effect. but when I put @XmlJavaTypeAdapter on class field it work, Annotation on class has not been implement? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126045#4126045 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126045 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Project layout suggestion
Hey, Just a suggestion, I think it could be wise to have the same project layout when generating a new Seam project with seam-gen and jboss tools, seam-gen creates one project while jboss tools creates 4 projects, I guess both offering about the same functionality but it would be nice if there was no difference when using seam-gen / jboss-tools for the same project, Asaf. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126043#4126043 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126043 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - problem integrating JBPM HIBERNATE
hi, i am trying to integrate the hibernate with the JBPM (that worked fine when we have worked JDBC) . i have done it by injecting the hibernate session into the JBPM one : | JbpmConfiguration conf = JbpmConfiguration.getInstance(); | context = conf.createJbpmContext(); | context.setSession(HibernateSessionFactory.getSession()); | the deployment appeared to work fine. when i try to do a start process , it dosn't appear to insert an entry to the JBPM_PROCESSINSTANCE table. doesn't the context.save(instance); should insert an entry to that table ? the actual error happens in last line of the following code : | JbpmContext context = conf.createJbpmContext(); | context.setSession(HibernateSessionFactory.getSession()); | GraphSession graphSession = context.getGraphSession(); | ProcessInstance pi = graphSession.loadProcessInstance(processInstanceNum); | when i try to inspect the pi value in the debug window i see: | com.sun.jdi.InvocationException occurred invoking method. | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126050#4126050 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126050 ___ 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 on Glassfish
Fangzx wrote : hi,thejavafreak,thank you for reply. | | I used GlassFish v2ur1-b09d. | | Have you used Groovy with Glassifh 2.1? | | Try v2.1-b17 I haven't used Glassfish with Groovy yet. Though I'd really want to. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126052#4126052 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126052 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - http://org.jboss.ws/http#chunksize
Hello! I'm trying to send a SOAP message through the JAAS. The problem is that the service is the CGI and doesn't accept Transfer-Encoding header. JBoss Remoting has a configuration for it (chunkedLength=0 ???), but how can I do it from JBossWS? Setting the property http://org.jboss.ws/http#chunksize; in standard-jaxws-client-config.xml file to 0 does nothing. I desperately need it (it works with SUN JAAS implementation). Thank you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126051#4126051 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126051 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam events question
I followed gbc's advise and annotated RaiseEvent onto the method in the interface (may i didn't see this in the documentation) ... but now am facing some other problem, reflection does not seem to work. Both components the one from the web and ejb tier are session scoped, to avoid problems with instantiation (at least that's my thought ;)) | javax.el.ELException: /index.xhtml: Could not invoke method by reflection: StatisticsState_$$_javassist_0.setHds_base(org.richfaces.component.UIDatascroller) with parameters: (org.jboss.seam.Component) on: | state.StatisticsState_$$_javassist_0 | at com.sun.facelets.compiler.TextInstruction.write(TextInstruction.java:50) | at com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:39) | at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:280) | at org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:262) | at org.richfaces.renderkit.html.PanelBarItemRenderer.doEncodeChildren(PanelBarItemRenderer.java:165) | at org.richfaces.renderkit.html.PanelBarItemRenderer.doEncodeChildren(PanelBarItemRenderer.java:160) | at org.ajax4jsf.renderkit.RendererBase.encodeChildren(RendererBase.java:121) | at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812) | at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:282) | at org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:262) | at org.richfaces.renderkit.html.PanelBarRenderer.doEncodeChildren(PanelBarRenderer.java:148) | at org.richfaces.renderkit.html.PanelBarRenderer.doEncodeChildren(PanelBarRenderer.java:143) | at org.ajax4jsf.renderkit.RendererBase.encodeChildren(RendererBase.java:121) | at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812) | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886) | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592) | at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108) | at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216) | at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106) | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) | at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) | at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141) | at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281) | at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at
[jboss-user] [JBoss jBPM] - Re: Token is locked by token[26]
Hi, look at http://www.jboss.com/index.html?module=bbop=viewtopict=129225 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126065#4126065 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126065 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Can't start JBoss 5 Beta3 with a JRE
Tried with JBoss-5.0 Beta3. Worked fine: | D:\jboss-5.0.0.Beta3\binrun -b 0.0.0.0 | === | | JBoss Bootstrap Environment | | JBOSS_HOME: D:\jboss-5.0.0.Beta3 | | JAVA: c:\jdk1.5.0_07\jre\bin\java | | JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 | | CLASSPATH: D:\jboss-5.0.0.Beta3\bin\run.jar | | === | | 15:20:30,215 INFO [ServerImpl] Starting JBoss (Microcontainer)... | 15:20:30,215 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.Beta3 (build: SVNTag=JBoss_5_0_0_Beta3 date=200712210026) | 15:20:30,215 INFO [ServerImpl] Home Dir: D:\jboss-5.0.0.Beta3 | 15:20:30,215 INFO [ServerImpl] Home URL: file:/D:/jboss-5.0.0.Beta3/ | 15:20:30,215 INFO [ServerImpl] Library URL: file:/D:/jboss-5.0.0.Beta3/lib/ | 15:20:30,215 INFO [ServerImpl] Patch URL: null | 15:20:30,215 INFO [ServerImpl] Server Name: default | 15:20:30,215 INFO [ServerImpl] Server Home Dir: D:\jboss-5.0.0.Beta3\server\default | 15:20:30,215 INFO [ServerImpl] Server Home URL: file:/D:/jboss-5.0.0.Beta3/server/default/ | 15:20:30,215 INFO [ServerImpl] Server Data Dir: D:\jboss-5.0.0.Beta3\server\default\data | 15:20:30,215 INFO [ServerImpl] Server Temp Dir: D:\jboss-5.0.0.Beta3\server\default\tmp | 15:20:30,215 INFO [ServerImpl] Server Config URL: file:/D:/jboss-5.0.0.Beta3/server/default/conf/ | 15:20:30,215 INFO [ServerImpl] Server Library URL: file:/D:/jboss-5.0.0.Beta3/server/default/lib/ | 15:20:30,215 INFO [ServerImpl] Root Deployment Filename: jboss-service.xml | 15:20:30,872 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/D:/jboss-5.0.0.Beta3/server/default/conf/bootstrap-beans.xml | 15:20:32,544 INFO [ProfileImpl] Using profile root:D:\jboss-5.0.0.Beta3\server\default | 15:20:33,309 INFO [ServerInfo] Java version: 1.5.0_07,Sun Microsystems Inc. | 15:20:33,325 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_07-b03,Sun Microsystems Inc. | 15:20:33,325 INFO [ServerInfo] OS-System: Windows 2003 5.2,x86 | 15:20:33,450 INFO [JMXKernel] Legacy JMX core initialized And here's the output of JAVA_HOME and java -version: | D:\echo %JAVA_HOME% | c:\jdk1.5.0_07\jre | | D:\%JAVA_HOME%\bin\java -version | java version 1.5.0_07 | Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03) | Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode, sharing) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126057#4126057 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126057 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @In attribute requires non-null value
Thank you for your response. I will try debugging, but I'm anxious about the results becouse single access or few multiple access is no problem. I'm thinking now that the same cause of my another topic. http://www.jboss.com/index.html?module=bbop=viewtopict=129224 Informtion: I using JMeter for a stress test. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126059#4126059 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126059 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Token is locked by token[26]
Hello, I have created a simple example jBPM project and I can deploy it using jbpm-console. I have create a state node like this: state name=GenerateLetterOfOffer | event type=node-enter | action class=com.sample.action.LOAActionHandler | /action | /event | /state In the class com.sample.action.LOAActionHandler I have coded the execute method like this: public void execute(ExecutionContext context) throws Exception { | System.out.println(Letter of offer generated); | context.getToken().signal(); | } When the signal method is executed I get this error message: org.jbpm.JbpmException was thrown. The message is: this token is locked by token[26] Can you tell me what I am doing wrong. I have tried using the transiation tag and adding an action to it, but the execute method never gets call in this instance. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126063#4126063 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126063 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: LdapExtLoginModule.java bug? Blank password login succes
its not a bug, its a feature ;-( you must set this in the loginconfig: module-option name=allowEmptyPasswordsfalse/module-option View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126064#4126064 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126064 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - JBOSS and Javascript error
Hi, I am using JBOSS Portal 2.6.3.GA. I am having a javascript function which is being called on an HREF in a td. When I am clicking on the image, I am getting the following Javascript error, Can't move focus to the control because it is invisible,not enabled, or of a type that does not acceot this focus Error: Can't move focus to the control because it is invisible,not enabled, or of a type that does not acceot this focus Code: 0 URL: http://localhost:8080/portal/auth/portal/default/default;jsessionid =0C65FBEBNEBNEBBEBBBEBBE? loginheight=0 Any pointers to why I am getting this error? I am ideally trying to have a client side validation, but it is taking me to the server it seems. Thanks, Anoop View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126080#4126080 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126080 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Can't get the Seam Exception Handling feature to work.
one year later - and the same problem, now with seam 2.0.0. is there already a solution to this? note: if I set a class to the exception like it works! but using just without specifying a class, it does not redirect to desired page. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126074#4126074 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126074 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:fileupload and a4j
FYI: there are already a lot of upload applets out there some R open-source: e.g. jupload, postlet some R commercial ones: e.g. aurigma image uploader View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126072#4126072 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126072 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Can't start JBoss 5 Beta3 with a JRE
Hmmm... I am now able to reproduce this with both JBoss-4.2.2 and JBoss-5.0 Beta3. I have many installations of Java on my system. Most of them are the *JDK installations which also have a JRE*. This is how the folder structure of such installations look like: C: | | | |--- jdk1.5.0_07 | | | | | |--- bin | | | | | | | | all other files | | | | | | | | |--- jre | | | | | | | |--- bin | | | | | | | | | |--- client | | | | | |--- jvm.dll | | | | | | | | | |--- server | | | | | | | | | | | |--- jvm.dll | | | Setting JAVA_HOME to c:\jdk1.5.0_07\jre and running JBoss works fine. The %JAVA_HOME% and java -version output is: | C:\echo %JAVA_HOME% | c:\jdk1.5.0_07\jre | | C:\%JAVA_HOME%\bin\java -version | java version 1.5.0_07 | Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03) | Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode, sharing) | | | Then i also have installations which are *pure JRE installations* (most of the times installed through Windows Updates, but sometimes even manual installations) whose folder structure looks like: C: | | | |--- jre1.5.0_14 | | | | | |--- bin | | | | | | | |--- client | | | | | | | | | |--- jvm.dll | | | No server under bin here. Setting JAVA_HOME to c:\jre1.5.0_14 and running JBoss fails with an error (both in 4.2.2 and 5.0). The %JAVA_HOME% and java -version output is: C:\echo %JAVA_HOME% | c:\jre1.5.0_14 | | C:\%JAVA_HOME%\bin\java -version | java version 1.5.0_14 | Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03) | Java HotSpot(TM) Client VM (build 1.5.0_14-b03, mixed mode, sharing) | When i start JBoss, i get the same error as you: D:\jboss-5.0.0.Beta3\binrun -b 0.0.0.0 | === | | JBoss Bootstrap Environment | | JBOSS_HOME: D:\jboss-5.0.0.Beta3 | | JAVA: c:\jre1.5.0_14\bin\java | | JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 | | CLASSPATH: D:\jboss-5.0.0.Beta3\bin\run.jar | | === | | Error: no `server' JVM at `c:\jre1.5.0_14\bin\server\jvm.dll'. | Press any key to continue . . . | | The run.bat/run.sh script relies on the string hotspot in the java -version output to pass the -server option to the java command while booting JBoss. Looks like this may not always be true. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126075#4126075 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126075 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Can't get the Seam Exception Handling feature to work.
oh sorry, it lost my xml tags: for the first , replace | exception class=javax.servlet.ServletException | for the second one, think of | exception | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126077#4126077 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126077 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Boolean to integer customconverter!!
i am not getting any exception in stacktrace but in ui this exception is throwing RoleEdit.xhtml @48,109 value=#{roleHome.instance.active}: java.lang.IllegalArgumentException: argument type mismatch plese help me View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126076#4126076 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126076 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Newbie here, please help
I want to save a file on the server in a designated folder for each user ? How do I go about doing that ? I saw manuel palacio's example of storing files on the db, but how exactly do I tell it to store it in a specific folder? Cause Java EE are usualy in a .jar folder and that's a bit confusing for me :-??. Any insight or web resources would be greatly appreciated. I tryied different searches on google but they didn't result in what I was searching for. 10x in advance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126078#4126078 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126078 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - General upgrade strategy for new versions of JBoss Tools and
With seam 2.0.1GA and Richfaces 3.1.4 out and JBoss Tools 2.0.1 on the horizon, what is the best upgrade strategy with all these compoments. There are always a couple of good new features that are desireable to use. So how should one integrate these new features in an existing eclipse project. At the moment I wonder if it would be safe to just switch to a new Seam runtime in the project settings. But I saw a bug regarding JEE dependencies. Or would it be better to wait for Tools 2.0.1, start a new project and copy the sources to the new one? And what about integrating Richfaces 3.1.4 into my actual configuration (2.0GA of Tools and Seam), could that cause trouble? Thanks for you answers! Martin View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126071#4126071 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126071 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Can't start JBoss 5 Beta3 with a JRE
Maybe the run.bat/run.sh script could be changed from: anonymous wrote : | rem Add -server to the JVM options, if supported | %JAVA% -version 21 | findstr /I hotspot nul | if not errorlevel == 1 (set JAVA_OPTS=%JAVA_OPTS% -server) to anonymous wrote : rem Add -server to the JVM options, if supported | %JAVA% -server -version 21 | findstr /I hotspot nul | if not errorlevel == 1 (set JAVA_OPTS=%JAVA_OPTS% -server) | After changing this script, JBoss starts fine without problems. Here's the output of java -server -version for various possible combinations: 1) For those who have set JAVA_HOME to the JRE installation inside the JDK ( server is supported ) C:\set JAVA_HOME=c:\jdk1.5.0_07\jre | | C:\echo %JAVA_HOME% | c:\jdk1.5.0_07\jre | | C:\%JAVA_HOME%\bin\java -server -version | java version 1.5.0_07 | Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03) | Java HotSpot(TM) Server VM (build 1.5.0_07-b03, mixed mode) 2) For those who have set JAVA_HOME to a pure JRE installation (server not supported) C:\set JAVA_HOME=c:\jre1.5.0_14 | | C:\echo %JAVA_HOME% | c:\jre1.5.0_14 | | C:\%JAVA_HOME%\bin\java -server -version | Error: no `server' JVM at `c:\jre1.5.0_14\bin\server\jvm.dll'. | The run.bat/run.sh will not set the -server option when this error occurs and moves ahead with starting JBoss. 3) For those who have set JAVA_HOME to a JDK installation (server is supported) C:\set JAVA_HOME=c:\jdk1.5.0_07 | | C:\echo %JAVA_HOME% | c:\jdk1.5.0_07 | | C:\%JAVA_HOME%\bin\java -server -version | java version 1.5.0_07 | Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03) | Java HotSpot(TM) Server VM (build 1.5.0_07-b03, mixed mode) Tested this change (just a possible option) in run.bat/run.sh with Sun JDK/JRE and JBoss starts up fine. Not tested with other JDKs/JREs. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126084#4126084 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126084 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Disabling @PerNestedConversation
File a feature request in JIRA. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126086#4126086 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126086 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam events question
You're trying to observe with a method which takes parameters, and not passing any, or the wrong, parameter. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126101#4126101 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126101 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - authenticating the portal user by using Windows userid
Hi, we have a requirement to authenticate an user based on the windows logged in userid credentials. i.e the portal should not be asking a log-in screen. is there a way this is achievable? any pointers would help. i have used JCIFS NTLM authentication for web based applications. can we use something like it here? thanks robin View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126103#4126103 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126103 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Project layout suggestion
http://jira.jboss.com/jira/browse/JBSEAM-1384 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126100#4126100 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126100 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: lost injected entity bean
Please don't post the same problem multiple times. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126092#4126092 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126092 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Changing Ajax4jsf-filter url-pattern in JBoss Seam 2.0GA
In that case, yes, you need to use a url-pattern on the ajax4jsf filter. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126090#4126090 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126090 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Named conversation and new instance redirected to Home?
1) I think I see the problem. Can you not use s:conversationPropagation type=join / in your page? I agree, it would be nicer to specify this in pages.xml, but unfortunately this isn't possible (this was the original design, but pages.xml isn't processed until much later in the lifecycle). 2) Don't you want to end the conversation after saving the person? Thanks for the feedback :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126089#4126089 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126089 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Error creating component org.jboss.seam.core.resourceBun
Did you actually read what I wrote? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126095#4126095 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126095 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Error while testing using external database
Ok, you need to turn logging up then. I need to see the container and Seam start up. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126093#4126093 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126093 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Cannot instantitate @Embeddable attribute.
I think you must create the embedded component somewhere: e.g. private MonetaryAmount annualIncome = new MonetaryAmont(); and you should really check how ur forum-entries look, before posting :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126099#4126099 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126099 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Sharing persistence between different jar files in ear ?
Use the jar-file tag in persistence.xml: | persistence | persistence-unit name=persistenceunit | jta-data-sourcejndiName/jta-data-source | properties | !-- other properties -- | /properties | jar-file../your-jar-file-thats-also-in-the-root-of-your-ear.jar/jar-file | /persistence-unit | /persistence | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126107#4126107 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126107 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: General upgrade strategy for new versions of JBoss Tools
Nothing magically really. in existing projects: To get the updated functionallity at runtime update the jars from 2.0.1 manually. Change the seam runtime to get the wizards to pick up improvements to the used seam-gen templates. new projects: just use a 2.0.1 runtime. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126110#4126110 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126110 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Error while testing using external database
I'm writing integration tests with JBoss Embedded container, not JBoss AS is involved... I can't reach my laptop right now, I will post the whole log tomorrow... Thanks you all. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126124#4126124 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126124 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Error creating component org.jboss.seam.core.resourceBun
Ok, read it again, and focus on the words aggregate and super bundle. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126123#4126123 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126123 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: NullPointerException from JBossXSEntityResolver
Hi, no, unfortunately the workaround does not solve the issue. Using wsconsume to produce a WSDL from sources, afterwards doing wsprovide to generate sources from that WSDL, creating a dummy implementation for the generated interfaces and deploying all those classes on JBoss produces the very same error. I'm using JBossWS that comes with 4.2.2GA. However, this webservice is only one part of a asynchronous pair of webservices for server-server communications and the second webservice is using Axis on the remote side - so in the meantime I've already decided to stick to simple communications via strings, doing marshalling/unmarshalling with JAXB right before sending and after receiving. I don't have time to further look into this, but anyways, I've uploaded the old WS contract produced by wsconsume right here (http://page.mi.fu-berlin.de/schmidtm/jbossws-jaxb/), so you may reproduce the error. Thanks, Max View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126131#4126131 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126131 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Login issue
Hi, i am facing a strange behaviour running the scenario below: a) user supplied valid username - password and successfully logged in b) press back button on browser c) relogin supplying invalid username or password d) successfully logs in!! it seems that seam 'remembers' that user was already logged in and doesn't call authenticate method, allowing a non existing user to enter. Is that expected? A workaround is to override org.jboss.seam.security.Identity.Identity and call login method as followes: | @Name(org.jboss.seam.security.identity) | @Scope(SESSION) | @Install(precedence = APPLICATION) | @BypassInterceptors | @Startup | public class AppIdentity extends Identity { | | @Override | public String login() { | unAuthenticate(); | return super.login(); | } | | } | | I just wonder why unAuthenticate() is not called through Identity.login() V. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126129#4126129 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126129 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss and NetBeans] - Re: [EMAIL PROTECTED]
Can you provide more details? What did you configured? What type of the project? Did configure the data source? Any details would help a lot. Thanks, P. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126143#4126143 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126143 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:formattedText problem, it does not handle + char
Sorry about that, it works. I sould have done something wrong View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126142#4126142 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126142 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Error creating component org.jboss.seam.core.resourceBun
I have the value tags.While putting on this reply I missed them View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126158#4126158 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126158 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem with Ajax and injection with radio boxes
No, you need to use #{foo.bar} with input controls, otherwise a lot of JSF will break. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126155#4126155 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126155 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: jbpm timer transaction issues
Thanks Pete, I have now filled a JIRA relating to this issue. I've also done some further investigation and discovered that JBPM session is not null. The NPE is caused by a call to getTransactionManager().getTransaction() in Hibernates JTATransaction class that returns null. Its detailed in the jira issue: http://jira.jboss.org/jira/browse/JBSEAM-2575 I'll post in the jbpm forum shortly. BTW Please ignore the previous post about a possible related error uninitialized proxy passed to save. I was accessing the jbpm context in a strange way. For some reason, I was calling: | JbpmContext jbpmContext = Jbpm.instance().getJbpmConfiguration().createJbpmContext() ; | instead of: | @In JbpmContext jbpmContext; | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126152#4126152 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126152 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @In attribute requires non-null value
Bit off topic. But curious is the Identity no longer needed to do authentication with? I see you are injecting it but never setttng it. Is this then still going through Seam security or your own? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126149#4126149 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126149 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: LdapExtLoginModule.java bug? Blank password login succes
Cool! I tried the allowEmptyPasswords option. Works like a charm. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126136#4126136 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126136 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Problem with simple example of @ManyToMany
Created JIRA-issue: http://jira.jboss.com/jira/browse/EJBTHREE-1188 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126147#4126147 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126147 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Error handling with error pages
#{org.jboss.seam.handledException} gives access to the handled exception object. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126146#4126146 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126146 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: How to start a session bean as soon as it is deployed
I'm planning to change this behavior in light of EJB 3.1. The supported way will be to use @PostConstruct in a @Singleton. So for now I would say use @PosConstruct in a @Service bean. Note that the create, start, stop, destroy methods will become deprecated and might disappear completely. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126183#4126183 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126183 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem with Ajax and injection with radio boxes
Pete - never mind ... as long as i initialize the value first it seems to be fine. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126189#4126189 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126189 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Project layout suggestion
Seamgen can also archive the jar/war/ear individually, so I think it's also ok, but I agree regarding the clean separation and the need, Thanks for the reply :-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126191#4126191 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126191 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem with Ajax and injection with radio boxes
[EMAIL PROTECTED] wrote : No, you need to use #{foo.bar} with input controls, otherwise a lot of JSF will break. I changed the bean to Stateful .. and the same issue exists. When the item is not initialized initially on the page the ajax call wont notice it when it gets enabled. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126186#4126186 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126186 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Issue on page param security
Hi, After practicing on page param, I found that page param is very nice, especially on its bidirectional. However, I also found a problem when I used it about its security. For example, I list all my friends , then I click on one of them and get page param friendId=?, e.g. fiendId=3. On the url localhost/friendView.xhtml?friendId=3, if I manually change friendId=5 and press Enter from url, I will get person info of id=5, but the person of id=5 is NOT my friend. So how can I prevent this case? (user manually changes page param from url). Thank you very much in advance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126181#4126181 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126181 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Dynamic Entity Beans
AFAIK it is impossible to generate facelets pages via other storage formats but simple files, Facelets templates/include functionality is very strong, but is only based on files, btw, I also asked these questions in Facelet's forum, Asaf. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126177#4126177 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126177 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Jbom retrieve information
I´m looking for a cleaner solution.. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126206#4126206 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126206 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: jbpm timer transaction issues
I've added an example ear and project source to the jira And I've now posted on the jBPM forums too: http://www.jboss.com/index.html?module=bbop=viewtopicp=4126208#4126208 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126213#4126213 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126213 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @DataModel vs. EL
Naa. That didn't solve it (T_T) Still the same - wrong - status message. Furtheremore, the @In is needed, because the new state has to be entered to the database. This is the JSF that is shown after inscription.startEdit(): | | !DOCTYPE composition PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; | ui:composition xmlns=http://www.w3.org/1999/xhtml; | xmlns:s=http://jboss.com/products/seam/taglib; | xmlns:ui=http://java.sun.com/jsf/facelets; | xmlns:f=http://java.sun.com/jsf/core; | xmlns:h=http://java.sun.com/jsf/html; | xmlns:rich=http://richfaces.org/rich; | template=layout/template.xhtml | | ui:define name=body | | h:messages / | h:form | s:validateAll | fieldset | legendh:outputText value=Persoenliche Daten//legend | h:panelGrid columns=2 | h:outputText value=Vorname:/h:inputText value=#{inscribben.givenName} required=true/ | h:outputText value=Nachname:/h:inputText value=#{inscribben.familyName} required=true/ | h:outputText value=Geburtsdatum:/rich:calendar value=#{inscribben.dateOfBirth} datePattern=MM-dd-/ | h:outputText value=Freiwillige Angaben style=font-weight: bold /h:outputText value= / | h:outputText value=Name des Kindergartens:/h:inputText value=#{inscribben.kindergarten} / | /h:panelGrid | /fieldset | fieldset | legendh:outputText value=Daten des Repraesentanten //legend | h:panelGrid columns=2 | h:outputText value=Vorname: /h:inputText value=#{inscribben.representative.givenName} required=true/ | h:outputText value=Nachname: /h:inputText value=#{inscribben.representative.familyName} required=true/ | h:outputText value=Hauptstrasse: /h:inputText value=#{inscribben.representative.homeAdr.mainStreet} required=true/ | h:outputText value=Querstrasse: /h:inputText value=#{inscribben.representative.homeAdr.transvStreet} required=true/ | h:outputText value=Hausnummer: /h:inputText value=#{inscribben.representative.homeAdr.houseNo} required=true/ | h:outputText value=Stadt: /h:inputText value=#{inscribben.representative.homeAdr.city} required=true/ | h:outputText value=Freiwillige Angaben style=font-weight: bold /h:outputText value= / | h:outputText value=Telefonnummer: /h:inputText value=#{inscribben.representative.telephone} / | h:outputText value=Mobiltelefonnummer: /h:inputText value=#{inscribben.representative.cellphone} / | /h:panelGrid | /fieldset | fieldset | legendh:outputText value=Ueberwachen der Einschreibung //legend | h:panelGrid columns=2 | h:outputText value=Benehmen /h:selectBooleanCheckbox value=#{inscribben.behavior} required=true/ | h:outputText value=Auslastung /h:selectBooleanCheckbox value=#{inscribben.utilization} required=true/ | h:outputText value=Sprache /h:selectBooleanCheckbox value=#{inscribben.language} required=true/ | h:outputText value=Materialien /h:selectBooleanCheckbox value=#{inscribben.materials} required=true/ | /h:panelGrid | /fieldset | fieldset | legendh:outputText value=Evaluation //legend | h:panelGrid columns=6 | h:outputText value=Prozent style=font-weight: bold / | h:outputText value=Perzentil style=font-weight: bold / | h:outputText value=Rang style=font-weight: bold / | h:outputText value=Durchschnitt style=font-weight: bold / | h:outputText value=Aequivalenz style=font-weight: bold / | h:outputText value=Ergebnis style=font-weight: bold / | | h:inputText value=#{inscribben.percentage} / | h:inputText value=#{inscribben.percentil} / | h:inputText value=#{inscribben.rank} / | h:inputText value=#{inscribben.mean} / | | h:selectOneListbox value=#{inscribben.equivalence} size=1 | f:selectItem itemLabel= itemValue= / | f:selectItem itemLabel=buena itemValue=buena / |
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: EJB JAR inside EAR
Let's start with the jars that you are packaging as part of your WAR file. Can you post the output of jar -tf decisionserver.war similar to what you had done for the EAR. You might have to extract that war to some place outside the ear to run this command. What i am interested is the list of jar files contained in this WAR. That might give us a starting point to debug this issue. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126212#4126212 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126212 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Can't start JBoss 5 Beta3 with a JRE
Yes, that's exactly the problem, if its a pure JRE installation, it doesn't have the server directory. Do we need to open up a JIRA issue for this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126211#4126211 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126211 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem with Ajax and injection with radio boxes
lol nope striek that ... it will never switch the value :( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126207#4126207 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126207 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:fileUpload whit portal
Hello. I'm using JBoss 2.0.1.GA and I have same problem in JBoss Portal 2.6.3. When my form is marked as multipart, there is no method invocaction in seam component. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126239#4126239 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126239 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Error handling with error pages
thank you, that was what I was looking for :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126235#4126235 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126235 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Trinidad SelectManyShuttle with seam ?
Apologies, I am new to facelets/JSF and didn't realize exactly how the binding to the backing bean to my commandButton occurs. The commandButton was not inside the same form that contained the selectManyShuttle component. Now it works as expected, thanks. PS: On a related note, I am using trinidad/ajax4jsf/facelets/myfaces/seam combination. Would anyone recommend me to switch to richfaces/facelets/myfaces/seam combination ? Has anyone made successful use of richfaces and the ListShuffle component in a SEAM project? At least by looking at the user doc; richfaces seems like a compelling choice and probably provides just as much if not more than trinidad/ajax4jsf. Thanks, -Guillaume View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126230#4126230 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126230 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to bookmark in Seam PDF?
Done. http://jira.jboss.org/jira/browse/JBSEAM-2578 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126227#4126227 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126227 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @DataModel vs. EL
Sorry, I forgot: I solved the problem by using the Conversation-Scope and @Begin for startEdit and @End for finishEdit - what I should probably have done in the first place. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126223#4126223 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126223 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Accessing USERNAME_PROPERTY from Web Service class
Thanks alessio. I'll look into handlers and see if I can pull the data out that way. If you have any pointers to online docs on how to write and use handlers please forward them. I'd appreciate it. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126224#4126224 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126224 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
Re: [jboss-user] how to subscribe to a topic??
Ernesto, You have to create an account and then you will be able to access and reply to the different topics. Nestor :-) On Feb 4, 2008 5:17 AM, Ernesto Cullen [EMAIL PROTECTED] wrote: how can I subscribe to a topic in this list? I don't see a command for that Ernesto Cullen ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Jboss Tools - Few first questions
anonymous wrote : | trouby wrote : Hey, | | | | anonymous wrote : | | | When the server is running there is a Restart button in the main toolbar. Yeah - should probably be in the menu too (report in jira - thanks) | | | | | | Note: that besides restart we also have the touch functionallity which touches the relevant descriptor depending on your current project type. That will result in the app to be redeployed, removing the need for most restarts. | | | | | | | | | This is weird, right-click on the server menu has a restart button, I guess it was lately added :) | | | | maybe the server just need to be started before Restart button gets activated ;) | | anonymous wrote : | | Did you mean the 'twiddle server' option? | | | | no, I meant the touch feature (which is the finger pointing in the main toolbar) | | anonymous wrote : | | anonymous wrote : | | | You can use a deploy only server which does not actually start nor stop the server, but just maintains the deployment directory. | | | | | | | How do I do that? for now, if the server is stopped any modification to files are not being deployed, then I have to use the clean option, etc... to redeploy everything. | | | | New Server JBoss Deploy only server/runtime | | And then use that server to deploy your projects. | | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126209#4126209 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126209 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: duplicate method: _getAdvisor
Please see the JIRA issue for a workaround to the problem. I was on holidays while this thread was active, so apologies for the delay View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126220#4126220 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126220 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to bookmark in Seam PDF?
Nope, not yet. Sounds like a feature for JIRA. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126219#4126219 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126219 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - h:SelectManyListbox, s:SelectItems and Many-to-Many mapping
Hello. Not sure if I'm addressing a known bug, but here it goes. I'm using Seam 2.0.0.GA, JBoss AS 4.2.2, JDK 1.5 I have a Many-to-Many mapping: Location entity: | private CollectionUserGroup userGroups; | | @ManyToMany(TargetEntity=ro.ebsoft.doorcontrol.applogic.entity.UserGroup.class, | cascade={CascadeType.MERGE, CascadeType.PERSIST}) | @JoinTable(name=UserGroup_Location, | [EMAIL PROTECTED](name=locationId)}, [EMAIL PROTECTED](name=userGroupId)}) | public CollectionUserGroup getUserGroups() { | return userGroups; | } | | public void setUserGroups(CollectionUserGroup userGroups) { | this.userGroups = userGroups; | } | and UserGroup entity | private CollectionLocation locations = null; | | @ManyToMany( | cascade={CascadeType.PERSIST, CascadeType.MERGE}, | mappedBy=userGroups, | targetEntity=Location.class | ) | public CollectionLocation getLocations() { | return locations; | } | | public void setLocations(CollectionLocation locations) { | this.locations = locations; | } | | When adding a new UserGroup, a user can select any number of locations for the group. userGroup.xhtml : | h:selectManyListbox id=locationsListBox value=#{userGroupHome.instance.locations} | disabled=#{not s:hasRole('admin')} | s:convertEntity/ | s:selectItems value=#{locationList.resultList} var=location label=#{location.locationName}/ | /h:selectManyListbox | When I try to save a new group (for instance, with the 2 top locations from the listbox), there's a failed validation. Faces Message: Conversion Error setting value '0 1' for '#{userGroupHome.instance.locations}'. I understand there's a problem binding a Set to a h:selectManyListBox (should use ArrayList). When trying to change CollectionLocation locations; to ArrayListLocation locations; Hibernate notifies that it does not support it (mapping many to many to something else than a Collection). What to do? Does anyone have a fix for this problem? Thank you for your time. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126217#4126217 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126217 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: EJB JAR inside EAR
So what can I do to try and clarify the situation? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126202#4126202 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126202 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Jboss Tools - Few first questions
Hey, anonymous wrote : | When the server is running there is a Restart button in the main toolbar. Yeah - should probably be in the menu too (report in jira - thanks) | | Note: that besides restart we also have the touch functionallity which touches the relevant descriptor depending on your current project type. That will result in the app to be redeployed, removing the need for most restarts. | This is weird, right-click on the server menu has a restart button, I guess it was lately added :) Did you mean the 'twiddle server' option? anonymous wrote : | Good question - I'm not much of webservices guy so don't know if WS 2 requires some special things for the startup. Could you please report it in our jira with info on what WS are not working means (e.g. stacktraces, examples, screenshots etc.) | Well, this is probably related to some startup configurations, how the tools starts Jboss? I guess it does not use the startup shell scripts (run.bat/run.sh/conf/etc...) anonymous wrote : | You can use a deploy only server which does not actually start nor stop the server, but just maintains the deployment directory. | How do I do that? for now, if the server is stopped any modification to files are not being deployed, then I have to use the clean option, etc... to redeploy everything. Thanks for the detailed reply :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126200#4126200 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126200 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: How to start a session bean as soon as it is deployed
Hi All, I got this problem resolved for EJB3 by creating a sar which calls the SessionBean and packaging with my ear as well explained in this link. http://www.tomlauren.com/weblog/archives/14.html When EJB3.1 is officially released I can think of other options. Thanks for all your help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126198#4126198 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126198 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Exceptions during load testing
Yes we are using 1.2.1. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126167#4126167 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126167 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem with Ajax and injection with radio boxes
Pete Just out of curiosity ... i thought the @In was specifically supposed to be used with input controls? I mean i guess you can inject other beans in there. The rest of the code actually works, and this will even work as long as its enabled when one first goes to the page. Or am i misunderstanding what you mean by jsf input controls View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126153#4126153 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126153 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] how to subscribe to a topic??
how can I subscribe to a topic in this list? I don't see a command for that Ernesto Cullen ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: JBOSS really slow on Solaris 64 bit system
Did you solve the problem ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126161#4126161 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126161 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - custom portal + css images
Could you help me in: I created a custom theme and a custom layout. I first put it in a custom dir (mylayout), but later I put it in the themes/maple dir instead. I put the appropriate lines into portal-layouts.xml and portal-themes.xml in portal-core/WEB-INF. My problem is, that even though the stylesheet for my layout gets loaded perfectly, the images do not. My images are in themes/maple/images and I reference them with paths like images/myImage.gif. What am I doing wrong? I copied everything into maple dir, because I hoped the default themes were hardcoded and that might work, but it does not. Why aren't my image urls getting converted, where does the conversion occur? Where do I have to look for the solution? Thanks, John View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126272#4126272 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126272 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss and NetBeans] - Lepik
I am own databases configured login.xml an i.e. and JSP scrip sql:dataSet dataSource=postgresDS url=jdbc:postgresql://localhost:5432/postgres driver=org.postgresql.Driver password='' user=post / sql:query var=query dataSource=postgresDS SELECT * from friend /sql:query Is table name friend and databases postgres.Password is null ,and user post. File postgresDS OK. Is help me ,please View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126247#4126247 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126247 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Hotswap in application server 4.2.0
Hi, I'm working with application server 4.2.0 jboss aop 1.5.6. While debugging the server in remote debug, if I add even a 'space' to class, which is jboss-aop observered, the hotswap fails. The hotswap itself , works just fine when updating a class which isn't jboss-aop observed. How can I make it work in both cases? Thanks in advance! Sharon View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126267#4126267 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126267 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Named conversation and new instance redirected to Home?
I also thank you for the feedback so I tried this: | h:commandLink |styleClass=left clearBoth |action=#{teamManager.select(teamItem)} value=select |s:conversationName value=teamHome/ |s:conversationPropagation type=join / | /h:commandLink | And it does not work, because then the navigation does not work. I click the entry in table I want to edit and it does not redirect at all, method is called, but view stays in table. I think that to use s:conversationPropagation type=join / I have to be inside a long-runnig conversation but I am not when I am in table page. Solution Problem 1. manually join conversations (exactly as you said problem is with different stage of life-cycle) - But I would buy a better solution ;D Solution Problem 2. a)Either End conversation and create new one b)Rename conversation in session bean c)Assign unique id to a session bean for all its life (in this case 'new') View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126294#4126294 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126294 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: new portal page
I didn't really want to change the themes, rather, I wanted to take out things like current user, registration, greetings, the info in the middle ... I just want to make a simple intranet portal that every will have access to. Do I just download the jboss-portal.sar source and remove that stuff? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126295#4126295 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126295 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user