[jboss-user] [JBoss Seam] - Re: Can't get registration sample running on Glassfish
Great, good luck :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061825#4061825 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061825 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Preserving querystring during redirect.captureCurrentVie
Yes, Seam page parameters are preserved. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061824#4061824 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061824 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: bug in exception handling ?
What happens if you add to the exception handler? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061823#4061823 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061823 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Locale switch doesn't remove bundles from context
oops, fixed View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061822#4061822 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061822 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Where is seam-gen getting
Its not hardcoded, its picking up the property set in the build.properties in your root seam dir. I've fixed in CVS. Until then, edit the other build.properties. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061821#4061821 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061821 ___ 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 is tightly coupled with Hibernate validator
Hibernate Validator now works with any JPA provider, check the docs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061820#4061820 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061820 ___ 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 B1 & validateAll
You don't have an s:validate or s:validateAll, do you? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061819#4061819 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061819 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: rich:tree with a simple s:link?!
Sure, bute tkalactomo already did that (http://www.jboss.com/index.html?module=bb&op=viewtopic&t=112758 ) - and I cross-posted, because the richfaces-forum contains lots of unanswered questions: Looks like the richfaces-guys are hanging around in the seam-forum too often since seam-gen elected richfaces as their prime-components... And the Classpath-problem really was seam-specific (or at least specific to any framework that has its code inside the ejb-jar only and uses the rich:tree) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061818#4061818 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061818 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - connection exception
Hi I am new to jboss i deployed my mdb in the server and I am trying to access from my test application and getting the following error please help me to solve this problem. javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost: and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to retrieve stub from server localhost: [Root exception is java.io.EOFException]] at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1414) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:594) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) at javax.naming.InitialContext.lookup(InitialContext.java:347) at de.conti.copc.process.Test.service(Test.java:62) at de.conti.copc.process.Test.main(Test.java:43) Caused by: javax.naming.CommunicationException: Failed to retrieve stub from server localhost: [Root exception is java.io.EOFException] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:263) at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1385) ... 5 more Caused by: java.io.EOFException at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2155) at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2621) at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:734) at java.io.ObjectInputStream.(ObjectInputStream.java:251) at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:250) ... 6 more View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061816#4061816 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061816 ___ 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 B1 & validateAll
Gavin, I still have something wrong. My bean has this method: | @Length(max=2) | public String getNome() | { | return nome; | } | When I submit the form and Nome is shorter then 2 everything works fine. If Nome is longer than 2 I get the following error on the console: | 07:42:57,391 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_2] TwoPhaseCoordinator.beforeCompletion - failed for [EMAIL PROTECTED] | javax.persistence.PersistenceException: org.hibernate.validator.InvalidStateException: validation failed for: mobileAuditor.entity.Asse | at org.hibernate.ejb.AbstractEntityManagerImpl$1.beforeCompletion(AbstractEntityManagerImpl.java:527) | at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:114) | at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:249) | at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:88) | at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177) | at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1256) | at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:135) | at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:87) | at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:140) | at org.jboss.seam.transaction.UTTransaction.commit(UTTransaction.java:47) | at org.jboss.seam.jsf.SeamPhaseListener.commitOrRollback(SeamPhaseListener.java:579) | at org.jboss.seam.jsf.SeamPhaseListener.handleTransactionsAfterPhase(SeamPhaseListener.java:325) | at org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:226) | at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:184) | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:280) | at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:208) | at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:165) | at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138) | at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) | Caused by: org.hibernate.validator.InvalidStateException: validation failed for: mobileAuditor.entity.Asse | at org.hibernate.validator.event.ValidateEventListener.validate(ValidateEventListener.java:143) | at org.hibernate.validator.event.ValidateEventListener.onPreInsert(ValidateEventListener.java:167) | at org.hibernate.action.EntityInsertAction.preInsert(EntityInsertAction.java:152) | at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:45) | at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248) | at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:232) | at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:139) | at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298) | at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27) | at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000) | at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338) | at org.hibernate.ejb.AbstractEntityManagerImpl$1.beforeCompletion(AbstractEntityManagerImpl.java:515) | at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:114) | at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:249) | at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(
[jboss-user] [Messaging, JMS & JBossMQ] - Monitoring new connections to a topic
Hello all! I have an application that will emit a certain JMS message to a topic when a client subscribes to the topic. I am trying to mimic this behavior in JBoss 4.2. I have gone over all of the FAQs, documentation, and wikis I could find but nothing seems to really answer this. I believe Interceptors are the way to go but a few experiments I tried didn't really go anywhere. Is this a non-common requirement and/or is this something trivial and I am missing something obvious? Basically I just want a Thread (or whatever) to sit around and once a subscription is made to a topic... spit out a formatted TextMessage. Sending a message is easy... figuring out when someone connects to the Topic is the problem. I have seen other providers allow this kind of behavior through management topic messages or with connection listeners. JBoss probably has something similar... I just can't seem to find it! Any tips, hints, and flames... would be appreciated. Thanks, Chris View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061814#4061814 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061814 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Annotation Excepton durng Deployment
Hi All ... I am getting this exception while deploying an ear which contains a call to the entity bean from a session bean , does anybody have an idea where the things are going wrong : code: 09:44:13,765 WARN [ServiceController] Problem starting service jboss.j2ee:service=EJB3,module=persist.jar java.lang.RuntimeException: You did not specify a @Resource.mappedName() on private javax.persistence.EntityManagerFactory src.FirstSessionBean.emf and there is no binding for enc name env/src.FirstSessionBean/emf in XML at org.jboss.injection.ResourceHandler.handlePropertyAnnotation(ResourceHandler.java:506) at org.jboss.injection.ResourceHandler.handleFieldAnnotations(ResourceHandler.java:325) at org.jboss.injection.InjectionUtil.processFieldAnnotations(InjectionUtil.java:137) at org.jboss.injection.InjectionUtil.processAnnotations(InjectionUtil.java:174) at org.jboss.ejb3.EJBContainer.processMetadata(EJBContainer.java:354) at org.jboss.ejb3.SessionContainer.processMetadata(SessionContainer.java:120) at org.jboss.ejb3.Ejb3Deployment.processEJBContainerMetadata(Ejb3Deployment.java:288) at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:338) at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) My code goes like this (I have put it in a servlet) :: code: // set the JNDI Properties Properties props = new Properties(); props.setProperty("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory"); props.setProperty("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces"); props.setProperty("java.naming.provider.url", "localhost:1099"); // Session mySession= SessionManager.getManager().getSession("comics"); // ((JNDIConnector)((Session) mySession).getLogin().getConnector()).setLookupType(JNDIConnector.STRING_LOOKUP); // invoke the session bean object try { Context context = new InitialContext(props); // DatabaseLogin login = (DatabaseLogin)mySession.getProject().getLogin(); // javax.sql.DataSource ds = (javax.sql.DataSource) context.lookup("java:system"); // System.out.println("Data Source "+ds); // JNDIConnector connector = new JNDIConnector(ds); // login.setConnector(connector); src.FirstSession myBeabObj = (src.FirstSession) context.lookup("sample123/FirstSessionBean/remote"); myBeabObj.sayHello(Name, Age, Dept); PrintWriter pwWriter = response.getWriter(); pwWriter.println("Before calling Persistence"); // new entityCaller().persistEntity(Name, iAge); pwWriter.println("After calling Persistence"); pwWriter.println("new Deployment"+System.currentTimeMillis()); pwWriter.println("You submitted Age"+Name); pwWriter.println("You submitted Age"+Age); pwWriter.println("You submitted Age"+Dept); // pwWriter.println("The Bean returned this value"+myBeabObj.sayHello(Name , Age , Dept )); System.out.println("Finished Transaction"); } catch (NamingException e) { System.out.println("Exception Reached"); e.printStackTrace(); }// end of try catch block View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061813#4061813 Reply to the post : http://www.jbos
[jboss-user] [Management, JMX/JBoss] - Re: [deploymentinfo] and temporary files
Re-Hot deployment isn't working I cann't delete files under /tmp/ directories beacause there are other application running. Can anybody help me? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061812#4061812 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061812 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Where is seam-gen getting
I've created a JIRA issue here: http://jira.jboss.org/jira/browse/JBSEAM-1624 since it hasn't been listed yet in JIRA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061811#4061811 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061811 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - bug in exception handling ?
Is there a bug in seam 1.2.1.GA after unhandled exception in backing bean method called from pageflow or am I not allowed to throw exceptions from pageflow ? I got a pageflow with a decision: | | | | | The method is a follows: | | public boolean action() | throws test.UserException | { | if (true) { | throw new UserException("e"); | } | | return true; | } | Exception handling in pages.xml | | | | | Unexpected failure | | | When the decision's expression is evalued an endless loop in seam occurs which burns 100% CPU time. Exception stacktrace after quick browser shutdown: | | 04:56:11,640 WARN [lifecycle] couldn't evaluate expression '#{user2.action}' | org.jbpm.JbpmException: couldn't evaluate expression '#{user2.action}' | at org.jbpm.jpdl.el.impl.JbpmExpressionEvaluator.evaluate(JbpmExpressionEvaluator.java:33) | at org.jbpm.jpdl.el.impl.JbpmExpressionEvaluator.evaluate(JbpmExpressionEvaluator.java:20) | at org.jbpm.graph.node.Decision.execute(Decision.java:95) | at org.jbpm.graph.def.Node.enter(Node.java:318) | at org.jbpm.graph.def.Transition.take(Transition.java:151) | at org.jbpm.graph.def.Node.leave(Node.java:393) | at org.jbpm.graph.exe.Token.signal(Token.java:194) | at org.jbpm.graph.exe.Token.signal(Token.java:157) | at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:263) | at org.jboss.seam.pageflow.PageflowHelper.signal(PageflowHelper.java:47) | at org.jboss.seam.core.Pageflow.navigate(Pageflow.java:304) | at org.jboss.seam.jsf.SeamNavigationHandler.handleNavigation(SeamNavigationHandler.java:30) | at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:119) | at javax.faces.component.UICommand.broadcast(UICommand.java:383) | at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447) | at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752) | at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97) | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) | at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63) | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57) | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) | at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60) | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79) | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) | at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at pl.ls.ipaz.web.filters.MainPageForwarder.doFilter(MainPageForwarder.java:92) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) | at org.apache.coyote.http11.Http11Protocol$Http11Conn
[jboss-user] [JBoss Seam] - ICEfaces 1.6 is out.
ICEfaces 1.6 is out. Just a note to say ICEfaces 1.6 is out. Check out the updated component suite on http://www.icefaces.org. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061809#4061809 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061809 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @In(required = false, value =
BTW- I'm using the workaround of looking up the components myself via the FacesContext ViewRoot in the methods that require it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061808#4061808 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061808 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam 2.0 is tightly coupled with Hibernate validator
No offence, I think Hibernate validator is one great product. But does it need to be tightly integrated with Seam 2.0? Since in org.jboss.seam.core.validators, it's @Install(precedence=BUILT_IN) The issue is if user chooses not to use Hibernate as the persistence strategy or Hibernate validator also if that library is not bundled in the appserver such as glassfish. I know it's just a matter of adding hibernate-validator.jar in the classpath. But again if user doesn't use it, won't it just be useless? Will it be better if the precedence is not BUILT_IN? Or are there other thoughts regarding this? Just my two cents View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061807#4061807 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061807 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problems with seam and icefaces (sending emails)
sorry the link isn't working http://www.mimuw.edu.pl/~barter/exampleear.zip This should be fine. At first it gives 403 error (don't know why) but when you try to go to this adress directly it works fine. Sorry for this inconvenience. Thx. again View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061806#4061806 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061806 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @In(required = false, value =
It looks like this could be fixed with a very simple patch to org.jboss.seam.faces.UIComponent to catch the IllegalArgumentException and return null. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061805#4061805 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061805 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problems with seam and icefaces (sending emails)
Dear Pete, Thank you very much for your fast reaction. I've created an Jira issue http://jira.jboss.org/jira/browse/JBSEAM-1623. All you have to do now is download the mail example from the link below, configure the mail server in components.xml in WEB-INF and yous should be able to duplicate the problem. www.mimuw.edu.pl/~barter/exampleear.zip I hope the example is simple enought it's unchanged mail example form seam 1.2.1GA with icefaces installed to get to the webpage u need to go to http://localhost:8080/seam-mail/index.html Hope we'll find solution to this problem! Kind Regards, Karol Oslowski View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061804#4061804 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061804 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Documentation issues
Version: 2.0.0.Beta1 Chapter: 25 Sub chapter: 6 Configuring jBPM in Seam. Since Seam 2.0 uses jpdl 3.2.x, we need to add this element inside the jbpm-context element in jbpm.cfg.xml :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061803#4061803 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061803 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - @In(required = false, value =
Hi all, We have some code that uses the following: | @In(required = false, value = "#{uiComponent['XXX']}") | Some methods in our bean are called when component XXX does not exist in the ViewRoot, which is why we use required = false. However, this fails now in Seam 2, because the Sun RI throws an IllegalArgumentException from UIComponentBase:588. I imagine it worked with MyFaces because it returned null for invalid components rather than throwing exceptions. I think Seam should catch this exception if doing uiComponent injection and required is set to false. thanks, Daniel. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061802#4061802 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061802 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Locale switch doesn't remove bundles from context
Hello, i think, to get the last changes on locale/bundles working, the line 68 in LocaleSelector.java should be changed from Contexts.removeFromAllContexts("org.jboss.seam.core.resourcebundle"); to Contexts.removeFromAllContexts("org.jboss.seam.core.resourceBundle"); Gena View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061798#4061798 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061798 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Can JBoss AOP do dynamic weaving on J2EE application?
Hi all, I've just done "injboss" example of the tutorial. In this example, the weaving for the J2EE application happens at loadtime. And in the "dynamic AOP" example of the tutorial, I learned that JBoss can do dynamic weaving on normal JAVA application. So, my question is if JBoss AOP can do dynamic weaving on J2EE application? If it is possible, what should I do to let my J2EE application be prepared to be weaved? (using "prepare" like in "dynamic AOP" example"?) And, is that anything I need to be aware to make the weaving go through? If it is not possible, does JBoss AOP have any other feature that can let me effect my J2EE application at runtime? That is, change the AOP aspect at runtime. Thank you very much! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061797#4061797 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061797 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Instance.hasRole()...
Calling addRole() when you are not authenticated yet puts the roles into a temporary list. They only become real roles once authentication is complete, which is why calling hasRole() in the authenticator method returns false. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061796#4061796 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061796 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Servlet 2.5 support?
I just installed the nightly tools (JBossTools-200706241629-nightly-ALL-linux-gtk.zip) and was re-adding JSF support to my project. When I am doing so, the servlet version drop down has 2.3 and 2.4. How can I get 2.5 support? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061795#4061795 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061795 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Preserving querystring during redirect.captureCurrentVie
Try to use the page parameters in pages.xml: | | | | if you request "/edit_user.seam?userId=someId" , after login succeeded, you should be redirected to the page with userId set. Gena View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061794#4061794 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061794 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2: is Spring integration totally broken?
Update: removing scope="prototype" from Spring bean definition helped with infinite loop in EL resolver case. But instead I get some huge (houndreds/thousands of lines) stracktraces similiar to the one below. Note: test harness that do not have Seam-managed session works fine. Everything was working fine on Seam 1.3.0 ALPHA/microcontainer. | SEVERE: Session event listener threw exception | org.hibernate.exception.GenericJDBCException: could not get next sequence value | at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103) | at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91) | at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) | at org.hibernate.id.SequenceGenerator.generate(SequenceGenerator.java:96) | at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:99) | at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187) | at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:172) | at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:94) | at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70) | at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:507) | at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:499) | at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:495) | at org.hibernate.search.impl.FullTextSessionImpl.saveOrUpdate(FullTextSessionImpl.java:447) | at org.jboss.seam.persistence.HibernateSessionProxy.saveOrUpdate(HibernateSessionProxy.java:345) | at pecp.client.jsf.backers.userstate.UserStateBacker.sessionCreated(UserStateBacker.java:48) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:21) | at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56) | at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) | at org.jboss.seam.bpm.BusinessProcessInterceptor.aroundInvoke(BusinessProcessInterceptor.java:49) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) | at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061793#4061793 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061793 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Error Jboss whith jbuilder x enterprise
I have configurated jbuilder with jboss-3.2.5, but to do make in jsp page this error me "jsp1.jsp": java.lang.NoClassDefFoundError: org/apache/jasper/JspC please help me View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061792#4061792 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061792 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM 3.2.1 jbpm-console with a different database
ive added extra logging to the web server configuration and am seeing this: | 19:13:44,272 INFO [[localhost]] --- | 19:13:44,273 INFO [[localhost]] authType=FORM | 19:13:44,274 INFO [[localhost]] contentLength=-1 | 19:13:44,275 INFO [[localhost]]contentType=text/html;charset=utf-8 | 19:13:44,276 INFO [[localhost]] header=Pragma=No-cache | 19:13:44,276 INFO [[localhost]] header=Cache-Control=no-cache | 19:13:44,277 INFO [[localhost]] header=Expires=Wed, 31 Dec 1969 19:00:00 EST | 19:13:44,278 INFO [[localhost]]message=Access to the requested resource has been denied | 19:13:44,279 INFO [[localhost]] remoteUser=ernie | 19:13:44,279 INFO [[localhost]] status=403 | 19:13:44,280 INFO [[localhost]] === View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061790#4061790 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061790 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Unwrap question
Thanks to you all! :-) Regards, Ellen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061788#4061788 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061788 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: best way of using application scope constants?
Hi bkroeger, I am now having exactly the same problem like yours (got "failed to lazily initialize " since the entities in the list have their own collections and their collections would be implicitely modified in other stateful beans in my application, not from this dataStore bean...I got rid of this exception with a Foo foo2 = entityManager.merge(foo), but it's so incredibly costly because there are over 7000 foos in the list) I'll try out jazir1979's recommendation soon. Have you got your code work in a reasonably performant way? Please let me know! Thanks! Regards, Ellen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061787#4061787 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061787 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException with iiop
I have fixed my problem, here's the solution in case others are having problems. I had to use rmic.exe in the java runtime to generate the stub classes. I did this in eclipse by selecting Run > External Tools > External Tools from the File Menu I right clicked Program in the external tools dialog and selected New I put -Location: C:\j2sdk1.4.2_11\bin\rmic.exe -Working Dir: ${workspace_loc:/UserIndexEJB/build/classes} (my classes dir of my EJB Project. Arguments: -iiop -classpath .;C:\InfoManager\JavaLibraries\RazorSource\RazorSourceCommon.jar;C:\Development\jboss-4.0.2\server\all\lib\jboss-j2ee.jar;C:\InfoManager\Source\WebAdviser\deploy\WebAdviser.jar;C:\InfoManager\JavaLibraries\Log4j\log4j-1.2.13.jar com.infomanager.ejb.userindex.UserIndex com.infomanager.ejb.userindex.UserIndexHome I clicked Apply and then Run and my stubs were generated. I then right clicked by project and selected Export and exported my bean to an EJB jar file. I then referenced that EJB jar file from my JDeveloper project and violla!!! everything worked. So, I figured this out all by myself. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061786#4061786 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061786 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Accessing jaxws web service gives error complaining abou
It didn't seem to matter how I tried to access the webservice - whether using the generated stubs, creating the service manually, or I even tried axis2 client stubs - I just had no luck when I tried to use the bean from the jmx console. Yet, if I used this client code from a servlet there wasn't a problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061785#4061785 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061785 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Wrong dependancy on JBossIDE JBossAS Adapter Feature (1.0.0
I just noticed that the nighly build insists on wst 1.1.0 (under software updates). Does anyone know how to get around this? It prevents me from installing other plugins. | JBossIDE JBossAS Adapter Feature (1.0.0.200707031655-nightly) requires plug-in "org.eclipse.wst.common.project.facet.core (1.1.0)", or equivalent. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061784#4061784 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061784 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Factory annotation
| List | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061783#4061783 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061783 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Factory annotation
I mean List. :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061782#4061782 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061782 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Factory annotation
maybe the code | int[] names= {"jim","john","tom","mick","bodger","badger"}; | should be like | String[] names= {"jim","john","tom","mick","bodger","badger"}; | And the int[] type in your first method is a bit tricky if you want to do null testI would like to use the Integer[] or better yet, List in your case Regards, Ellen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061781#4061781 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061781 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam2.0beta : tests fail with jdk1.6
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=111930 You can download my patch, compile it (that class requires no other dependency than the jdk), swap out the same class in the jboss-embedded-all.jar. Regards, Ellen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061780#4061780 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061780 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: ejb 3.0 SFSB timeouts
Dear forum, I think that I can almost answer my own question. Looks like removal support was added with EJBTHREE-904 with removalTimeout on the @CacheConfig annotation. Looks like its only available in 4.2.0.GA ;-). Another question that I have is : Is it possible to know via the JMX console which container your SFSBeans have been deployed into and what the parameters of that container are ? Thankyou View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061779#4061779 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061779 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM 3.2.1 jbpm-console with a different database
ive had similar issues now on redhat, windows XP and Vista. i havent had any issues with permissions that ive been able to detect as yet. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061778#4061778 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061778 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Factory annotation
nice one pete you rock View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061777#4061777 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061777 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problems with seam and icefaces (sending emails)
If you can create a *really simple* test case just showing this issue which deploys to a clean install of JBoss AS then I can take a look. As this is icesfaces, I'll need all the libs - put it up on the net and I'll download it. Create a JIRA issue to track. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061776#4061776 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061776 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Problems with seam and icefaces (sending emails)
Dear All, I was very happy to see that there is a new version of icefaces released (1.6). In the release notes it says that it is "fully integrated" with seam 1.2.1 GA, That's why on friday I've moved my project from seam 1.2.0path1 to this version and icefaces (1.6) unfortunatelly there are some problems, namely with rendering of emails using the seam-email capabilities. I get the following exception (probably closely related to the problems described in http://jira.jboss.org/jira/browse/JBSEAM-977: | | 23:36:03,140 ERROR [MailExample] Error sending mail | java.lang.NullPointerException | at org.jboss.seam.mail.ui.MailComponent.encode(MailComponent.java:52) | at org.jboss.seam.mail.ui.MailComponent.encode(MailComponent.java:42) | at org.jboss.seam.mail.ui.AddressComponent.getInternetAddress(AddressComponent.java:28) | at org.jboss.seam.mail.ui.RecipientAddressComponent.encodeBegin(RecipientAddressComponent.java:25) | at org.jboss.seam.ui.JSF.renderChild(JSF.java:171) | at org.jboss.seam.ui.JSF.renderChildren(JSF.java:162) | at org.jboss.seam.mail.ui.UIMessage.encodeChildren(UIMessage.java:159) | at org.jboss.seam.ui.JSF.renderChild(JSF.java:174) | at org.jboss.seam.ui.JSF.renderChildren(JSF.java:162) | at org.jboss.seam.ui.facelet.FaceletsRenderer.renderFacelet(FaceletsRenderer.java:150) | at org.jboss.seam.ui.facelet.FaceletsRenderer.render(FaceletsRenderer.java:112) | at com.levia.youdo.tests.MailExample.send(MailExample.java:41) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:20) | at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:57) | at org.jboss.seam.interceptors.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:47) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69) | at org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:37) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69) | at org.jboss.seam.interceptors.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:34) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69) | at org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:27) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69) | at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103) | at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:151) | at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:87) | at com.levia.youdo.tests.MailExample_$$_javassist_105.send(MailExample_$$_javassist_105.java) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at com.sun.el.parser.AstValue.invoke(AstValue.java:174) | at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:286) | at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68) | at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69) | at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:61) | at javax.faces.component.UICommand.broadcast(UICommand.java:109) | at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:97) | at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:171) | at org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:32) | at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:95) | at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70) | at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(ReceiveSendUpdates.java:57) | at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:45) | at com.icesoft.faces.webapp.http.core.IDVerifier.service(IDVerifier.java:25) | at com.icesoft.faces.webapp.http.servlet.BasicAdaptingServle
[jboss-user] [JBoss Seam] - Re: Where is seam-gen getting
I get the same thing. The path to JBoss Server path in build.properties would appear to be hardcoded to '/Applications/jboss-4.2.0.GA' View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061774#4061774 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061774 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Factory annotation
It should work just fine like this, or in a SLSB. Sounds like its working now anyway. Post back if you have more problems. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061773#4061773 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061773 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Where is seam-gen getting
Could this be a bug? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061772#4061772 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061772 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2: is Spring integration totally broken?
Correction to point 2.3: Seam enters infinite loop AFTER HTTP REQUEST. It deploys normally. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061771#4061771 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061771 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam 2: is Spring integration totally broken?
Env: Tomcat 6.0.13, Spring 2.0.6, Seam CVS snapshot 08-07-2007. Task: I try to get Seam-managed hibernate session to work. Datasource and HibernateSessionFactory are wired by Spring. Then I want to get to that factory from within components.xml, to enable Seam-managed session. I tried both ways to integratie Seam-Spring described in manual. Both failed totally. Both attempts are listed below. components.xml is the same in both cases: | | | | | | | | 1. Attempt: use : FAILED 1.1 Spring context file: | | | | | | | | | | | create | | | | 1.2. Result: nasty exception at startup (in both cases - when Seam listener is before Spring listener in web.xml and the other way): | * 2007-07-08 23:06:12,305 ERROR ContextLoader.initWebApplicationContext():203 | Context initialization failed | org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [conf/spring/persistence-hibernate.xml]; nested exception is java.lang.IllegalStateException: No active application scope | Caused by: | java.lang.IllegalStateException: No active application scope | at org.jboss.seam.core.Init.instance(Init.java:88) | at org.jboss.seam.ioc.spring.SeamNamespaceHandler$SeamComponentBeanDefinitionDecorator.decorate(SeamNamespaceHandler.java:191) | at org.springframework.beans.factory.xml.NamespaceHandlerSupport.decorate(NamespaceHandlerSupport.java:106) | at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.decorateIfRequired(BeanDefinitionParserDelegate.java:1143) | at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.decorateBeanDefinitionIfRequired(BeanDefinitionParserDelegate.java:1132) | at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.processBeanDefinition(DefaultBeanDefinitionDocumentReader.java:237) | at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.java:151) | at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:130) | at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:90) | at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:458) | at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:353) | at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303) | at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:280) | at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131) | at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:147) | at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124) | at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92) | at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101) | at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:389) | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:324) | at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:244) | at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:187) | at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49) | at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334) | at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) | at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) | at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) | at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) | at org.apache.catalina.core.StandardService.start(StandardService.java:516) |
[jboss-user] [JBoss Portal] - Re: RichFaces : sample for ajax jsf portlet provided
Hello, JBoss AS 4.0.5GA or 4.2.0GA or 5 beta? about JBoss AS, I don't remember where, but I read something saying that their would be some problems with 4.2.0 (unfortunately !). look at the wiki... may be you'll find about this. I think it is about JSF and things that are newly organized with the embedded tomcat of that new version of JB AS. It will be resolved, but as I want to try RichFaces (brand new too), I said "let's keep with 4.0.5... not to much change at one time". so my advice is 4.0.5. - JBoss Seam 1.2.1GA or 2.0.0 beta I don't use Seam. I keep my layers (DAO, business object, GUI) separate. On my opinion, and for myself, there is yet a lot to do (and learn) with portal, JSF, RichFaces, EJB3... Seam is intersting... but will try this nice integration concept and features later. - JDK (currently i'm using 1.5) 1.5 is good. no problem with that (portal in dev, portal in prod... working fine). Take the JBoss Portal release, alone or bundle with JB AS 4.0.5. both are fine. The first time, I use the bundle, then upgrade (from RC3) with the alone version. You may want also to update "sometime" your portal with the nightly build. So you have all the new Jira resolved. you can get it here : http://cruisecontrol.jboss.com/cc/artifacts/jboss-portal-trunk-build Note : when trying to deploy it, use the option "deploy-all" to have all the portal features (samples etc...) deployed. The doc does not say to use this option. (see other forum post about this). By the way, you can also use the last version of Hibernate (upgrade the jboss as and portal hibernate jar). It works fine. Look at Hibernate web site to take the latest "best" one : there was a few general problem with one release (for MySQL). I use hibernate3.2.4.sp1 This version of hibernate allow to use annotation with EJB3. Nice. (if you don"t use Seam). (you have to download the annotation jar and etc...). have fun... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061769#4061769 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061769 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: setHeader and setServerURL, using javax.xml.ws.Service?
Hi, first of all consider upgrading to 2.0.GA. To change the web service address dynamically for a request, you might do something like ((BindingProvider)proxy).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, "..."); Bye Alessio Soldano http://www.javalinux.it View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061768#4061768 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061768 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Factory annotation
Hi Pete I was trying to do this... below the only difference between this and what i actually did was that my multiple @Factory annotations were in a stateless session bean I was calling all 3 from a single UI page. The crappy problem i had was that only one of the 3 @Factory variables got added to the scope. and seam ui complained about a needing a not null variable... I wish i could explain it better | | import org.jboss.seam.annotations.Factory; | import org.jboss.seam.annotations.Name; | | @Name("UiStuff") | public class UiStuff | { | |@Factory("ages") |public int[] getAges() { | int[] ages = {18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30}; | return ages; |} | |@Factory("names") |public String[] getNames() { | int[] names= {"jim","john","tom","mick","bodger","badger"}; | return names; |} | |@Factory("reallyRandom") |public String[] getRandomness() { | int[] randomIt= {"john ketly","is","a","weather","man"}; | return randomIt; |} | | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061767#4061767 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061767 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Factory annotation
That is some VERY cool stuff! especially the in components.xml ... im going to look up to see if i can use an XML file to populate the entity rather than a ejbql query VERY VERY FLIPPING COOL I LOVE THIS STUFF View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061765#4061765 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061765 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:selectItems changes in 2.0.0BETA1?
. sorry i seem to have posted on the wrong board View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061764#4061764 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061764 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: advice needed
You should check the content type in your http requests. Valid content types are text/xml(soap1.1) and application/soap+xml (soap1.2) Bye Alessio Soldano http://www.javalinux.it View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061763#4061763 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061763 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - itex barcode
Hi, The tag doesn't implement the barCode UCC/EAN 128; the iText version 2.0.4 implements this barCode; it would be possible that the tag implements that barCode in the next seam version. Bucaramanga, Colombia View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061762#4061762 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061762 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:selectItems changes in 2.0.0BETA1?
That is some VERY cool stuff! especially the in components.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061761#4061761 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061761 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - ejb3 and NO_THROW_ON_ERROR, how can it be set.
We would like to use ejb3 with http. So far things work fine but we get a problem with exceptions. The problem is that we would like to use the same code to connect with http and rmi. This can be done with the proper configuration on the server side. In the http case we get WebServerException where in the rmi configuration we get the proper excpetions that the code can handle. So far based on the documentation and other postings we found out that the NO_THROW_ON_ERROR parameter could be the solution to the dilema. To my understanding this has to be set in the metadata map on the client side. And here comes the problem. To my understanding the client side ejb3 stubs are generated on the server side and transferred to the client. So we do not have direct influence on the invoke method in the remoting package. Is there a solution to set the parameter as a startup property or in the server side configuration? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061760#4061760 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061760 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Factory annotation
Post what you are trying to do with @Factory, then I can tell you what is wrong :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061759#4061759 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061759 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Accessing jaxws web service gives error complaining abou
"rickcr" wrote : For now, I'm just trying to test this from a client running on the same server, so I thought I'd only need the generated Service stub. | ... | What I don't even get is why it's complaining about not being able to find: | net.learntechnology.sample.ejb.slsb.jaxws.ProcessSpec | | I don't even have a package by that name. I have packages that start with net.learntechnology.sample.ejb.slsb but nothing with jaxws.ProcessSpec | | I'm really stumped here. Any idea what I'm doing wrong? Are you keeping the generated Service stub only, without the other generated classes? I think you should keep all generated client classes, which I suspect include something having the jaxws.ProcessSpec package. Bye Alessio Soldano http://www.javalinux.it View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061757#4061757 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061757 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Factory annotation
Cheers man ill give it a look Any idea about the use of multiple @factory annotations in a stateless bean? Cheers again Pete View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061756#4061756 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061756 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: using LDAP with Seam security framework
It just works(tm). All you have to do is to create a JAAS domain. See http://wiki.jboss.org/wiki/Wiki.jsp?page=LdapLoginModule. Regards Felix View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061755#4061755 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061755 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Problem Accessing Web Service
I'd check the deployment; are client and server side sharing classes? JBossWS stack throws that exception when it can't find @WebService annotation on the specified SEI, thus I suspect the class it's checking for annotation is not what you think it should be (classloading issue?) Bye Alessio Soldano http://www.javalinux.it View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061754#4061754 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061754 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Stateful Bean and Ressource Injection
Hello, I need a stateful bean that can access a JMS queue. So I use the @Ressource to map to the connection factory and the queue. Untill there everything is OK. But during the passivation the connection factory can not be serialized. Does this mean that I can not use injection into a stateful bean if this ressouce is not serializable JMM View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061753#4061753 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061753 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Unsupported content type: application/x-www-form-urlenco
MessageFactoryImpl is throwing that exception since it only supports text/xml and application/soap+xml content types. I'd suggest to check your ajax client's requests. Alessio Soldano http://www.javalinux.it View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061751#4061751 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061751 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM 3.2.1 jbpm-console with a different database
It looks like you're having a problem at the OS level. Most probably a file permission issue. What OS are you using? In case you're using Linux make sure you set the proper permission for your files View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061750#4061750 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061750 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Preserving querystring during redirect.captureCurrentView()
Is there a way to preserve the querystring during redirect.captureCurrentView()? I have a requirement which states that some screen elements are to be displayed when the user is logged in, otherwise, display a login link. This page has querystring parameters which need to be preserved after the login challenge, to allow for bookmarking. It appears as though this code from Redirect.captureCurrentView() only preserves the submitted values parameters = Pages.instance().getViewRootValues(context); The next issue will be that a redirect is happening, in which case the client will still have the URL of the login page in the address bar. I'm thinking about doing something like this, where the first action will capture the querystring and and add them to the current view: | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061749#4061749 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061749 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam s:link fetchs list multiple times. big error !
anonymous wrote : It doesn't cache the result of a valuebinding. .. then why | | | id | #{region.id} | | | #{messages.region_name_label} | #{region.name} | | | ... does not make extra fetchs, even thou it uses region var, and | | | | | | ... does them ? If only s:link makes those extra fetchs, I don't believe that is default behavior. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061746#4061746 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061746 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam securityand servlets
Hi! My seam app is called by http://myapp:8080/ I need to require login if calling a servlet like http://myapp:8080/servlet? I tried different syntaxes in pages.xml: | | | | ... | | /run and /run/* don't work. Could you suggest me the right way to do that, please? Thank you, Nico View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061745#4061745 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061745 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Identity.hasRole()...
first I realized the subject said Instance.hasRole() in stead of Identity. That was just a typo in the forum by me. So I have followed all the instructions and I can't seem to find where I'm going wrong.. It's basic security no drools. Seamgen created the components.xml with a basic drools file.. I tried with and with out that file.. With @In Identity, with Identity ident = Identity.instance() and Identity.instance() everywhere. This is Seam 2.0Beta with JBoss 4.2.0GA.Windows XP and M$SQL Server for the DB. Funny thing is I used seam generate-entities which enables security for the Edit actions on entities. This works just fine with my Authenticator module so I'm guessing I'm doing something right. :-) By the way.. Does anyone know what the security is for the edit pages created by generate-entity?Is it loggedIn? or hasRole("admin")??? Many Thanks!!! Gary Here's the output of log.info messages: | 12:42:01,392 INFO [Authenticator] adding role: ROLE_VIEW to user: superuser | 12:42:01,392 INFO [Authenticator] adding role: ROLE_RUN_LINK to user: superuser | 12:42:01,392 INFO [Authenticator] customer:3 | 12:42:01,392 INFO [Authenticator] Has Role: No | 12:42:01,392 INFO [Authenticator] has Role2: No | Here's my Components.xml: | | http://jboss.com/products/seam/components"; | xmlns:core="http://jboss.com/products/seam/core"; | xmlns:persistence="http://jboss.com/products/seam/persistence"; | xmlns:drools="http://jboss.com/products/seam/drools"; | xmlns:security="http://jboss.com/products/seam/security"; | xmlns:mail="http://jboss.com/products/seam/mail"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation= | "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.0.xsd | http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.0.xsd | http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-2.0.xsd | http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.0.xsd | http://jboss.com/products/seam/mail http://jboss.com/products/seam/mail-2.0.xsd | http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.0.xsd";> | | | | | | | customerFilter | | customerId | #{customerId} | | | | | | #{customerFilter} | | | | | | | | | | | | | | | | | Here's my Authenticator code: | @Name("authenticator") | public class Authenticator { | @Logger | Log log; | | @In | EntityManager entityManager; | | public boolean authenticate() { | try { | UserAccount user = (UserAccount) entityManager | .createQuery( | "from UserAccount where name = :username and authenticationCredentials = :password") | .setParameter("username", Identity.instance().getUsername()) | .setParameter("password", Identity.instance().getPassword()) | .getSingleResult(); | if (user.getAuthoritieses() != null) { | for (Authorities role : user.getAuthoritieses()) { | log.info("adding role: #0 to user: #1", role.getAuthority(), Identity.instance().getUsername()); | Identity.instance().addRole(role.getAuthority()); | } | } | Identity.instance().addRole("admin"); | log.info("customer:#0", user.getCustomer().getCustomerId()); | log.info("Has Role: #0", (Identity.instance().hasRole("ROLE_RUN_LINK"))?"Yes":"No"); | log.info("has Role2: #0", (Identity.instance().hasRole("admin"))?"Yes":"No"); | Contexts.getSessionContext().set("customerId", user.getCustomer().getCustomerId()); | return true; | } catch (NoResultException ex) { | FacesMessages.instance().add("Invalid username/password"); | return false; | } | } | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061744#4061744 Reply to the post : http://www.jboss.com/index.html?m
[jboss-user] [JBoss Seam] - Re: @Asynchronous @Observer - Poll & raising
"getComputeSessionVisus" is not properly raised by the asynchronous method "processGetComputes" through "events.raiseTransactionSuccessEvent("flushComputeSessionVisus");" View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061743#4061743 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061743 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: java.lang.NoClassDefFoundError: javax/el/ELContext
Yes - Seam2 is targeted at JBoss AS 4.2.0.GA - if you are starting out, and can run 4.2.0.GA then you should. Otherwise the docs contain instructions for using Seam with 4.0.5.GA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061742#4061742 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061742 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss failing to start with Wrong database file version
When you shutdown the app server, Hypersonic creates two files in the server/xxx/data/hypersonic directory (where xxx is the configuration name, such as 'default'). It would appear that one or both of those files has been corrupted. You can remove that directory and the app server should start without errors. Of course you will lose any data that was stored in that database, but then you should not use Hypersonic to store important data anyway. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061741#4061741 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061741 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: java.lang.NoClassDefFoundError: javax/el/ELContext
"[EMAIL PROTECTED]" wrote : You've followed the guide for deploying Seam2 apps to JBoss 4.0.5.GA and copied the needed jars to the AS? About two months ago I built a prototype for an app using Seam1 and then didn't need to manually copy any jars to JBoss 4.0.5GA.I guess things have changed then :) .This is my first time trying out Seam2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061740#4061740 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061740 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jBPM 3.2.1 jbpm-console with a different database
i started off trying to customize JBoss AS to use jbpm but after a lot of unsuccessful fiddling, i decided to minimize the variables in the installation and use the installation included in the jbpm-jpdl-3.2.1 bundle. the only change i wanted to make was to change the database. I've read the many wiki entries on switching databases with jbpm. i populated the database using the dbCreate class and that seemed to work fine using the sesamestreet.xml. i'm running run.bat -c jbpm from the server/bin directory in the installation. before i make my changes, users can log in using the included hypersonic database with the manager role etc. afterwards, all i get i security errors trying to even log in. here's my change set: 1. deployed the postgres jdbc driver: postgresql-8.2-504.jdbc3.jar 2. jbpm-ds: i modified as below: | | | | | JbpmDS | jdbc:postgresql://localhost:5432/jbpm | org.postgresql.Driver | jbpm | jbpm | | PostgreSQL 8.1 | | | | 3. the jbpm-console.war in the deploy directory i exploded, modified the hibernate.cfg.xml as follows: org.hibernate.dialect.PostgreSQLDialect | the hibernate file was already pointing to the right datasource - java:/JbpmDS so i didnt change it i then re-zipped it and redeployed it into the deploy directory. what i get when i try to log in is: Access to the specified resource (Access to the requested resource has been denied) has been forbidden. - a 403 error. and there are no exceptions in the server log. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061739#4061739 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061739 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: java.lang.NoClassDefFoundError: javax/el/ELContext
You've followed the guide for deploying Seam2 apps to JBoss 4.0.5.GA and copied the needed jars to the AS? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061738#4061738 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061738 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: java.lang.NoClassDefFoundError: javax/el/ELContext
Seam version : jboss-seam-2.0.0.BETA1 JBoss version : jboss-4.0.5.GA The startup log for Seam (from when it says welcome to Seam): 16:35:53,724 INFO [ServletContextListener] Welcome to Seam 2.0.0.BETA1 | 16:35:53,740 INFO [Scanner] scanning: /C:/jboss-4.0.5.GA/server/default/./deploy/shoppingcart.war/WEB-INF/lib/jboss-seam-ioc.jar | 16:35:53,756 INFO [Scanner] scanning: /C:/jboss-4.0.5.GA/server/default/./deploy/shoppingcart.war/WEB-INF/lib/jboss-seam-ui.jar | 16:35:53,756 INFO [Scanner] scanning: /C:/jboss-4.0.5.GA/server/default/./deploy/shoppingcart.war/WEB-INF/lib/jboss-seam.jar | 16:35:53,787 INFO [Scanner] scanning: /C:/jboss-4.0.5.GA/server/default/./deploy/shoppingcart.war/WEB-INF/lib/jboss-seam-remoting.jar | 16:35:53,787 INFO [Initialization] Namespace: http://jboss.com/products/seam/international, package: org.jboss.seam.international, prefix: org.jboss.seam.international | 16:35:53,802 INFO [Initialization] Namespace: http://jboss.com/products/seam/security, package: org.jboss.seam.security, prefix: org.jboss.seam.security | 16:35:53,802 INFO [Initialization] Namespace: http://jboss.com/products/seam/persistence, package: org.jboss.seam.persistence, prefix: org.jboss.seam.persistence | 16:35:53,802 INFO [Initialization] Namespace: http://jboss.com/products/seam/remoting, package: org.jboss.seam.remoting, prefix: org.jboss.seam.remoting | 16:35:53,802 INFO [Initialization] Namespace: http://jboss.com/products/seam/core, package: org.jboss.seam.core, prefix: org.jboss.seam.core | 16:35:53,802 INFO [Initialization] Namespace: http://jboss.com/products/seam/async, package: org.jboss.seam.async, prefix: org.jboss.seam.async | 16:35:53,802 INFO [Initialization] Namespace: http://jboss.com/products/seam/drools, package: org.jboss.seam.drools, prefix: org.jboss.seam.drools | 16:35:53,802 INFO [Initialization] Namespace: http://jboss.com/products/seam/spring, package: org.jboss.seam.ioc.spring, prefix: org.jboss.seam.ioc.spring | 16:35:53,802 INFO [Initialization] Namespace: http://jboss.com/products/seam/mail, package: org.jboss.seam.mail, prefix: org.jboss.seam.mail | 16:35:53,802 INFO [Initialization] Namespace: http://jboss.com/products/seam/transaction, package: org.jboss.seam.transaction, prefix: org.jboss.seam.transaction | 16:35:53,802 INFO [Initialization] Namespace: http://jboss.com/products/seam/web, package: org.jboss.seam.web, prefix: org.jboss.seam.web | 16:35:53,802 INFO [Initialization] Namespace: http://jboss.com/products/seam/theme, package: org.jboss.seam.theme, prefix: org.jboss.seam.theme | 16:35:53,802 INFO [Initialization] Namespace: http://jboss.com/products/seam/navigation, package: org.jboss.seam.navigation, prefix: org.jboss.seam.navigation | 16:35:53,802 INFO [Initialization] Namespace: http://jboss.com/products/seam/bpm, package: org.jboss.seam.bpm, prefix: org.jboss.seam.bpm | 16:35:53,802 INFO [Initialization] Namespace: http://jboss.com/products/seam/framework, package: org.jboss.seam.framework, prefix: org.jboss.seam.core.framework | 16:35:53,802 INFO [Initialization] Namespace: http://jboss.com/products/seam/jms, package: org.jboss.seam.jms, prefix: org.jboss.seam.jms | 16:35:53,802 INFO [Scanner] scanning: /C:/jboss-4.0.5.GA/server/default/./deploy/shoppingcart.war/WEB-INF/lib/jboss-seam-debug.jar | 16:35:53,802 INFO [Scanner] scanning: /C:/jboss-4.0.5.GA/server/default/./deploy/shoppingcart.war/WEB-INF/lib/jboss-seam-mail.jar | 16:35:53,802 INFO [Scanner] scanning: C:\jboss-4.0.5.GA\server\default\.\deploy\shoppingcart.war\WEB-INF\classes | 16:35:53,802 INFO [Scanner] scanning: /C:/jboss-4.0.5.GA/server/default/./deploy/shoppingcart.war/WEB-INF/lib/jboss-seam-pdf.jar | 16:35:53,802 INFO [Initialization] Namespace: http://jboss.com/products/seam/pdf, package: org.jboss.seam.pdf, prefix: | 16:35:53,818 INFO [Initialization] reading /WEB-INF/components.xml | 16:35:53,959 INFO [Initialization] reading jar:file:/C:/jboss-4.0.5.GA/server/default/./deploy/shoppingcart.war/WEB-INF/lib/jboss-seam-ioc.jar!/META-INF/components.xml | 16:35:53,959 INFO [Initialization] reading jar:file:/C:/jboss-4.0.5.GA/server/default/./deploy/shoppingcart.war/WEB-INF/lib/jboss-seam-remoting.jar!/META-INF/components.xml | 16:35:53,959 INFO [Initialization] reading jar:file:/C:/jboss-4.0.5.GA/server/default/./deploy/shoppingcart.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/components.xml | 16:35:53,959 INFO [Initialization] reading jar:file:/C:/jboss-4.0.5.GA/server/default/./deploy/shoppingcart.war/WEB-INF/lib/jboss-seam.jar!/META-INF/components.xml | 16:35:53,974 INFO [Initialization] reading properties from: /seam.properties | 16:35:53,974 INFO [Initialization] reading properties from: /jndi.properties | 16:35:53,974 INFO [Initialization] initializing Seam | 16:35:54,021 INFO [Scanner] scanning: /C:/jboss-4.0.5.GA/server/default/./deploy/shopp
[jboss-user] [JBossWS] - (HTTPS + Basic HTTP Authorization + Proxy Server) and Webser
Hi, I have created the same simple hello web service following the same steps as mentioned in the JBOSS chapter 12 document (http://docs.jboss.org/jbossas/jboss4guide/r2/html/ch12.html). JBOSS version: JBoss [Zion] 4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339. JBOSSWS version: jbossws-1.0.3.SP1 (date=200609291417). I have deployed the web service on a external server that lives on the internet. The access from my machine to the server is through a proxy server which is a Microsoft ISA 2004 SP2 on windows 2003 server in cluster mode (two array members). I am trying to protect the web service through basic HTTP authentication + HTTPS authentication. I have written two types of clients to the web service. i) Stub based consumer. ii) DII based consumer. Following are the scenarios where these clients fail. i) Stub based client does not work as soon as I enabled HTTPS on the server. ii) DII based client works in the above scenario but fails when I enable basic authentication in addition to HTTPS on the server. iii) ALL WORKS WELL IF THERE IS NO PROXY SERVER FOR STUB BASED CONSUMER. I HAVE NOT TRIED THE SAME FOR DII BASED CONSUMER. I have set the required user name/password and also set the proxy related properties in my source code. Following are my findings: i. DII based mechanism of invoking the web service (All scenarios with proxy server which is a Microsoft ISA). Works with only HTTP. Works with only HTTPS. Works with HTTP + Basic authentication. Does not work with HTTPS + basic authentication. ii. Stub based mechanism of invoking the web service (All scenarios with proxy server which is a Microsoft ISA). Works with only HTTP. Works with HTTP + Basic authentication. Does not work with HTTPS. Does not work with HTTPS + basic authentication. [Follows from above.] The output that I see is following [I have set the debug property to ssl]: instantiated an instance of class com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl After this line my client hangs forever. My thread dump shows that a socket is waiting for read operation to complete. [If needed I can post the dump as well.] I am in real urgent need of a solution as this scenario has stalled our release. Thanks in advance Best Regards, Vishal View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061736#4061736 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061736 ___ 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 registration sample running on Glassfish
Thanks Gavin. I finally got it going on Glassfish. I just needed to read the reference manual a bit more seriously and it helped a lot. But now I am beginning to get a feel of it and I must admit that Seam seem seams to be the most innovative framework that I have ever worked! Thanks Vimal View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061735#4061735 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061735 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: numbering of portlet instances in management portlet use
Thanks for the report ! I will create the Jira task for it. Can you confirm that it happens on 2.6.0.GA ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061734#4061734 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061734 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ClassCastException - FullTextHibernateSessionProxy
Hi, I added hibernate-search.jar in my ear. Now my seam app works well :) Thanks a lot. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061733#4061733 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061733 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - numbering of portlet instances in management portlet uses ne
small issue with management portlet, portlet instances tab the numbering uses negative number, it goes 0,20,40,60,80,100,120,-116,-96,-76,-56,36,-16,4,24 etc... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061731#4061731 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061731 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ClassCastException - FullTextHibernateSessionProxy
Hi, I tested with new Seam CVS. The previous code worked well in integrating testing environment(ant test), but the diffrent ClassCastException was thrown in JBoss AS 4.2.0. | Caused by java.lang.ClassCastException with message: "org.hibernate.search.impl.FullTextSessionImpl" | | org.jboss.seam.persistence.HibernateSessionProxy.getDelegateSessionImplementor(HibernateSessionProxy.java:401) | org.jboss.seam.persistence.HibernateSessionProxy.list(HibernateSessionProxy.java:566) | org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:283) | seam.study.criteria.CriteriaTestingBean.search(CriteriaTestingBean.java:74) | The following: all stack trace | Exception during request processing: | Caused by javax.el.ELException with message: "java.lang.ClassCastException: org.hibernate.search.impl.FullTextSessionImpl" | | org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:329) | org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:338) | org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58) | org.jboss.el.parser.AstValue.invoke(AstValue.java:96) | org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276) | org.jboss.seam.core.Expressions$2.invoke(Expressions.java:174) | org.jboss.seam.navigation.Pages.callAction(Pages.java:595) | org.jboss.seam.navigation.Pages.preRender(Pages.java:297) | org.jboss.seam.jsf.SeamPhaseListener.preRenderPage(SeamPhaseListener.java:541) | org.jboss.seam.jsf.SeamPhaseListener.beforeRender(SeamPhaseListener.java:473) | org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:146) | org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:116) | com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:222) | com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) | javax.faces.webapp.FacesServlet.service(FacesServlet.java:245) | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) | org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:70) | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:87) | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:63) | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:46) | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127) | org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277) | org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:40) | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60) | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:140) | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) | org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) | org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) | org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) | org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) | org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) | org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) | org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241) | org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) | org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580) | org.apache.tomcat.util.
[jboss-user] [JBoss Seam] - Re: Prevent binding of attributes during update phase
Hi Gavin, Thanks for your reply as well. I will have a look to what you suggested too. Yeah, I never meant to use JS - just as a simple example of how to spoof something. :) Martijn View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061729#4061729 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061729 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: converter and dropdowns
no when i debug it goes into the get method as the page renders but when i change the value it does not call the set.. cant see any messages. | | | | | | | | | | | | | | | my screen now looks like this was trying out different things.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061728#4061728 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061728 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: converter and dropdowns
So the problem is that the setter doesn't get called? Use your debugger to check. Do you get any JSF error messges from h:mesasges? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061727#4061727 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061727 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: war classloader
It seems that I found a way: WEB-INF/jboss-web.xml has to contain: | | test:loader=unique-archive-name | | However now I have: anonymous wrote : | java.lang.NoClassDefFoundError: javax/servlet/ServletConfig | at com.sun.xml.ws.transport.http.servlet.WSServlet.init(WSServlet.java:44) | at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105) | at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932) | at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4201) | at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) | at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | even if jar is available in lib folder View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061726#4061726 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061726 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam2 Beta s:formattedText bug?
Yes, the ResponseWriter could be nicer here ;) But I think its reasonable for it to not blow up like this. Fixed in CVS. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061725#4061725 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061725 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Class type issue
I would guess this is Hibernate using proxies to support lazy fetching. Take a look at Seam.getEntityClass for how we deal with this in Seam (its a very simple deproxy). You could wrap this up in a facelets function... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061724#4061724 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061724 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How to access in code to the Window Properties map in do
When people make the effort to answer other people, you just don't make fun of them. If you are not satisfied by the level of the answers on the forum, you can request professional support, that's why it exists. No harm done, but please don't refrain people from trying to help, they have nothing to earn. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061723#4061723 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061723 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: java.lang.NoClassDefFoundError: javax/el/ELContext
Which version of Seam, which version of JBoss, the startup log for Seam (from when it says welcome to Seam), the whole stack trace, please use [ code ] tags. The output of ls -R to show the contents of the deployed archives. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061722#4061722 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061722 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @DataModel problem
Post the whole stack trace View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061721#4061721 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061721 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: converter and dropdowns
| | @Name("jobManagerHome") | public class JobManagerHome extends EntityHome { | | | private int MODE = 0; | | public static final int jobDetailMode = 1; | public static final int tankeringMode = 2; | public static final int jettingMode = 3; | public static final int cctvMode = 4; | | | | JobType selectedJobType; | | @In(create = true) | JobHome jobHome; | | public JobManagerHome() { | | } | | public void setJobDetailId(Integer id) { | setId(id); | } | | public Integer getJobDetailId() { | return (Integer) getId(); | } | | @Override | protected JobDetail createInstance() { | JobDetail jobDetail = new JobDetail(); | return jobDetail; | } | | public void wire() { | Job job = jobHome.getDefinedInstance(); | if (job != null) { | getInstance().setJob(job); | } | } | | public boolean isWired() { | if (getInstance().getJob() == null) | return false; | return true; | } | | public JobDetail getDefinedInstance() { | return isIdDefined() ? getInstance() : null; | } | | public void addToJob(){ | System.out.println("attempt add to job"); | getInstance().setJob(jobHome.getInstance()); | jobHome.getInstance().addJobDateail(getInstance()); | persist(); | System.out.println("finished add to job"); | } | | | | public void changed(ValueChangeEvent event){ | System.out.println("changed"); | if(getInstance() != null){ | System.out.println(getInstance().getJob_type()); | } | | } | public void test(){ | System.out.println("test"); | } | | public void isTest(){ | System.out.println("is test"); | } | | public void setJobDetailMode(int mode) { | MODE = mode; | } | | // provides the drop down info | public Vector getJobDetailTypesRefData() { | return JobDetailTypesRefData.getJobDetailTypes(); | | } | | | public JobType getSelectedJobType() { | return selectedJobType; | } | | public void setSelectedJobType(JobType selectedJobType) { | this.selectedJobType = selectedJobType; | } | | public boolean isJobDetailMode(){ | return true; | /*if(selectedJobType != null && selectedJobType.getId()==2){ | return true; | }return false;*/ | } | | | | | | } | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061720#4061720 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061720 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JSFC with custom converters?
Ask this on the facelets list. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061719#4061719 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061719 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Attribute display
Try #{messages['gender.'foo.gender]} I can't remember if it works. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061718#4061718 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061718 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - using LDAP with Seam security framework
Hi, According to section 20.1 of book "JBoss Seam Simplicity and Power Beyond Java" somebody could use an LDAP server for authentication needs. I am wondering if anybody has used an LDAP server with Seam security framework, and if can he/she give me an example. By the way, which open-source LDAP server is preferred to use with Seam? I know this is not a pure seam question. Sorry about that. Thanks a lot View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061717#4061717 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061717 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: question on injection with multiple forms
You have got some variable naming (captitalisation) issues in there for a start. Do you have a factory or component for property? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061716#4061716 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061716 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - design scenario, session bean usage
Hi, Using swing client talks to ejb 3 server. The swing UI consists of 2 major panels: menu tree nodes panel and content panel, which display the detail for the selected sub menu nodes. The server provides ex. 3 tpyes of services (thus the swing UI has 3 sub menu), using session bean talks with entity beans. some of the requirements are: session time out is configurable on the fly (by admin role), every content panel should be able to auto-refresh every 2 minute. As to the design scenario, I'm wondering: 1. Which is better in the following designs: A. one remote session bean per service, thus there are 3 session beans; B. a remote session bean talks with 3 local session beans, thus totally 4 session beans 2. using stateless or stateful bean(to satisfy time out), why, how? Thanks John View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061715#4061715 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061715 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Getting objects from conversation in a custom PhaseListe
It's probably better to do this in a servlet - take a look at the org.jboss.seam.ui.resource.StyleResource. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061714#4061714 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061714 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user