[jboss-user] [JBoss Portal] - Re: automatically deploy one portlet inside the dashboard on
Hi, You should modify your template portal with admin user. After this, create a new user. This user must have your new dashboard configuration. Old users keep the old template configuration (the one when they were created). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4185072#4185072 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4185072 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How to set the theme programatically
Hi, JBoss Portal 2.7.0 CR1. I have the same question, but I've noticed that it's possible to change the portal theme on a user basis using the dashboard area. Is it possible to change themes for regular portal objetcs like admin and default on a user basis?!? I've also noticed that users are children objects from dashboard object, but there's no users as children objects from default portal object, for example. Thanks for any help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4184955#4184955 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184955 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - helloworldjsfmyfacesportlet sample issue?
Hi, I'm starting with JBoss Portal and following the track on Reference Guide. I could manage to get helloworldportlet.war, helloworldjspportlet.war and helloworldjsfsunriportlet.war working. But I had troubles with helloworldjsfmyfacesportlet.war. I'm using JBoss Portal 2.6.5.SP1 bundled and deploying .war inside this packege http://anonsvn.jboss.org/repos/portletswap/portlets/2_6/bundles/HelloWorldJSFMyFaces42Portlet.zip Portlet doesn't show up on home like the others. Thanks. Deploy log: | 13:22:33,383 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 37s:525ms | 13:22:43,413 INFO [TomcatDeployer] deploy, ctxPath=/helloworldjsfmyfacesportlet, warUrl=.../tmp/deploy/tmp61318helloworldjsfmyfacesportlet-exp.war/ | 13:22:43,532 INFO [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml | 13:22:43,569 INFO [FacesConfigurator] Reading config /WEB-INF/faces-config.xml | 13:22:43,579 INFO [FacesConfigurator] MyFaces-package : myfaces-api not found. | 13:22:43,579 INFO [FacesConfigurator] MyFaces-package : myfaces-impl not found. | 13:22:43,579 INFO [FacesConfigurator] MyFaces-package : tomahawk-sandbox not found. | 13:22:43,580 INFO [FacesConfigurator] MyFaces-package : tomahawk not found. | 13:22:43,628 WARN [LocaleUtils] Locale name in faces-config.xml null or empty, setting locale to default locale : en_US | 13:22:43,707 INFO [FacesConfigurator] Serialization provider : class org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory | 13:22:43,715 INFO [StartupServletContextListener] ServletContext '/home/asalvati/java/jboss-portal-2.6.5.SP1/server/default/./tmp/deploy/tmp61318helloworldjsfmyfacesportlet-exp.war/' initialized. | 13:22:43,780 INFO [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml | 13:22:43,798 INFO [FacesConfigurator] Reading config /WEB-INF/faces-config.xml | 13:22:43,805 INFO [FacesConfigurator] MyFaces-package : myfaces-api not found. | 13:22:43,805 INFO [FacesConfigurator] MyFaces-package : myfaces-impl not found. | 13:22:43,805 INFO [FacesConfigurator] MyFaces-package : tomahawk-sandbox not found. | 13:22:43,805 INFO [FacesConfigurator] MyFaces-package : tomahawk not found. | 13:22:43,805 WARN [LocaleUtils] Locale name in faces-config.xml null or empty, setting locale to default locale : en_US | 13:22:43,806 INFO [RenderKitFactoryImpl] RenderKit with renderKitId 'HTML_BASIC' was replaced. | 13:22:43,807 WARN [FacesConfigurator] More than one managed bean w/ the name of 'user' - only keeping the last | 13:22:43,807 INFO [FacesConfigurator] Serialization provider : class org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory | 13:22:43,810 INFO [MyFacesGenericPortlet] PortletContext '/home/asalvati/java/jboss-portal-2.6.5.SP1/server/default/./tmp/deploy/tmp61318helloworldjsfmyfacesportlet-exp.war/' initialized. | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4166484#4166484 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166484 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - [Process Image Not Available] on jbpm-console
Hi, I am using JBoss JBPM 3.2.2 and deploying Seam's TODO quickstart in an 4.2.2 server. I noticed that the process (todo) shows up in jbpm-console process list, but there is no process image available (I get [Process Image Not Available] message on screen) followed by the warning above. When I deploy the same process by Eclipse, the image is available. I also noticed that JBPM_BYTEARRAY table is updated with Eclipse Deployment. The same doesn't happens with .ear deployment. Is it possible to see a process image deployed in an .ear package? Thanks. | 09:13:30,452 WARN [lifecycle] phase(RENDER_RESPONSE 6,[EMAIL PROTECTED]) threw exception: java.lang.NullPointerException null | org.jbpm.jsf.core.phase.ProcessFilePhaseListener.beforePhase(ProcessFilePhaseListener.java:102) | 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.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:524) | org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) | org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) | org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) | org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) | org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) | org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) | java.lang.Thread.run(Thread.java:619) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161516#4161516 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161516 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: [Process Image Not Available] on jbpm-console
kukeltje wrote : correct, that is because you probably deploy the process via Seam and not via the jBPM console. The former just deploys the processinstance.xml, nothing more (since there is nothing more) Is there any workarround to see the .ear graphs on jbpm-console? Is it a Seam or jBPM feature? Is it a bug or a feature request? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161598#4161598 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161598 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Doesn't find orm.xml?
Maybe orm.xml should stay in EAR scope because there are 2 jar using its definitions!? How can I do that? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4096549#4096549 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4096549 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Doesn't find orm.xml?
| !-- Only scan and detect annotated entities -- |property name=hibernate.archive.autodetection value=class,hbm/ | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4096663#4096663 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4096663 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Doesn't find orm.xml?
Ooops, the problem was the following. It was ignoring .xml files |properties | !-- Only scan and detect annotated entities -- |property name=hibernate.archive.autodetection value=class/ | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4096667#4096667 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4096667 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Doesn't find orm.xml?
Hi, I am using JBoss 4.2.1 with Hibernate 3.2. I did a test just with Hibernate and it works, but inide JBoss I've got an deployment error. Maybe, JBoss isn't finding orm.xml (or maybe I've put it in wrong place). Anyway, it's supposed to be in META-INF directory. Thanks. My project has the following structure. | Project.EAR | Project1.jar | classes | Endereco.class (use ID_GENERATOR) | META-INF | orm.xml (I've tried here) | Project2.jar | classes | EnderecoSon1.class | EnderecoSon2.class | EnderecoSon3.class | META-INF | persistence.xml | orm.xml (I've tried here) | orm.xml | ?xml version=1.0 encoding=UTF-8? | | entity-mappings xmlns=http://java.sun.com/xml/ns/persistence/orm; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | version=1.0 | | table-generator name=ID_GENERATOR table=ID_GENERATOR | pk-column-name=pkey pk-column-value=ENDERECO | value-column-name=hi allocation-size=1/ | /entity-mappings | Endereco.java | @MappedSuperclass | public abstract class Endereco implements Serializable { | | @Id @GeneratedValue (strategy = GenerationType.TABLE, generator= ID_GENERATOR) | private Long id; | Deploying, I've got: 17:44:09,718 WARN [ServiceController] Problem starting service persistence.units:ear=EmpireEAR-0.0.1.ear,jar=EmpresaEJB-0.0.1.jar,unitName=empire | org.hibernate.AnnotationException: Unknown Id.generator: ID_GENERATOR | at org.hibernate.cfg.BinderHelper.makeIdGenerator(BinderHelper.java:413) | at org.hibernate.cfg.AnnotationBinder.bindId(AnnotationBinder.java:1795) | at org.hibernate.cfg.AnnotationBinder.processElementAnnotations(AnnotationBinder.java:1229) | at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:733) | at org.hibernate.cfg.AnnotationConfiguration.processArtifactsOfType(AnnotationConfiguration.java:498) | at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:277) | at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1115) | at org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:1265) | at org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:150) | at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:884) | at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:417) | at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:126) | at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:246) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:103) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor334.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.GeneratedMethodAccessor10.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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) |
[jboss-user] [EJB 3.0] - Re: Parameters by context
Ok, org.jboss.proxy.SecurityInterceptor gets definitions from System, SecurityAssociation, etc... How can I get a variable from a client who can be any class with a ThreadLocal attached to it!? For example, ESBClient1: public static ThreadLocalString language = new ThreadLocalString(); | language.set(pt); | ESBClient2: public static ThreadLocalString language = new ThreadLocalString(); | language.set(en); | LanguageInterceptor: ctx.getContextData().put(lingua, ??.language); How can discover the caller class? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4075316#4075316 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4075316 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Parameters by context
Hi Bill, thanks for your reply. Today these EJBs are local, but in the future they can be remote. The big question is: How can I get a field's content from the calling instance (ESB) on my client interceptor and put it inside a Invocation object!? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074952#4074952 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074952 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Parameters by context
I've tried with... Client: | Properties properties = new Properties(); | properties.put(lingua,portugues); | Context c1 = new InitialContext(properties); | EJB (Session Stateless): @Resource SessionContext ctx; | String x = ctx.getEnvironment().getProperty(lingua); | but getEnvironment() is deprecated... org.jboss.soa.esb.actions.ActionProcessingException: Unexpected invocation target exception from processor | at org.jboss.soa.esb.listeners.message.ActionProcessorMethodInfo.processMethods(ActionProcessorMethodInfo.java:127) | at org.jboss.soa.esb.listeners.message.OverriddenActionLifecycleProcessor.process(OverriddenActionLifecycleProcessor.java:74) | at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:262) | at org.jboss.soa.esb.listeners.message.MessageAwareListener$1.run(MessageAwareListener.java:297) | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) | at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) | at java.lang.Thread.run(Unknown Source) | Caused by: javax.ejb.EJBException: Deprecated | at org.jboss.ejb3.BaseSessionContext.getEnvironment(BaseSessionContext.java:265) | at com.buscape.cep.facade.CepFACADEBean.persiste(CepFACADEBean.java:64) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | Any tip? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074527#4074527 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074527 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Parameters by context
The API says about InvocationContext class: Essentially we can carry ANYTHING from the client to the server, we keep a series of redifined variables and method calls to get at the pointers. But really it is just a repository of objects. http://docs.huihoo.com/javadoc/jboss/4.0.1-sp1/server/org/jboss/invocation/InvocationContext.html How can I accomplish this!? Binding parameters into the context and adding an interceptor in order to inject the parameter!? context.bind(lingua, portugues); View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074560#4074560 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074560 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Parameters by context
Hi, I'm a beginner and my question is simple (i guess :) ). I need a language parameter in all my EJB methods, but I don't want to polute their signatures. Is there a way to pass it by context!? I spent the day reading documentation and found stuff about Interceptors and InvocationContext class. Am I in the right way? Can someone give an example!? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074211#4074211 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074211 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - TCP x UDP
Hi, I'm a beginner with JBoss clustered configurations. 1 ) What would be te recommended approach for JGroups with JBoss AS clustered? TCP or UDP? 2) Two JBoss ASs in cluster are not supposed to work with reliable messages? So, why UDP came as default in JBoss? 3) On the other side UDP performs better. But, what can happen if packets are lost, unordered or duplicated. How can this affect JBoss AS behavior? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071973#4071973 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071973 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Clustering Problem
Same problem. I've been trying with JBoss 4.2.1 and Windows XP with -b 0.0.0.0 startup configuration. I've also tried to change loopback parameter, but without success. - On Windows machines, because of the media sense feature being broken with multicast | (even after disabling media sense) set the UDP protocol's loopback attribute to true | -- | Config | UDP mcast_addr=${jboss.partition.udpGroup:228.1.2.3} | mcast_port=${jboss.hapartition.mcast_port:45566} | tos=8 | ucast_recv_buf_size=2000 | ucast_send_buf_size=64 | mcast_recv_buf_size=2500 | mcast_send_buf_size=64 | loopback=true | discard_incompatible_packets=true | enable_bundling=false | max_bundle_size=64000 | max_bundle_timeout=30 | use_incoming_packet_handler=true | use_outgoing_packet_handler=false | ip_ttl=${jgroups.udp.ip_ttl:2} | down_thread=false up_thread=false/ | PING timeout=2000 | down_thread=false up_thread=false num_initial_members=3/ | MERGE2 max_interval=10 | down_thread=false up_thread=false min_interval=2/ | FD_SOCK down_thread=false up_thread=false/ | FD timeout=1 max_tries=5 down_thread=false up_thread=false shun=true/ | VERIFY_SUSPECT timeout=1500 down_thread=false up_thread=false/ | pbcast.NAKACK max_xmit_size=6 | use_mcast_xmit=false gc_lag=0 | retransmit_timeout=300,600,1200,2400,4800 | down_thread=false up_thread=false | discard_delivered_msgs=true/ | UNICAST timeout=300,600,1200,2400,3600 | down_thread=false up_thread=false/ | pbcast.STABLE stability_delay=1000 desired_avg_gossip=5 | down_thread=false up_thread=false | max_bytes=40/ | pbcast.GMS print_local_addr=true join_timeout=3000 | down_thread=false up_thread=false | join_retry_timeout=2000 shun=true | view_bundling=true/ | FRAG2 frag_size=6 down_thread=false up_thread=false/ | pbcast.STATE_TRANSFER down_thread=false up_thread=false use_flush=false/ | /Config | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071715#4071715 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071715 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JBossWS 1.2.0CR2 with JEMS 1.2 (and JBoss 4.0.5) fails
[EMAIL PROTECTED] wrote : This is a classpath issue. Make sure jboss-jaxrpc.jar is seen first. | | In 4.0.5 the legacy JAXRPC API is also in jbossall-client.jar. This will cahnge in jboss-4.2.0 Got the same problem with 4.2.0 and with 4.0.5 + jbossws-1.2.1.GA: http://www.jboss.com/index.html?module=bbop=viewtopict=107728 How can I be sure that jboss-jaxrpc.jar is seen first!? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4042801#4042801 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4042801 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: Rules editor doesnot sinalize error in Problems View
Encuse me, sinalize comes from a Portuguese word. So, again... :) where should I configure my Eclipse to indicate DRL files erros/warnings on Problems View? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038861#4038861 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038861 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Rules editor doesnot sinalize error in Problems View
Hi, where should I configure my Eclipse to sinalize DRL files erros/warnings on Problems View? This presentation seems to have this resource activated: http://labs.jboss.com/file-access/default/members/jbossrules/freezone/livetrails/cedit_viewlet_swf.html I've got Drools Rule Workbenck 3.0.5 installed. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038598#4038598 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038598 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Design Decision (One-to-Many)
Hi, Please, tell me if I'm thinking the right way!! I have a PRODUCT, which has a relationship with INVENTORY in many-to-many mode. This relationship has also several attributes, so I must create a intermediary table (PRODUCT_INVENTORY). I'm in doubt among 3 solutions: 1 - Create a PRODUCT_INVENTORY with a composite key (idProduct + idInventory) using @IdClass. 2 - Create a PRODUCT_INVENTORY with a composite key (idProduct + idInventory) using @Embeddable. 3 - Create a PRODUCT_INVENTORY with a auto-generated id plus to foreign keys (idProduct and idInventory). Which one could be the best? Do you have any references about this subject? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3972450#3972450 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3972450 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Hibernate Validation issue
Thanks for your answers. I've tried out with s:validateAll tag, but got another error. Now, even create method isn't working: | @Begin(join = true) | //@IfInvalid(outcome = Outcome.REDISPLAY) | public String create() { | if (entityManager.find(Equipesimac.class, instance.getCodigoEquipe()) != null) { | FacesContext.getCurrentInstance().addMessage( | null, | new FacesMessage(messages.get(Equipesimac_codigoEquipe) | + + messages.get(AlreadyExists))); | return null; | } | entityManager.persist(instance); | isNew = false; | refreshFinder(); | return editEquipesimac; | } | | //@IfInvalid(outcome = Outcome.REDISPLAY) | public String update() { | refreshFinder(); | return null; | } | | |span class=rvgInputs |s:validateAll | span class=rvgMessageh:messages globalOnly=true//span | h:outputLabel value=#{msg.Equipesimac_codigoEquipe} for=codigoEquipe |h:inputText value=#{equipesimacEditor.instance.codigoEquipe} id=codigoEquipe disabled=true/ |span class=rvgMessageh:message for=codigoEquipe//span | /h:outputLabel | h:outputLabel value=#{msg.Equipesimac_estacao} for=estacao | h:selectOneMenu value=#{equipesimacEditor.instance.estacao} | f:selectItem itemLabel=Any itemValue= id=estacao / | f:selectItem itemValue=Barra Funda/ | f:selectItem itemValue=Ana Rosa/ | f:selectItem itemValue=TietĂȘ/ | f:selectItem itemValue=Santana/ | /h:selectOneMenu | span class=rvgMessageh:message for=estacao //span | /h:outputLabel | h:outputLabel value=#{msg.Equipesimac_linha} for=linha | h:selectOneMenu value=#{equipesimacEditor.instance.linha} | f:selectItem itemLabel=Any itemValue= id=linha / | f:selectItem itemValue=Azul/ | f:selectItem itemValue=Amarela/ | f:selectItem itemValue=Rosa/ | f:selectItem itemValue=Laranja/ | /h:selectOneMenu |span class=rvgMessageh:message for=linha//span | /h:outputLabel | h:outputLabel value=#{msg.Equipesimac_regiao} for=regiao | h:selectOneMenu value=#{equipesimacEditor.instance.regiao} | f:selectItem itemLabel=Any itemValue= id=regiao / | f:selectItem itemValue=Centro/ | f:selectItem itemValue=Zona Sul/ | f:selectItem itemValue=Zona Oeste/ | f:selectItem itemValue=Zona Norte/ | f:selectItem itemValue=Zona Leste/ | /h:selectOneMenu |span class=rvgMessageh:message for=regiao//span | /h:outputLabel | /s:validateAll |/span | | 11:00:27,185 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception | javax.faces.FacesException: Error calling action method of component with id _id2:_id49 | at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74) | at javax.faces.component.UICommand.broadcast(UICommand.java:106) | at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90) | at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164) | at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316) | at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at
[jboss-user] [JBoss Seam] - Re: Hibernate Validation issue
Solved. I've put required=true in selectOneMenu tags. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3971335#3971335 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3971335 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ..:: Questions about Seam design!!!
Hi Angelo, do you have e-mail? I looking for Seam contacts in Brazil. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3971352#3971352 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3971352 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Hibernate Validation issue
Hi, I'm getting this error when I try to update my bean with an invalid parameter: | 21:40:19,953 ERROR [SeamExceptionFilter] uncaught exception handled by Seam | javax.servlet.ServletException: Could not commit transaction | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:121) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | 21:40:19,953 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception | java.lang.IllegalStateException: Could not commit transaction | at org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener.commitOrRollback(SeamExtendedManagedPersistencePhaseListener.java:98) | at org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener.afterPhase(SeamExtendedManagedPersistencePhaseListener.java:52) | at org.apache.myfaces.lifecycle.LifecycleImpl.informPhaseListenersAfter(LifecycleImpl.java:536) | at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:318) | at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at
[jboss-user] [JBoss Eclipse IDE (users)] - Profiling with Eclipse?
Hi, I have Jboss 4.0.4 and Jboss IDE 2.0.0 Alpha installed. I haven't seen any references in the IDE's Manual about Eclipse Profiling Tools. Furthermore the option Profile... in Jboss Server View is not allowed. The question is simple. The only way to profile applications in Jboss is with Jboss Profiler? Or is it possible to use Eclipse Profiling Tools? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3969835#3969835 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3969835 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Where are my conversations?
I tryed to show conversationList on my sreens but it didn't work. Seems there is nothing in conversationList, in spite of Seam Debug show me several conversations. JSP file h1h:outputText rendered=#{not empty conversationList} value=Workspaces with conversations//h1 | h1h:outputText rendered=#{empty conversationList} value=Workspaces wihout conversations//h1 | h:dataTable value=#{conversationList} var=entry rendered=#(empty conversationList} | h:column | f:facet name=headerWorkspace/f:facet | h:commandLink action=#{entry.select} value=#{entry.description} / | h:outputText value=[current] rendered=#{entry.current} / | /h:column | h:column | f:facet name=headerActivity/f:facet | h:outputText value=#{entry.startDatetime} | f:convertDateTime type=time pattern=hh:mm a / | /h:outputText | h:outputText value= - / | h:outputText value=#{entry.lastDatetime} | f:convertDateTime type=time pattern=hh:mm a / | /h:outputText | /h:column | h:column | f:facet name=headerAction/f:facet | h:commandButton action=#{entry.select} value=#{msg.Switch} / | h:commandButton action=#{entry.destroy} value=#{msg.Destroy} / | /h:column | /h:dataTable | | I've got this on my server.log file: 2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: conversationList | 2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.Component] instantiating Seam component: conversationList | 2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: conversationList | 2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.contexts.Contexts] found in page context: conversationList | 2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component | 2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component | 2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: conversationList | 2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.contexts.Contexts] found in page context: conversationList | 2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: conversationList | 2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.contexts.Contexts] found in page context: conversationList | 2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component | 2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component | 2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: conversationList | 2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.contexts.Contexts] found in page context: conversationList | 2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: conversationList | 2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.contexts.Contexts] found in page context: conversationList | 2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component | 2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component | 2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: conversationList | 2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.contexts.Contexts] found in page context: conversationList | 2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: conversationList | 2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.contexts.Contexts] found in page context: conversationList | 2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component | 2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component | Something wrong? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3968205#3968205 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3968205 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Where are my conversations?
Answered here. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3968226#3968226 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3968226 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Where are my conversations?
Ooops... here... http://www.jboss.com/index.html?module=bbop=viewtopict=87816 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3968227#3968227 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3968227 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re:
Just a shot. I'm a beginner. :) I've generated my code with Hibernate plugin and these warnings happen when I access my Find funcionality. It could means that the managed bean is not still created by Seam in context when i access my Find funcionality. But it keep on showing these messages after I access my Create links! I don't understand! Someone else? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3967448#3967448 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3967448 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Two relationship one-to-many
Hi, I have two relationships between Employee and Order. One to get his started orders and the other to get his finished orders: Employee --- codEmployee Order -- EmployeeFinalizer EmployeeStarter When I try to persist a new Order with different Employees it's all fine, because I get the following on my database: Employee - 01 Employee - 02 Order - 01 employeeStarter - 01 employeeFinalizer - 02 but when I recall the Employee with findEmployee() method I see in my grafh: Employee - 01 --- startedOrders - 01 finalizedOrders - 01 this is wrong!!! Employee 01 did not finish Order 01. Am I doing something wrong. These are my mappings: Employee --- @OneToMany(fetch=FetchType.EAGER) @JoinColumn(name=OrderCode) private Collection startedOrders; @OneToMany(fetch=FetchType.EAGER) @JoinColumn(name=OrderCode) private Collection finalizedOrders; Order -- @ManyToOne private Employee employeeStarter; @ManyToOne private Employee employeeFinalizer; Thanks by now. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3964047#3964047 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3964047 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Two relationship one-to-many
oops... little mistake... anonymous wrote : when I recall the Employee with findEmployee() method I see in my grafh: | | Employee - 01 | --- | startedOrders - 01 | finalizedOrders - 01 when I recall the Employee with findEmployee() method I see in my grafh: Employee - 01 --- startedOrders - 01 (OrderCode) finalizedOrders - 01 (OrderCode) I would like to see my Order just in startedOrders because this is more intuitive. Is this possible? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3964049#3964049 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3964049 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Jboss Server Event Log view
Hi ... how can I activate Jboss Server Event Log view as showed in http://download.jboss.org/jbosside/demo/movies/JBossAS.htm I'm using JBossIDE version 2.0.0.Alpha1a. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3963455#3963455 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3963455 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: cannot create EJB 3.0 applications with version 2.0.0.Al
Hi, I've found that http://trailblazer.demo.jboss.com/EJB3Trail/ If I had read this before I'd know that Zip instalation did not provide EJB 3 resource. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3963067#3963067 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3963067 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: cannot create EJB 3.0 applications with version 2.0.0.Al
Thanks Max, I've just installed Jboss by Jboss' installation wizard and it's worked out. Is it possible to install the regular way (unpaking Jboss) and after this putting EJB 3.0 in some directory? Thanks again. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3962189#3962189 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3962189 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user