1 2 Previous Next 28 Replies Latest reply on Jul 12, 2007 3:52 PM by kukeltje Go to original post
      • 15. Re: Deploying to Weblogic 8.1

        Sorry i didnt finish my last post :

        with that weblogic.xml (see the upper post) and without datasource and transaction manager configuration,
        i got this error when accessing the console at (http://localhost:7001/jbpm-console/sa/processes.jsf):
        Error 403--Forbidden

        Did it require some other configuration that i didn't think of ?

        Thanks for helping,

        Best thoughts,
        O.M.

        • 16. Re: Deploying to Weblogic 8.1
          syngolis

          I didnt' have my project desktop right here...but i'll try:

          The datasource is specified in you hibernate.cfg.xml. It should be JbpmDS out-of-the-box. In your weblogic-console you can add a datasource with the connection parameters to you db.

          In hibernate.cfg.xml you can choose between CMT and JTA transactions. I think in standard case, JTA is used. There should be something like JBossTransactionManager set--> change the word JBoss to Weblogic.

          • 17. Re: Deploying to Weblogic 8.1
            syngolis

            I am not sure, cause i don't use the jbpm-console, but I suppose that you have to login to the console with an user specified in your db to access the processes

            • 18. Re: Deploying to Weblogic 8.1

              Okay
              Thanks,
              what are you using ?
              Are you doing Jbpm with Struts on Weblogic ?

              I've followed your instruction and it deployed successfully.
              However i have some errors about JobExecutorThread and classes not found (like FacesServlet). I'm trying to resolve those.

              I will keep you posted.

              Thanks,

              Regards,

              O.M.

              • 19. Re: Deploying to Weblogic 8.1
                syngolis

                I developed my own test-web-application (Just JSP-Servlets) for a better understanding of the jbpm-engine. I use JBoss as (my favourite) Applicationserver. Weblogic testing was just to show the applicationserver independence.

                There are many topics about JobExecutionThread...think you should get enough information in the forum about that.

                • 20. Re: Deploying to Weblogic 8.1

                  Hi,
                  i'm here again because i'm stuck in my deployment of the jbpm console.

                  In fact the deployment is ok but when trying to access http://10.98.54.53:7001/jbpm-console/sa/processes.jsf, i got this error Error 403--Forbidden.
                  Apparently i dont understand how authentication works on jbpm. I find this topic on dev2dev http://forums.bea.com/bea/message.jspa?messageID=400011356&tstart=0 but thats not really my problem (i think i will have to do that but after my current problem is solved).

                  During deployment i have this error "java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet" but i dont know if it is related to my problem of forbidden access.

                  During deployment i also have those pointers :

                  <9 juil. 2007 10 h 43 CEST> <BEA-101248> <[Application: 'C:\bea
                  \user_projects\domains\mydomain\myserver\upload', Module: 'jbpm-console']: Deplo
                  yment descriptor "web.xml" is malformed. Check against the DTD: org.xml.sax.SAXP
                  arseException: cvc-elt.1: Cannot find the declaration of element 'web-app'. (lin
                  e 2, column 10).>
                  <9 juil. 2007 10 h 43 CEST> <BEA-101180> <The auth-constraint r
                  eferences security-role: user, which is not defined in web.xml.>
                  <9 juil. 2007 10 h 43 CEST> <BEA-101248> <[Application: 'C:\bea
                  \user_projects\domains\mydomain\myserver\upload', Module: 'jbpm-console']: Deplo
                  yment descriptor "weblogic.xml" is malformed. Check against the DTD: org.xml.sax
                  .SAXParseException: Element type "security-domain" must be declared. (line 19, c
                  olumn 18).>
                  <9 juil. 2007 10 h 43 CEST> <BEA-101248> <[Application: 'C:\bea
                  \user_projects\domains\mydomain\myserver\upload', Module: 'jbpm-console']: Deplo
                  yment descriptor "weblogic.xml" is malformed. Check against the DTD: org.xml.sax
                  .SAXParseException: The content of element type "weblogic-web-app" must match "(
                  description?,weblogic-version?,security-role-assignment*,run-as-role-assignment*
                  ,reference-descriptor?,session-descriptor?,jsp-descriptor?,auth-filter?,containe
                  r-descriptor?,charset-params?,virtual-directory-mapping*,url-match-map?,preproce
                  ssor*,preprocessor-mapping*,security-permission?,context-root?,wl-dispatch-polic
                  y?,servlet-descriptor*,init-as*,destroy-as*)". (line 20, column 20).>
                  <9 juil. 2007 10 h 43 CEST> <BEA-101304> <Webapp: ServletContex
                  t(id=12164356,name=jbpm-console,context-path=/jbpm-console), the role: admin def
                  ined in web.xml has not been mapped to principals in security-role-assignment in
                  weblogic.xml. Will use the rolename itself as the principal-name.>

                  I think that the answer to my problems is here but i cant find it.

                  Please someone help me understand all this.

                  Best toughts,

                  O.M.

                  P.S. if you need to see some configuration files or want more informations feel free to ask.

                  • 21. Re: Deploying to Weblogic 8.1
                    kukeltje

                    jbpm does not do authentication. The AS (JBoss, WLS, Tomcat,... ) does. If you want to do assignments as well in jBPM it is better to have a shared database, how jboss AS does authentication, look at the login-config.xml (it is a database query)

                    • 22. Re: Deploying to Weblogic 8.1

                      Hi,
                      thanks for replying,

                      i'm not working on JBoss and cant find the equivalent of the login-config.xml for Weblogic 8.1.
                      Do you know it ?

                      I thought of putting that file on the directories of Weblogic but the classes that are referenced in the file are all org.jboss.* so i dont think thats a good idea.

                      Maybe i didnt understood how it works.
                      Can you please explain ?

                      Do you think thats the authentication configuration (lack of) that prevent me from accessing the index of the console ?

                      I have seen that other people had problems after trying to log in (because apparently they lacked database configuration) but that forbidden access doesnt seem to have been encountered before.

                      Have you any opinion/tips on this ?
                      It will be greatly appreciated.

                      Regards,

                      O.M.

                      • 23. Re: Deploying to Weblogic 8.1

                        Hi everyone

                        Can someone developpe the part about the web.xml descriptor ?
                        http://www.jboss.com/index.html?module=bb&op=viewtopic&t=81337

                        Here it is said that the console can't work because of lack of implementation of jsf mechanisms on weblogic 8.

                        Can someone confirm ?

                        Regards,

                        O.M.

                        • 24. Re: Deploying to Weblogic 8.1

                          Hi,
                          can someone tell me how to set up the authentication part for the jbpm console on weblogic 8.1 ?

                          I suspect that i need a realm with the informations of my oracle database.
                          But so far i didn't succed. Im' stuck at the part where i have to tell to weblogic using JBPM_ID_USER for authenticating users etc ... I cant find where to do that.

                          Can someone confirm that thats the good process ? and how to do it ?

                          Any help will be greatly appreciated.

                          Regards,

                          O.M.

                          • 25. Re: Deploying to Weblogic 8.1
                            kukeltje

                            This is a jBPM forum. The question you have is WLS specific, please ask in their forum, post the table definition there and the example query of the jboss login. They might help you further.

                            And yes, that is a good approach

                            • 26. Re: Deploying to Weblogic 8.1

                              Ok
                              Thanks Ronald.

                              See you soon.

                              • 27. Re: Deploying to Weblogic 8.1
                                burrsutter

                                Once you discover the "trick" in WLS, please make sure to build a wiki page here that describes the deployment steps.

                                • 28. Re: Deploying to Weblogic 8.1
                                  kukeltje

                                  Burr,

                                  I think I can help out if this is really important to JBoss. Please contact Tom (Baeyens), I already had contact with him through mail discussing some 'free' (not as in beer ;-)) time I will have in the near future.

                                  1 2 Previous Next