[jboss-user] [JBoss Portal] - Multiple Portals Management
Hi, I've got some questions about JBoss Portal : 1. If i create multiple portals (For instance : PortalA, PortalB ..) ; Is it possible to customize JBoss Portal to have a User Management, CMS Management by portal and not globally ? User : Test can exist in PortalA and PortalB and is not the same user. CMS : Administrator of PortalA can't see CMS resources of PortalB. 2. Is it possible to run 2 JBoss Portal Service (jboss-portal1.sar on /portal1 and jboss-portal2.sar on /portal2) to have two distinct Administrative Management ? Is there some performance bottlenecks ? Is there any others solutions that i've not seen ? Thank you for your help, Sebastien View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4131086#4131086 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131086 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Hide J2EE Seam Server
Hi, I would like to hide my J2EE server for security reasons and transform the server into a php server. (It will serve php files, but the php files are seam files). How can i do that ? Thank you for your answer Sebastien View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4097282#4097282 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4097282 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Hide J2EE Seam Server
I forgot to say that i'm using : - JBoss 5 Beta 1 - Seam 2 CR2 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4097283#4097283 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4097283 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Target Unreachable
Hi, After hunting this bug for three days, i've found the solution ; the problem comes when you don't define a seam.properties in your ejb jar (should be an empty file). The error message should be more explicit ; a test which displays an error message if the file seam.properties does not exist should be valuable. Can you confirm ? Sébastien View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4045978#4045978 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4045978 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Access EJB from Web page
I resolve my problem (i can display a login page): 1. you don't need myfaces-api and myfaces-impl with jboss 5 only tomahawk (see http://wiki.jboss.org/wiki/Wiki.jsp?page=JBoss5AndMyFaces for further details) I think it should be valuable to add some informations in seam documentation. 2. You don't need to use manifest dependency for using jar in the web app. 3. Be careful, it seems that JBoss 5 Beta 1 is not doing clean-undeploy (i've to remove some files in tmp/deploy and work) Sebastien View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4045292#4045292 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4045292 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Target Unreachable
Hi, I've got an ear working. i can display my first index.seam page (login page) but when i hit login button, i've got this error : javax.servlet.ServletException: /index.jsp(15,15) '#{backOfficeLoginController.username}' Target Unreachable, identifier 'backOfficeLoginController' resolved to null javax.faces.webapp.FacesServlet.service(FacesServlet.java:256) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) EJB is deployed : 00:02:40,260 INFO [EJBContainer] STARTED EJB: org.jboss.seam.core.Dispatcher ejbName: Dispatcher 00:02:40,310 INFO [MCKernelAbstraction] installing bean: jboss.j2ee:ear=assurix.ear,jar=jboss-seam-1.2.1.GA.jar,name=TransactionListener,service=EJB3 with dependencies: 00:02:40,357 INFO [EJBContainer] STARTED EJB: org.jboss.seam.core.TransactionListener ejbName: TransactionListener 00:02:40,395 INFO [MCKernelAbstraction] installing bean: jboss.j2ee:ear=assurix.ear,jar=presentation-1.0-SNAPSHOT.jar,name=LoginController,service=EJB3 with dependencies: 00:02:40,412 INFO [EJBContainer] STARTED EJB: com.assurix.presentation.extranet.backoffice.LoginController ejbName: LoginController My Controller code : Stateful @Name(backOfficeLoginController) public class LoginController extends PresentationController implements LoginControllerInterface { @Logger private Log log; private LoginModule loginModule; } Have you any ideas for solving this problem ? Thank you a lot, Sébastien View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4045311#4045311 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4045311 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Access EJB from Web page
Hi, I'm starting to learn seam and i've some troubles. I've got a project with one web app and one ejb jar (like seam booking) I can deploy my ear on the server but when i want to access login page i've this error : 01:44:41,352 INFO [StartupServletContextListener] Serialization provider : class org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory 01:44:41,372 INFO [StandardContext] Container org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/extranet-backoffice] has already been started 01:44:41,379 INFO [TomcatDeployment] deploy, ctxPath=/extranet-customer, warUrl=.../tmp/deploy/extranet-customer36254-exp.war/ 01:44:41,480 INFO [StandardContext] Container org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/extranet-customer] has already been started 01:44:41,493 INFO [TomcatDeployment] deploy, ctxPath=/extranet-partner, warUrl=.../tmp/deploy/extranet-partner36255-exp.war/ 01:44:41,719 INFO [StandardContext] Container org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/extranet-partner] has already been started 01:44:41,736 INFO [TomcatDeployment] deploy, ctxPath=/internet, warUrl=.../tmp/deploy/internet36256-exp.war/ 01:44:41,833 INFO [StandardContext] Container org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/internet] has already been started 01:44:41,962 INFO [MailService] Mail Service bound to java:/Mail 01:44:51,130 INFO [MCKernelAbstraction] installing bean: jboss.j2ee:ear=assurix.ear,jar=jboss-seam-1.2.1.GA.jar,name=Dispatcher,service=EJB3 with dependencies: 01:44:51,322 INFO [EJBContainer] STARTED EJB: org.jboss.seam.core.Dispatcher ejbName: Dispatcher 01:44:51,374 INFO [MCKernelAbstraction] installing bean: jboss.j2ee:ear=assurix.ear,jar=jboss-seam-1.2.1.GA.jar,name=TransactionListener,service=EJB3 with dependencies: 01:44:51,429 INFO [EJBContainer] STARTED EJB: org.jboss.seam.core.TransactionListener ejbName: TransactionListener 01:44:51,501 INFO [MCKernelAbstraction] installing bean: jboss.j2ee:ear=assurix.ear,jar=presentation-1.0-SNAPSHOT.jar,name=LoginController,service=EJB3 with dependencies: 01:44:51,522 INFO [EJBContainer] STARTED EJB: com.assurix.presentation.extranet.backoffice.LoginController ejbName: LoginController 01:44:51,571 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080 01:44:51,632 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009 01:44:51,691 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.Beta1 (build: CVSTag=https://svn.jboss.org/repos/jbossas/tags/JBoss_5_0_0_Beta1 date=200611191849)] Started in 1m:48s:699ms 01:44:53,708 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: /index.jsp(15,15) According to TLD or attribute directive in tag file, attribute value does not accept any expressions at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40) at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:406) at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:147) at org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1044) at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:818) Index.jsp : %@ taglib uri=http://java.sun.com/jsf/html; prefix=h % %@ taglib uri=http://java.sun.com/jsf/core; prefix=f % %@ taglib uri=http://jboss.com/products/seam/taglib; prefix=s % Login New User f:view h:form s:validateAll Username h:inputText value=#{backOfficeLoginController.username}/ Password h:inputSecret value=#{backOfficeLoginController.password}/ /s:validateAll h:messages/ h:commandButton type=submit value=Login action=#{backOfficeLoginController.login}/ /h:form /f:view My bean : @Stateful @Name(backOfficeLoginController) public class LoginController extends PresentationController implements LoginControllerInterface { @Logger private Log log; private LoginModule loginModule; } My environment : JBoss 5.0.0Beta1 Maven2 Seam 1.2.1GA MyFaces 1.1.4 (install as manifest dependency for webapp) I suppose that my ejb well deployed (see jboss log) but my main supposition is that the JSF/JSP engine produce the error. Do you have any ideas where the problem comes from ? I will try to put directly the myfaces jar directly in WEB-INF/lib to see wha happen. Thank you, Sebastien Boutte View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4045246#4045246 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4045246 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM Integration
Thank you Ed. I will continue to study in depth jbpm. Regards, Sebastien View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=402#402 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=402 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM Integration
Hi ed, I've seen in the pluggable part of documentation that you can rewrite 'TaskManagementModule'. and that you can rewrite Authentication to change the default authentication. Is there already some sql-samples for migrating process ? If i create an ear, do i have to import the jbpm console to manage the deployement of workflow in my application ? Thank You Sebastien View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4043798#4043798 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4043798 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - JBPM Integration
Hi, Currently, i'm studying usage of workflow mangament in particular for doing a big application. My application will have its own persistence (Hibernate or Ejb3), it's own user interface, it's own authentification, it's own task management My questions concerns integration between my application and jbpm because i want this integration to be as close as possible. In domain model, i will have different type of entities that will possess their own workflows. 1. Workflow Modelling and integration with jbpm Supposer i'm writing a worflow for entity E. Instances of entity E are stored in the database A. JBPM workflow is stored inn database B. If i want to create a workflow for entity E, do i have to store the id of each instance in the jbpm's context of the process instance in order to do the link between my application and jbpm process ? If i do that, my actions will do for instance : // retrieve context variable for id int id = context.get(entityid); // connect to database A and retrieve entity with id. // do some business on database A // eventually, modify context for adding/removing/changing values Is it good to do that ? If i want to find in which state is my object with id i. I will have to find all process instances, get the context for each one, and loook to find the one with the variable entityid containing the value i. Is this correct ? 2. User/Task Integration If my application have its own entities for (User, Group, Tasks, Rights ...) How do i link with same entities of jbpm ? How do i do for using my own definition instead of jbpm definitions ? Maybe should i create one user on the jbpm for each user i have in my application ? Maybe i can rewrite factory for doing my own persistence ? How could i do a good integration with my application ? 3. Maintenance Business has changed and i have added/removed some states to the process defintion. When deploying a new process definition, a new version is created. What happen to the objects (Ids) that where already in the workflow ? Do i have to do an sql patch procedure to move my objects already in the workflow to a consistent state according to the new prcocess definition ? If you have any hints to answer theses questions or present how to integrate jbpm with an application, your help will be very appreciate. I hope to explain my questions as clear as possible. Thank you. Sebastien Boutte View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4043485#4043485 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4043485 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user