[jboss-user] [JBoss Seam] - How to get the conversationId when I using the portlet
Hi, all , I meet a problem, now I wirting a portlet filter ,I need to get the conversationId and then use the response.setRenderParameter() method to send it to the response, the problem is now I can't get the conversationId. I have read some article in this forum, one method is use the method: Conversation.getInstance().getId(); but I got this exception: java.lang.IllegalStateException: No active conversation context Do I need to config something in my config file?any one have idea please tell me or mail me:[EMAIL PROTECTED] thank you:) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030484#4030484 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030484 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Switching SEAM 1.2 to JSF 1.2 RI problem
I'm using Seam with the 1.2 RI without any problems. What errors do you get? Thanks, Stephan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030483#4030483 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030483 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Using convertEntity and still getting
Don't know if that will help you at all, but I just switched to the current cvs version, which in fact fixes a npe thrown when using s:convertEntity, which would also be my suggestion. Make use of s:convertEntity, and use the latest cvs ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030482#4030482 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030482 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Tomcat deployment with external datasource - is it possi
Hello, i do not have the setup anymore:-( But when i was using 'tomcats' datasource i wasn't using the microcontainer. And Normans statement makes sense to me. >From chapter 21.5 of the seam docs: anonymous wrote : | The Seam support for Hibernate and JPA requires JTA and a JCA datasource. If you are running | in a non-EE environment like Tomcat or TestNG you can run these services, and Hibernate itself, | in the JBoss Microcontainer. | And for this setup, with microcontainer, i have never managed to access the tomcat resources. So for conclusion, all of our new projects will be deployed to an appserver. Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030481#4030481 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030481 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: ServiceMBeanSupport in the Microcontainer world
Docs are on their way. They will be there for 2.0.0.GA. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030480#4030480 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030480 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: is link secure?
That is also a novel approach to entity security. You should not obscure URLs but rather have a multi-layer approach, where at the lowest layer you can never even load an entity from the database you do not have the access rights for. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030479#4030479 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030479 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Can we debug JBoss portal code using jboss-eclipse ide
Hi I want to know can we debug JBoss portal using Jboss eclipse IDE 1.5 . My aim is to understand the flow of control inside the jboss portal which wil aid me in various customizations i have to do. If this is not possible is there any other way of understanding the flow inside the jboss portal source code. Any help will be highly appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030478#4030478 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030478 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Documentation issues
Do we need to document about setting entityManager for Home class? Just to prevent the same topic arise again for new users. Related topic: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=104617 http://www.jboss.com/index.html?module=bb&op=viewtopic&t=102416 Thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030476#4030476 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030476 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM3 with tomcat
Hi Ronald, In the new UI we have a modified url for uploading the WF. As I have mentioned above ... the url for JBOSS is http://host:port/jbpm-console/upload I expect it to be different for tomcat. And i have a few more issues to resolve related to this. If its okay with you ... it will be great if I can get to chat with you. my msn id is: [EMAIL PROTECTED] Many thanks!! --Yash View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030475#4030475 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030475 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Insert into JBoss Pojo Cache gets Blocked forever
It is a deadlock problem. We could not figure out why it was happening inspite of the synchronized block. Is there any stratey we can follow to avoid such an issue while using the JBoss Cache in high performance environment. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030474#4030474 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030474 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Invalidate cache for an Entity Bean?
I have an entity bean which is marked as NonShared with commit option A. a new backend application is coming up which can update the data via direct jdbc calls. this happens rarely but when that will happen my entity bean if already cached will get out of sync with the change updated . I have two options here. 1. Make the entity bean shared so that it can come in sync with database. 2. Stop updating via direct jdbc calls, go via ejb only. But I am thinking, if I can invalidate the cache for that particular bean through an api call But do not know how to do it or there is some other better option? My Jboss is in non-cluster mode. thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030471#4030471 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030471 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - No instance created after deploying struts portlet?
i have written a struts application, with the use of struts bridge...it works under jboss portal . But i have a questioni have to create portlet instance in the management portlet window for the struts portlet after deploying. Is there a way ( or with the use of config file) to automatically create portlet instance ? thx View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030469#4030469 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030469 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: HOW to change Locale in Program?
i have changed LocaleInterceptor.java.. there is another struts ChangeLocale program which will set locale to session but it seems not workhelp.. public class LocaleInterceptor extends ServerInterceptor { /** The logger. */ protected Logger log = Logger.getLogger(getClass()); protected void invoke(ServerInvocation invocation) throws Exception, InvocationException { ServerRequest req = invocation.getRequest(); // Locale locale = req.getContext().getClientRequest().getLocale(); HttpSession session = req.getContext().getClientRequest().getSession(); Locale locale = (Locale) session.getAttribute"org.apache.struts.action.LOCALE"); log.debug("LocaleInterceptor Locale: "+locale); if (locale == null){ locale = req.getContext().getClientRequest().getLocale(); log.debug("2. LocaleInterceptor Locale: "+locale); session.setAttribute("org.apache.struts.action.LOCALE", locale); } try { req.setLocales(new Locale[]{locale}); invocation.invokeNext(); } finally { req.setLocales(null); } } } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030465#4030465 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030465 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: is link secure?
Use a page parameter, and implement the encrypt/decrypt in a JSF converter. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030461#4030461 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030461 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Which tag version at CVS server does match the release j
Sorry, I miss the version. it's jBPM 3.2 GA release. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030460#4030460 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030460 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: is link secure?
Any chance of having an s:secureLink tag, or secure="true' option on the link tag. When this is used, Seam would encrypt the parameter, then decrypt on the other side. This is what we currently do when we pass around ids in our struts app, and I'm going to need to find a simliar solution for our conversion to Seam. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030459#4030459 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030459 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Which tag version at CVS server does match the release jBPM
There are several tags at the CVS server anoncvs.forge.jboss.com: jpdl_3_2 jpdl_3_2_beta1 jpdl_3_2_beta2 jbpm_jpd_3_0_13 jbpm_jpd_3_0_13_1 which one? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030458#4030458 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030458 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - How to get the portlet real path.
How to get the portlet real path in jboss. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030456#4030456 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030456 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: is link secure?
anonymous wrote : I'd like to know if the links generated by s:link s:button are secure. They are just as secure as JSF form submissions. ie. Seam verifies that the method being invoked is really one that appears in an EL expression on the page. However, it is of course your job to make sure that the actual data passed in parameters is safe (just like in any web fwk). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030457#4030457 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030457 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: log.fatal(Object object, Throwable t, Object... params)
Thanks. I have fixed this in CVS. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030455#4030455 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030455 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Injecting several beans of the same type/kind/class
Seam will not create an instance of a component if it does not have a component definition for the component name. If you want it to, you need to declare addition @Role names on the entity or add the details to components.xml. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030454#4030454 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030454 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - How to use jBPM built-in components?
I want to use Seam built-in components to deploy a xml file with a process definition. My code: | @Name("workflowHome") | @Transactional | public class WorkflowHome extends EntityHome | { | | @RequestParameter | Long workflowId; | | private Workflow workflow; | @In(required=false) | Discipline discipline; | @In(value="org.jboss.seam.core.jbpm") | private Jbpm jbpm; | | @In(value="org.jboss.seam.core.jbpmContext",create=true) | private JbpmContext context; | | | @Override | public Object getId() | { | if (workflowId==null) | { | return super.getId(); | } | else | { | return workflowId; | } | } | | @Override | public void create() { | super.create(); | | } | | @Factory("workflow") | public Workflow initWorkflow(){ | return getInstance(); | } | | protected Workflow createInstance() { | workflow = new Workflow(); | discipline.getWorkflows().add(workflow); | return workflow; | } | | public void deployProcess(){ | String file = new String(workflow.getWorkflowFile()); | | try{ | context.deployProcessDefinition(jbpm.getProcessDefinitionFromXml(file)); | }finally{ | context.close(); | } | } | | } | What am I missing? Because I'm getting the following exceptions: | 03:08:44,372 ERROR [PhaseListenerManager] Exception in PhaseListener RENDER_RESPONSE(6) beforePhase. | java.lang.IllegalStateException: Could not commit transaction | at org.jboss.seam.jsf.AbstractSeamPhaseListener.commitOrRollback(AbstractSeamPhaseListener.java:306) | at org.jboss.seam.jsf.TransactionalSeamPhaseListener.handleTransactionsAfterPageActions(TransactionalSeamPhaseListener.java:47) | at org.jboss.seam.jsf.AbstractSeamPhaseListener.enterPage(AbstractSeamPhaseListener.java:258) | at org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:192) | at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:53) | at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersBefore(PhaseListenerManager.java:70) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:373) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) | 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.SeamMultipartFilter.doFilter(SeamMultipartFilter.java:35) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46) | 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.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) | 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.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148
[jboss-user] [JBoss Seam] - Re: Tomcat deployment with external datasource - is it possi
It wouldn't surprise me at all if the microcontainer overrides tomcat's JNDI. My understanding is that tomcat JNDI is read-only and is too limited for any sort of serious extension. Honestly, if you need appserver class deployment options that you consider using an appserver. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030451#4030451 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030451 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: jbossj2ee-src.zip
When you download the Getting Started Guide from http://labs.jboss.com/portal/jbossas/docs. you get a zip file named startguide.zip. That file contains the files startguide.pdf and jbossj2ee-src.zip. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030450#4030450 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030450 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: is link secure?
Seam does not verify the integrity of the URL. Your action should contain the appropriate security checks if that is important to the application. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030449#4030449 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030449 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Can I install Jboss AS in same server as Oracle9i App Se
Yes. Yes. Yes. You cannot run it using port 80. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030448#4030448 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030448 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: getting EntityManager from within java?
Have you tried Component.getInstance()? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030447#4030447 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030447 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Securing Portlet Modes
"Antoine_h" wrote : yes, interesting feature : mode depending on roles. | but for what I know it is not in the JSR-168 | and may be long before you get it in specific vendor feature in jboss portal. (they go quick ! but you seem to need it now...) | The availability of the portlet modes, for a portlet, may be restricted to specific user roles by the portal. For example, anonymous users could be allowed to use the VIEW and HELP portlet modes but only authenticated users could use the EDIT portlet mode. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030446#4030446 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030446 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: PojoCache, Serializable object and cluster
Looks like you are interested in fine-grained, field-level replication. You are using a Serializable pojo then PojoCache will simply treat it as a coarse-grained object. What you need to do is to rid of Serializable interface but instrument the pojo first instead (via aopc, e.g.). Check for the examples directory under the distribution, it contains many examples for how to do that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030445#4030445 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030445 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Insert into JBoss Pojo Cache gets Blocked forever
Have you tried to turn on the log to see what happened? Maybe there is some deadlock problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030444#4030444 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030444 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - jbossj2ee-src.zip
where can I find jbossj2ee-src.zip? Please help. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030440#4030440 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030440 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Can I install Jboss AS in same server as Oracle9i App Se
Hi, Most likely, the "www.mydomain.com" port 80 is going to be used for Oracle9iAS because it is current running live. In that case, do I still need to do binding of OAS to "www.mydomain.com"? If my other domain, which is "app.mydomain.com" has a different ip, then I can run this "app.mydomain.com" using port 80 as well? In this case, should it be run -b app.mydomain.com ? If my other domain, which is "app.mydomain.com" does not have different ip, then I cant run it using port 80 OR I cant name my JbossAS as "app.mydomain.com"? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030435#4030435 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030435 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: deployment in JBoss
Yep, sounds cool. afaik, there even is a jira issue for this and some discussion, see http://www.jboss.com/index.html?module=bb&op=viewtopic&t=77743&postdays=0&postorder=asc&start=0 Some things to keep in mind or explicitly rule out in the docs: - whitespace does not necessarily make a process different, but does so for a hash. Normalize? - different order of elements does not make a process be have different View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030433#4030433 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030433 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Can anybody share how to create mailbox ER tables?
Hi all, I want to use Seam mail, but I don't have any idea on how to create mail box database tables, e.g. inbox_mails, sent_mails, deleted_mails. Anybody can share the entity relational structures? Thank you very much in advance. Best regards, Gus View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030431#4030431 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030431 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: EL evaluated in comment
Thanks for both useful answers. I solved the problem per http://wiki.java.net/bin/view/Projects/FaceletsFAQ by adding to web.xml an entry | | facelets.SKIP_COMMENTS | true | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030430#4030430 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030430 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Accessing Mapped Name and original variable name at the
there is no api for this. So eithe build custom hibernate queries, or put extra tags in the processdefinition, turn of process validation on the serverside and read the process definition from the processarchive and parse it yourself View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030429#4030429 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030429 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - JSR181 EJB endpoint with root contextRoot
Hi, I've got an EJB as a JSR181 endpoint, and I want the service to be accessible via a URL like this: http://hostname:8080/MyExampleService?wsdl This is what I have so far: @WebService(targetNamespace = "http://example.com";, name="MyExample", serviceName="MyExampleService") | @SOAPBinding(style=SOAPBinding.Style.RPC, use=SOAPBinding.Use.LITERAL) | @Stateless | @PortComponent(contextRoot="/", urlPattern="/MyExampleService") | public class MyExampleServiceImpl implements Remote, MyExampleService { | ... | } However, deploying it like this results in it apparently (according to the /jbossws/services page) being deployed to http://hostname//MyExampleService?wsdl, but when I click on it, it's gives a 404 error. Is there any way to successfully get the webservice to deploy in the root? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030427#4030427 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030427 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm and mysql
1: you only posted 2 hours ago... be patient. 2: read the docs, search the forum. Lots of info on how to create a database 3: processlist: from the database 4: jsp page is in the webapp 5: jbpm does not use any stored procedures . so no idea what you mean View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030426#4030426 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030426 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - getting EntityManager from within java?
Hi, How do i get the EntityManager from within a java method (i.e. without using @In)? I have tried: | EntityManager manager = ((ManagedPersistenceContext)Contexts.getConversationContext().get("entityManager")) | .getEntityManager(); | Which works some of the time (I assume only when the current conv holds an 'entityManager' reference). thanks Dustin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030422#4030422 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030422 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How can s:button be rendered as an image button
I tried s:button with or without image specification. When image is specified the value attribute is ignored. Is it possible to have both image (on the left) and label? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030421#4030421 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030421 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: ServiceMBeanSupport in the Microcontainer world
alesj - Thanks for answering my asinine questions. I'll fish out some examples, but it'd be nice (especially within my team) if I had some official documentation to work from. I can build 2.0, which builds the jars in but I don't have a distribution to copy and share with my team. I can certainly copy stuff out of thirdparty that is runtime required, but there's stuff like Junit that I don't need. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030420#4030420 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030420 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Problem with websale example app
I'm having a problem running the websale example application inside the jBPM console. I can't transition to a new task. I get this message: anonymous wrote : | javax.faces.FacesException: javax.el.PropertyNotFoundException: /main/task/new_tasks.xhtml @41,57 value="#{entry.taskInstance.id}": Property 'taskInstance' is not found on type: java.lang.String | I saw an earlier post saying this had been corrected but I'm still getting the problem in the websale application from the jPDL 3.2 download. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030418#4030418 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030418 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Timeout parameter - can I specify timeout per request?
Hello, I have noticed a strange behavior with respect to timeouts. The timeout parameter works fine when the server is accessible to the client through the network. However, if this is not the case (for example if the server is shut down or the network cable is unplugged), the timeout parameter does not seem to work. The invocation hangs for a long time (around 11 minutes in my machine) and it is only after this long period that I get an exception (even if my timeout is configured for a shorter period). Is there any way to avoid this situation? Or does anybody know of a way to abort the remote call after a certain period of time? Thank you very much. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030417#4030417 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030417 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Getting server information
Hi, Is there a way in which i can get server information like no of sessions, server load, etc regards, Niranjan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030414#4030414 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030414 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Deploying messaging in minimal server
Hi, I'd like to get some more information about this statement in the JBoss Messaging User's Guide: "currently works with a standard JBossAS 4.0.x, 4.2.x and JBoss 5.x installation and also as a JBoss Microkernel-based standalone deployment." This is largely due to my unfamiliarity with JBoss: what's the difference between a Microkernel-based standalone deployment and the 'minimal' server configuration of JBossAS? I would like to implement JMS messaging in my application using JBoss Messaging, but I need to make this as lightweight as possible. I was encouraged to see that the minimal server configuration is under 1Mb, but the installation instructions in the User's Guide: cd util ant -f release-admin.xml create a configuration with a 35Mb footprint. Is there any way to trim this down? Thanks, Russ ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Duplicate sessionIds in cluster
If you can't find better solution, you can have different permutations of SessionIdAlphabet in each node. They are set in jbossweb-tomcat55.sar/META-INF/jboss-service.xml Looking at the SessionID generation code, having these characters (they must be 65, rememeber) permuted in each node will decrease the probabilities of having duplicated session ids... Hope it helps. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030412#4030412 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030412 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: cannot make authenticator work
You can override the messages. See this post: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=101074 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030409#4030409 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030409 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam security adds default messages
Please create a JIRA issue to add these message keys to the docs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030408#4030408 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030408 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Hotel Booking Example: doc and src are out of sync
I've raised a JIRA issue to fix up the docs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030407#4030407 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030407 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: ServiceMBeanSupport in the Microcontainer world
"genman" wrote : | How do I deploy my Bean to the MBeanServer in MC 1.0? Is this a 2.0 feature? | See previous posts. "genman" wrote : | I don't see any examples or docs for this ... | There are none yet. We are working on it. But there are plenty of TestCases in the project. "genman" wrote : | I'm taking a look at 2.0, which has no distribution, but I'm not sure how to build the package as a distribution. It creates stuff under output/build but does not include the various JBoss dependencies. | Which dependencies? If you are able to build, then you get those dependant libs in thirdparty directory. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030403#4030403 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030403 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @DataModelSelection defaults to first value in model??
Hi I met the same problem, but in slightly different context - i have a CRUD SFSL and it's instance member after creation was overwritten with new value: | public class ItemEditor implements ItemEditorLocal{ |@DataModelSelection |private Item item = new Item(); | ... | |public void persist() { | em.persist(this.item); | | this.item = new Item(); |} | ... | } | by this i wanted to clean the form which displays current item. But instead i got my form populated with recently entered data. Even after killing all cookies and refreshing the page it was filled. I was completely baffled! But it appears that most likely the problem is caused by javax.faces.model.ListDataModel - it sets rowIndex to 0 when it has some data and then when injectDataModelSelections is being called on a component the first element in a datamodel is picked up and injected into member annotated with @DataModelSelection... hardly it was expected behaviour... btw, there is a astounding code in injectDataModelSelection: | if (null!=null) | { | setFieldValue( bean, null, name, wrapper.getWrappedData(dataModelAnn, dataModel) ); //for PAGE scope datamodels (does not work for properties!) | } | i mean null!=null ... what is that? wbr, eugen. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030399#4030399 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030399 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JMS Exceptions / Mismatch of JBossSerialization version
Setting the "socket.check_connection" in remoting-service.xml to true seems to solve this problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030401#4030401 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030401 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: ServiceMBeanSupport in the Microcontainer world
How do I deploy my Bean to the MBeanServer in MC 1.0? Is this a 2.0 feature? I don't see any examples or docs for this ... I'm taking a look at 2.0, which has no distribution, but I'm not sure how to build the package as a distribution. It creates stuff under output/build but does not include the various JBoss dependencies. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030395#4030395 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030395 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Management Portlet in JBoss Portal 2.4.1-GA (JEMS installer
When I run JBoss for the first and click on the admin tab I continually see the error /WEB-INF/jsp/management/index.xhtml @41,58 rendered="#{!empty node.children}": Exception getting value of property children of base of type : org.jboss.portal.core.portlet.management.LazyPortalObjectTreeNode I assume this may be a spot where the management portlet I normally see in other versions of JBoss Portal would load. How can I possibly configure JBoss without the management portlet? There has to be some sort of admin interface. Is this a bug in JBoss or is there some way to get around this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030379#4030379 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030379 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Extending aj4jsf component
Hi, I am trying to extend the outputPanel of ajax4jsf. So I have a simple class (just for testing sake): | public class UIAjaxIFOutputPanel extends HtmlOutputLabel { | @Override | public void setId(String id) | System.out.println("SETTING ID: " + id); | super.setId(id); | } | } | and in my *.taglib.xml: | outputPanel | | net.infofilter.IFOutputPanel | | org.ajax4jsf.components.AjaxOutputPanelRenderer | | | | And in faces-config.xml | | net.infofilter.IFOutputPanel net.infofilter.component.UIAjaxIFOutputPanel | | When I put the tag onto a page i get: | 13:53:19,783 WARN [HtmlRenderKitImpl] Unsupported component-family/renderer-type: javax.faces.Output/org.ajax4jsf.components.AjaxOutputPanelRenderer | 13:53:19,783 INFO [[/Infofilter3-Site]] No Renderer found for component {Component-Path : [Class: org.ajax4jsf.framework.ajax.AjaxViewRoot,ViewId: /home.xhtml][Class: net.infofilter.component.UIAjaxIFOutputPanel,Id: _id69]} (component-family=javax.faces.Output, renderer-type=org.ajax4jsf.components.AjaxOutputPanelRenderer) | 13:53:19,783 WARN [UIComponentBase] No Renderer found for component {Component-Path : [Class: org.ajax4jsf.framework.ajax.AjaxViewRoot,ViewId: /home.xhtml][Class: net.infofilter.component.UIAjaxIFOutputPanel,Id: _id69]} (component-family=javax.faces.Output, renderer-type=org.ajax4jsf.components.AjaxOutputPanelRenderer) | 13:53:19,784 WARN [HtmlRenderKitImpl] Unsupported component-family/renderer-type: javax.faces.Output/org.ajax4jsf.components.AjaxOutputPanelRenderer | 13:53:19,784 INFO [[/Infofilter3-Site]] No Renderer found for component {Component-Path : [Class: org.ajax4jsf.framework.ajax.AjaxViewRoot,ViewId: /home.xhtml][Class: net.infofilter.component.UIAjaxIFOutputPanel,Id: _id69]} (component-family=javax.faces.Output, renderer-type=org.ajax4jsf.components.AjaxOutputPanelRenderer) | 13:53:19,784 WARN [UIComponentBase] No Renderer found for component {Component-Path : [Class: org.ajax4jsf.framework.ajax.AjaxViewRoot,ViewId: /home.xhtml][Class: net.infofilter.component.UIAjaxIFOutputPanel,Id: _id69]} (component-family=javax.faces.Output, renderer-type=org.ajax4jsf.components.AjaxOutputPanelRenderer) | 13:53:19,784 WARN [HtmlRenderKitImpl] Unsupported component-family/renderer-type: javax.faces.Output/org.ajax4jsf.components.AjaxOutputPanelRenderer | 13:53:19,784 INFO [[/Infofilter3-Site]] No Renderer found for component {Component-Path : [Class: org.ajax4jsf.framework.ajax.AjaxViewRoot,ViewId: /home.xhtml][Class: net.infofilter.component.UIAjaxIFOutputPanel,Id: _id69]} (component-family=javax.faces.Output, renderer-type=org.ajax4jsf.components.AjaxOutputPanelRenderer) | 13:53:19,784 WARN [UIComponentBase] No Renderer found for component {Component-Path : [Class: org.ajax4jsf.framework.ajax.AjaxViewRoot,ViewId: /home.xhtml][Class: net.infofilter.component.UIAjaxIFOutputPanel,Id: _id69]} (component-family=javax.faces.Output, renderer-type=org.ajax4jsf.components.AjaxOutputPanelRenderer) | I suspect this is a classloading problem, no? If so, what do I need to do to make this work? The project was generated using the latest seam-gen from cvs (includes richfaces and ajax4jsf support) thanks for any help, Dustin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030376#4030376 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030376 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - deployment in JBoss
I would like to write a JBoss Deployer for jBPM. Basically it would work like this: 1) Create a table: create table PROCESS_DEF_HASHES( name VARCHAR, hashcode long ); 2) Read the XML file. Create a MD5 hash of the file. 3) select * from PROCESS_DEF_HASHES where name="pd name of file" AND hashcode = MD5 hash 4) If query returns anything, do nothing and return 5) Create new Process Definition 6) Search to see if any old Process Definitions have Instances. If not, delete all the old ones, keep the ones that have process instances. Sound cool? Then you wouldn't have to have an ANT step and could create bundled, scoped .jbpm archives like we do for EJB, EAR, WAR, ESB, HAR, etc... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030372#4030372 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030372 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - long running transaction
Hi I'm writing an application that processes a huge amount of data. I want to kick this off in the middle of the night with a timer service inside of the app server so that the slsb can chew on the problem set for a few hours and shove data into the database when needed. Now, the issue is the transaction times out. It's a bad idea to extend the transaction timeout to hours, so I figured I would bracket the database work by opening and closing the transaction (since I know where the delimiters are). Ok, so Seam isn't letting me do things like: | while(moreDataToProcess) { | someProcessing(); | | entityManager.getTransaction().begin(); | ... | entityManager.persist(obj); | entityManager.getTransaction().commit(); | | otherProcessing(); | } | giving an error of: ERROR [org.jboss.ejb.txtimer.TimerImpl] Error invoking ejbTimeout: javax.ejb.EJBException: java.lang.IllegalStateException: Illegal to call this method from injected, managed EntityManage There must be a way to tell Seam to quick trying to control the transaction inside of a particular slsb (or for the whole app server) - but for the life of me I can't find documentation or posts on how to do that. Any pointers to docs or posts, or comments on how to approach this? Thanks, Greg View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030369#4030369 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030369 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - JBoss 5 Port Binding Problem
I'm trying to set up two JBoss instances, running 5.0.0.Beta1. I have a binding.xml, and one instance using ports-default and the other ports-01. However, when I start up the second instance, I get a port conflict when Tomcat tries to bind to port 8080. The binding.xml is clearly supposed to be mapping this to 8180 instead of 8080, so I am assuming the XSLT is wrong. Anyone have a working config for JBoss5 and multiple instances? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030368#4030368 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030368 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Tools, Project Structures, and IDEs
First off, thank you all for the replies. Gavin, the release of RHDS may take months, but that isn't a problem. This project is in-house and will be in production for the next decade so it is still worth it for us to aim for RHDS as the tool to use long term. While the Seam-Gen route is pretty easy, using the Seam reference guide and having a Seam-Gen app to look at, I found it pretty straight forward to create my own Ear project in Netbeans and get it up and running. Most of my delays were due to doing it piecemeal, when I should have just added all the elements at once. The seam reference is a great document, and is very thorough in letting developers know which pieces go where and why. However, I'm sure without examples and documentation, it would take weeks to do, which is a testament to the quality of the Seam reference as I did it in about a week including interruptions, and making mistakes. One problem with Seam-Gen is it looks ugly in eclipse (src folder at the top, 20+ jars, and then the view folders at the bottom). I suppose I could put the jars in a library for the purpose of being tidy in the IDE. Good to know the WTP stuff in Eclipse is flawed, at least I know it's not just me messing it up. Tony, your project type is the kind we want to use, but it looks like MyEclipse adds a few things to the standard Eclipse that makes it easier to use Ear projects. The problem in standard Eclipse was forcing it to put jars into the ear folder which it seems is no problem with MyEclipse. MyEclipse may be an option for us until RHDS comes out, especially as it has the exploded deployment options. Stu2, you are correct. I just tried it again to check I wasn't mistaken as I'd mostly assumed that since you can't bind a Seam-Gen project to a server in the IDE, it couldn't debug it in the IDE, but obviously you can!. This changes a few things, since it means we can do a generic project with our own ant script, or use Seam-Gen and get the benefits of IDE debugging when needed. Great stuff all, Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030367#4030367 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030367 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - How Do I See the XML?
Hi, I'm new to JBossWS. I'm using JBossWS 1.2.0.SP1, installed into JBoss AS 4.0.5. I've created an SEI Document/Wrapped web service (unless I'm confused). I have unit tests that prove that my web service is working. It's a very simple web service based heavily on the "echo" example included with JBossWS. It's my understanding from reading the documentation that somehow JBossWS is converting between Java objects and XML, presumably via JAXB. anonymous wrote : JAX-WS simplifies the development model for a web service endpoint a great deal. In short, an endpoint implementation bean is annotated with JAX-WS annotations and deployed to the server. The server automatically generates and publishes the abstract contract (i.e. wsdl+schema) for client consumption. All marshalling/unmarshalling is delegated to JAXB I'd like to see the XML that's theoretically being generated and passed along the wire so that I can 1) confirm it matches the schema I expect and 2) better understand how this is all working. Ideally, I'd also like to have a unit test that looks at the raw XML because my expected client will not have JAXB, and will probably be in a .NET environment. None of the code that I wrote invokes an Unmarshaller. I'm assuming this is magically done for me. Can anyone shed some light and help me learn where I'm confused? Thanks for your help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030366#4030366 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030366 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Hotel Booking Example: doc and src are out of sync
The new booking examples use the Seam security framework to manage authentication. The protected pages and the redirect login pages are all specified in pages.xml. http://docs.jboss.com/seam/1.2.0.PATCH1/reference/en/html/security.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030365#4030365 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030365 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Securing Portlet Modes
yes, interesting feature : mode depending on roles. but for what I know it is not in the JSR-168 and may be long before you get it in specific vendor feature in jboss portal. (they go quick ! but you seem to need it now...) to do that in the mean time (1) : - set the window security to all user - in the portlet rendering (for the decoration and put the mode icons) : rewrite one of the rendering class, configure it into the layout, configure the window so it use this rendering - in this class, make the "if user ok", then show the icon of the mode, if not don't show it. the portlet rendering is the more complicated thing : - not sure you will have access to what user is calling this window rendering... so look how it works, and how you can get the user Principal, or RemoteUser things from there. (2) other way, for the portlet decoration rendering - in the do view, if the mode and user policy say "no edit mode", add a special CSS stylesheet in the header of the page. (specific css for this portlet). - in the css, set the html tag of the edit mode to "not visible" (or no image...) - you may play with the definition of css style like #MyPortletContainer #TheEditModeIcon. This to make sure only this portlet window will disable the edit icon - even if you can't have the (1) solution, you may have to rewrite a rendering class, to adjust the class and id of html tags, so it fit your needs. well, that's for the rendering for the security : in the do view, check the user and mode policy, and if it is a forbidden mode, show nothing in the view. because someone can ask the edit mode with playing with the url directly, (without clicking on the icon). it is "not quick and dirty"... but you may have what you need, before it is implemented in jboss portal. also think of the cache stuff : if not logged, the user get the window with no edit mode. then he log as admin : the cached window will show without the icon... not good for the admin. I am quite shure the cache process does not check this kind of situation. to invalidate the cache of all portlets when logged, see some previous posts... or put this portlet with no cache, if you can afford it with cpu. hope that helps... and there are no other trouble in the way that I did not see... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030364#4030364 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030364 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - log.fatal() logged with debug level
I already wrote a short notice about a logging error in the newest release, but did't not get any confirmation. See http://www.jboss.com/index.html?module=bb&op=viewtopic&t=104121 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030363#4030363 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030363 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Hotel Booking Example: doc and src are out of sync
Dear Seam Project Team, While reading Seam Reference Documentation (1.2.0 patch1), in section 1.6.2, it mentioned: "Finally, the LoggedIn annotation and the LoggedInInterceptor are used to protect actions that require a logged in user.". However, when looking at the source directory jboss-seam-1.2.0.PATCH1\examples\booking\src\org\jboss\seam\example\booking, there is no LoggedIn annotation class, nor do the other classes use this annotation. I know the old way of doing security check: make a filter, implement the security check logic in the filter and map it to the url or servlet. I would be very interested to know how to implement a global security check as an interceptor and make it annotation. Can someone post an example of the LoggedIn annotation and LoggedIn interceptor? Thanks, Tong View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030362#4030362 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030362 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Collection Injection in the MC
Simply use | | | | since value here is meant as plain (string) value (from bean-deployer_2_0.xsd): | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030361#4030361 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030361 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Url : how to define MyPortal as the default portal.
Opened a jira : http://jira.jboss.com/jira/browse/JBPORTAL-1324 There is in the jira the code of an overidding class of org.jboss.portal.core.model.portal.DefaultPortalCommandFactory to replace the service name="portal:commandFactory=DefaultPortal" It mainly bypass the code : Portal portal = ctx.getDefaultPortal(); to set it with the configurable attribute MyDefaultPortalName of the jmx service. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030359#4030359 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030359 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem Ending a Task
I tried omiting end-tasks and changing end-tasks to false and it still did not work. I did some more debugging and have an idea on the problem. Basically there is no task available and thats why it never executes the method. So i am assuming the long running conversation is no more. But i am not sure why that would be. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030355#4030355 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030355 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Collection Injection in the MC
I have a the following bean config | | | | | | | | | | | | | | | | | | | | jca-ds | | | Basically all the builders simply extend an abstract class. I understand that I have to list the element class when doing something like this. When I try to deploy I get the fairly cryptic message on startup: | Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: {urn:jboss:bean-deployer:2.0}plainValueType type of element {urn:jboss:bean-deployer:2.0}value should be complex and contain {urn:jboss:bean-deployer:2.0}inject as a child element. | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:187) | at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:147) | at org.jboss.deployers.plugins.deployers.helpers.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:80) | at org.jboss.deployers.plugins.deployers.helpers.AbstractParsingDeployer.parse(AbstractParsingDeployer.java:176) | at org.jboss.deployers.plugins.deployers.helpers.AbstractParsingDeployer.createMetaData(AbstractParsingDeployer.java:114) | | I have tried a few different things but nothing seems to make the MC/JBossXB layer happy. Suggestions? I assume I am missing something as this is a pretty basic use case. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030358#4030358 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030358 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: selectManyMenu and EntityHome
Not sure what the problem was but, I'm past it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030357#4030357 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030357 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Using convertEntity and still getting
Even after overriding equals() and hash() and using convertEntity I still get this error: anonymous wrote : Value is not a valid option I'm not sure what else there is to do. Here's my select: | | | | And the relevant getters/setters: | |@ManyToMany(mappedBy = "cppmsUsers") | public List getProfiles() | { | return this.profiles; | } | | @ManyToMany | @JoinTable(name = "PROJECT_ANALYST", joinColumns = | { @JoinColumn(name = "PROJECT_NUMBER") }, inverseJoinColumns = | { @JoinColumn(name = "USER_ID") }) | public List getCppmsUsers() | { | return this.cppmsUsers; | } Any help would be appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030356#4030356 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030356 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam security adds default messages
org.jboss.seam.NotLoggedIn View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030353#4030353 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030353 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Accessing Mapped Name and original variable name at the same
I am looking to be able to add render hints to my task variables such that I can auto generate forms on the client side based on this metadata. My first thought was to give them a 'default' value, read the formatting hints and then let the values be overwritten as the form was processed, but since that does not appear easy or viable except through programmatic means, i.e. adding a handler to every single task, I abandoned that. What I would like to do instead is use the 'mapped name' of my task variables to store render hints, but I haven't been able to find anything in the API that allows me to associate a mapped name with the original name, or visa versa. Let me know if I am missing something basic. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030352#4030352 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030352 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Issue trying to access a WSDL from my JSF Portlet (MyFaces)
Hi, I am new to portals/MyFaces/JSF/WSDL. I created a JSF/MyFaces portlet and when I click the Login button in it, it basically tried to access a WSDL we developed to Login. At this point (when trying to Login) it throws an exception saying : org.codehaus.xfire.fault.XFireFault: Couldn't send message Our WSDL Login method takes the User information and returns a success/failure string which I am expecting. I would be very thankful if I can get any help on this issue. Thanks, Vijay View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030345#4030345 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030345 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm and mysql
please, I need help me!! any idea??? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030346#4030346 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030346 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - BPEL support in JBPM
Hi there I'm evaluating jBPM for prodution use, and I have some questions regarding the BPEL support. 1 - BPEL extention, that's on the download page is in beta stage, is this ok for prodution? 2 - How is the BPEL human task's and ws orchstration compared with the jPDL ? 3 - Which one of them is more advisable? Thanks in advance! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030341#4030341 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030341 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: MyFaces, Ajax4jsf and Tomahawk (probably beginners mista
It works now! Thank you for the help. Best regards Fabio View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030333#4030333 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030333 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam security adds default messages
I found&can override two messages: org.jboss.seam.loginSuccessful = Welcome, #0 org.jboss.seam.loginFailed = Login failed but there is at least a third one that is shown when the user is redirected to the login-page for the first time, it says: Please log in first I looked into the sourcecode, but could not find the keys for the last message: Where can I find these codes?! Cheers stf PS: And it would be easier, if there was a small section in the security-doc that simply lists these keys and shows how to override them... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030334#4030334 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030334 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Do we actually need to download and install JBossWS?
hmm... I tried again. I found the Web Reference. But I don't end up getting a proxy, I only get a .discomap and .wsdl file in my Solution Explorer. eh, maybe something else is wrong... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030330#4030330 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030330 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Injecting several beans of the same type/kind/class
Hi, is it possible to reference several entity beans of the same type from a JSF page without adding anything to the faces-config.xml? So that if I have the bean class EmailAddress I could simply write in my JSF page the following code: I defined them in a SFSB as follows: @Name("emailAction") @Stateful public class EmailActionBean implements EmailAction { @In(create = true) EntityManager entityManager; @In(create = true) @Out EmailAddress emailAddress; @In(create = true) @Out EmailAddress emailAddress2; @In(create = true) @Out EmailAddress emailAddress3; } Does seam automatically create the three instances, when the JSF page is called and even so no method of the SFSB has been invoked yet? I thought that the JSP page only can reference the other two entity beans, once the SFSB has been invoke in some way. However, the first bean seams to be always ready, because it's name matches it's class name (in bean style). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030329#4030329 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030329 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Parallel EARs
Hi, we are trying to deploy the same Application parallel in one Jboss container. We use exploded EAR directories with different context-roots. Intention: Using one development host, each developer should have his own deployment including EJBs and JSPs to play with. How can I isolate the deployments from each other? I think the problem is the JNDI-Names which are not unique. When I try to create a remote interface to an EJB: <% ServiceLocator serviceLocator = ServiceLocator.getInstance(); MyEJBRemoteHome home = (MyEJBRemoteHome) serviceLocator.getRemoteHome("ejb/MyEJB", MyEJBRemoteHome.class); MyEJBBusiness myEJB = home.create(); %> I get the following exception (when calling the home.create() method): java.lang.IllegalArgumentException: null object name org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:494) org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:638) org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:805) org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:406) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) sun.rmi.transport.Transport$1.run(Transport.java:153) java.security.AccessController.doPrivileged(Native Method) sun.rmi.transport.Transport.serviceCall(Transport.java:149) sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) java.lang.Thread.run(Thread.java:595) sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247) sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223) sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126) org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source) org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:119) org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:227) org.jboss.invocation.MarshallingInvokerInterceptor.invoke(MarshallingInvokerInterceptor.java:37) org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46) org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55) org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:169) org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86) $Proxy595.create(Unknown Source) org.apache.jsp.test_jsp._jspService(org.apache.jsp.test_jsp:51) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030325#4030325 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030325 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Deploying MyFaces 1.1.5 portlet to JBossPortal2.4.1
DOH that worked perfectly - i should have thought of that...! Thanks again, Kevin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030320#4030320 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030320 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Tomcat deployment with external datasource - is it possi
Baz, could you please post your setup that you said was working? And what do you mean by "losing Seam-managed transactions"? Did you still use Seam's transactional JSF interceptor? Overall, I'm leaning towards opening a JIRA issue for that, as it doesn't look like it's possible to mix the lookups to the Microcontainer JNDI and to the Tomcat one... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030318#4030318 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030318 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Deploying Seam tutorial existent examples on Eclipse
After several iterations I was able to deploy the ?Booking? example on Eclipse. The key is to use the ant build file prepared by seam-gen for a new application and then adapt it for ?Booking? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030316#4030316 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030316 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - is link secure?
Hi! I'd like to know if the links generated by s:link s:button are secure. for example | | | | is it possible for somebody to copy this link to the browser and modify the object id in the current session so that he could see the content of other objects? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030315#4030315 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030315 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Deploying my own first BPEL project
Hi, i have created all my BPEL, WSDL and bpel-definition.xml files and put them into a folder. What is my next step? How can I deploy these files to the running jBoss 4.0.5. Should I make a jar out of it and copy it to the deploy folder? I modeled my BPEL process with the help of the Eclipse BPEL designer. I use the bpel 1.1-beta3 extension. Thanks for your help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030314#4030314 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030314 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - JBoss - Linking application to external resources
Hi everybody, I need to link external resources (xml and properties files) to my application, in order that classloader make them available for and only to a specific application. Files can't be stored in a JAR in order to change them without repacking, and multiple similar application must be installed on the same application server - so files with the same name but stored in different folders must be available only for a single application. I think JBoss has something similar to WebSphere's Shared Library (that does what I need), but I can't figure how to do it. Any suggestion to solve this problem? Thank you Jo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030311#4030311 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030311 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: TCP Config for PostOffice
You could try this: http://wiki.jboss.org/wiki/Wiki.jsp?page=JGroupsStackTCP View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030308#4030308 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030308 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Switching SEAM 1.2 to JSF 1.2 RI problem
"knaas" wrote : The only thing we had to do was just to make sure we had this listener in the web.xml | | | | | com.sun.faces.config.ConfigureListener | | | | Actually you have to do a bit more (acording to documentation) but it doesn't work for me in anyway. Did you managed to run SEAM with JSF1.2 RI? If yes, why does Gavin accepted the bug and even wrote that he managed to fix it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030307#4030307 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030307 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: MyFaces, Ajax4jsf and Tomahawk (probably beginners mista
anonymous wrote : I receive the following error: | java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileUpload | | But I never used this component | Regardless of the fact that you never used it, you need to make sure commons-fileupload is in your classpath. It can be in: | * Your .ear | * Your .war | * Your server's jsf-libs directory | | I put it in my .war in an .ear-based app. | | Hope this helps you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030306#4030306 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030306 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Deploying MyFaces 1.1.5 portlet to JBossPortal2.4.1
Remove the JSF libs from your webapp and update the libs in jsflibs if you need. That should work View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030304#4030304 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030304 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: problem with deployment
How can I post fixed jbpm-webapp.jar? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030303#4030303 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030303 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: MyFaces, Ajax4jsf and Tomahawk (probably beginners mista
I don't think that is the case. There is only one jar that comes with tomahawk. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030301#4030301 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030301 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Testimonials] - Re: Migration from Weblogic to JBoss 4.0.5
Please show the relevant sections of ejb-jar.xml, jboss.xml and the code that is doing the JNDI lookup. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030299#4030299 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030299 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: problem with deployment
"kukeltje" wrote : This all is because the jboss IDE 1.6 contains an 'old' version of te designer. Using the latest 3.0.x release should have fixed this on the designer side. | Nope. This is Starters Kit Web Application problem, not the designer. Only thing to point in the designer is the server deployer path which was already mentioned. anonymous wrote : | I cannot in which file change them. | I found the file ?UploadServlet.class?, but it is not modifiable. | Thus in which file to make these modifications?? | 1. Download Starters kit source code 2. Modify UploadServlet.java 3. Compile + make JAR View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030297#4030297 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030297 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Japanese language pack
Hi, I am new to web services. I tried deploying a web service on JBoss and did a test run of the service using the Web-Service-Explorer tool available with Eclipse. (The client is auto-generated from the WSDL and provides a form-based GUI to access the service.) The JBoss now complains about ill-formatted SOAP request coming rom the Explorer. The machine on which JBoss and Eclipse are running happens to be a Japanese Windows machine. Does JBoss require any particular language pack to be installed? Thanks for your help! Regards, Venu View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030296#4030296 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030296 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
RE : [jboss-user] [Installation,Configuration & Deployment] - Re: two jboss serversimultaneously w ith different ports
found it, giving the jndi URL. De: [EMAIL PROTECTED] de la part de Jeanmougin, Francois Date: mer. 21/03/2007 16:52 À: The JBoss User main mailing list Objet : RE : [jboss-user] [Installation,Configuration & Deployment] - Re: two jboss serversimultaneously with different ports Passing -b and -c to run.sh is quite working, but how to you use shutdown.sh then ? I was not able to find out. François. <>___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Top-down development problem
I am trying to follow the docs at http://jbws.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide#Top-Down_.28Using_wsconsume.29 to create a Web service using the top-down method. What I did was first use the bottom-up method, and after deploying the Web service, I ran wsprovide to create the WSDL. In addition, I wrote a client that that accessed the Web service to ensure that it works. So far so good. Then I used wsconsume to create the Java stubs, using the interface that was generated to write my Web service endpoint class, packaged the necessary classes, web.xml and wsdl in a war file and deployed it. Now when I access the endpoint with my client, I get an error because the container is attempting to instantiate the interface, not the implementation class. My Web service looks exactly like the one in the documentation, with a few changes: 1) When I created the original bottom-up endpoint, I added the @SOAPBinding(style=SOAPBinding.Style.RPC) annotation to it. Thus when the wsconsume generated the stubs from the WSDL, I got only two classes: Echo.java and EchoService.java. 2) Since I wanted to use the original WSDL, I modified the generated Echo.java to reference the WSDL that I packaged in the war file (without this change, JBossWS will re-generate the WSDL when the web service is deployed, which sort of defeats the whole purpose of top-down development; I could never figure out if there was a default WSDL location; and this property was ignored when I placed it on the implementation class): @WebService(name="Echo", targetNamespace = "http://echo/";, wsdlLocation="WEB-INF/wsdl/EchoService.wsdl") My war file has the following contents: WEB-INF/classes/echo/Echo.class WEB-INF/classes/echo/EchoImpl.class WEB-INF/web.xml WEB-INF/wsdl/EchoService.wsdl When I run my client, I get the following error on the server: 09:07:10,941 ERROR [SOAPFaultHelperJAXWS] SOAP request exception java.lang.InstantiationException: echo.Echo at java.lang.Class.newInstance0(Class.java:335) at java.lang.Class.newInstance(Class.java:303) at org.jboss.ws.core.server.ServiceEndpointInvokerJSE.createServiceEndpoint(ServiceEndpointInvokerJSE.java:69) at org.jboss.ws.core.server.AbstractServiceEndpointInvoker.invoke(AbstractServiceEndpointInvoker.java:130) at org.jboss.ws.core.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:204) at org.jboss.ws.core.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:440) at org.jboss.ws.core.server.AbstractServiceEndpointServlet.doPost(AbstractServiceEndpointServlet.java:114) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at org.jboss.ws.core.server.AbstractServiceEndpointServlet.service(AbstractServiceEndpointServlet.java:75) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:86) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:624) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445) at java.lang.Thread.run(Thread.java:595) By the way, I am running JBossWS 1.2 on JBoss AS 5.0 beta2 (pulled on March 5th) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030294#4030294 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030294 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Failure on queue example running
My AS is running on the same machine ; so there is no problem of IP address I think. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030291#4030291 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030291 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jbpm and mysql
Hi all!!! In my new application, I don't use the started kit and I use a MySQL database, but in this database don't be the tables that jbpm need... I have to run the create script localizate in jbpm-db-3.1.3/build/mysql/scripts/mysql.create.sql Other thing: The default web app, the first, show on screen a list of new process execution, but where it obtains this information?? I'm looking the jsp pages of default web app, localizate in jbpm-3.1.3/src/resource/jbpm.war, but don't use any stored procedure??? where is??? Thank you!!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030290#4030290 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030290 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Example ProviderBeanMessage
Hi, I slightly modified the Provider example ProviderBeanMessage: package org.jboss.test.ws.jaxws.samples.provider; | | // $Id: ProviderBeanMessage.java 2193 2007-01-30 16:33:53Z [EMAIL PROTECTED] $ | | import javax.xml.soap.SOAPMessage; | import javax.xml.ws.Provider; | import javax.xml.ws.Service; | import javax.xml.ws.ServiceMode; | import javax.xml.ws.WebServiceProvider; | import javax.ejb.Stateless; | | /** | * Test a Provider | * | * @author [EMAIL PROTECTED] | * @since 29-Jun-2006 | */ | @Stateless | @WebServiceProvider( | serviceName = "ProviderService", | portName = "ProviderPort", | targetNamespace = "http://org.jboss.ws/provider";, | wsdlLocation = "Provider.wsdl") | @ServiceMode(value = Service.Mode.MESSAGE) | public class ProviderBeanMessage implements Provider | { |public SOAPMessage invoke(SOAPMessage request) |{ | return request; |} | } So it's a stateless session bean. I put the class together with the file Provider.wsdl into a jar file and successfully deployed the archive. The deployment was fine and I can see the wsdl under: http://localhost:8080/Provider/ProviderBeanMessage?wsdl My problem: When I call the webservice with the eclipse webservice explorer I get the following error message: anonymous wrote : The SOAP response failed schema validation. Please switch to the source view for the SOAP response in XML format. | My setup: JBOSS_HOME: L:\..\build\output\jboss-5.0.0.Beta2 JAVA: C:\Programme\Java\jdk1.5.0_10\bin\java .. [ServiceEndpointManager] jbossws-2.0.0.DEV (build=200703171222) Best regards, Frank View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030289#4030289 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030289 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user