1 2 Previous Next 17 Replies Latest reply on Jun 21, 2006 11:43 AM by cdebracy

    2.40 Beta Build Issue

      I'm noticing that when I do a "build deploy" that the porta-wsrp.sar is not being built. If I add the wsrp module to build.xml then I get:

      _default:compile-classes:
       [mkdir] Created dir: C:\dev\jboss-portal-2.4\wsrp\output\classes
       [javac] Compiling 162 source files to C:\dev\jboss-portal-2.4\wsrp\output\classes
      [execmodules] C:\dev\jboss-portal-2.4\wsrp\src\main\org\jboss\portal\wsrp\consumer\WSRPConsumerImpl.java:583: cannot find symbol
      [execmodules] symbol : method getUser()
      [execmodules] location: interface org.jboss.portal.portlet.spi.UserContext
      [execmodules] Object user = userContext.getUser();
      [execmodules] ^
      [execmodules] C:\dev\jboss-portal-2.4\wsrp\src\main\org\jboss\portal\wsrp\consumer\RenderHandler.java:158: cannot find symbol
      [execmodules] symbol : method getUser()
      [execmodules] location: interface org.jboss.portal.portlet.spi.UserContext
      [execmodules] Object user = invocation.getUserContext().getUser();
      [execmodules] ^
      [execmodules] 2 errors
      


      I'm trying to test the new changes to see if I can consume JBoss portlets through WebLogic.

      What might I be doing wrong?

      Thanks,

      Chris

        • 1. Re: 2.40 Beta Build Issue
          claprun

          At this point, WSRP has to be built separetely. This will be addressed before the GA release.

          • 2. Re: 2.40 Beta Build Issue

            I don't mind building it separately, but if I run build.bat out of the wsrp folder, I still get the compile errors.

            If you can point out where I need to manually update the webservices.xml and wsdl_services.wsdl files, I'll just do that.

            I've tried a number of locations, but when I re-start JBoss, the files keep getting overwritten.

            Thanks for the help,

            Chris

            • 3. Re: 2.40 Beta Build Issue
              claprun

              The build/deploy instructions can be found at:
              http://wiki.jboss.org/wiki/Wiki.jsp?page=WSRP

              In essence, you need to build portal first then wsrp. Same goes for deployment. You shouldn't have to update anything manually.

              • 4. Re: 2.40 Beta Build Issue

                Chris,

                Thanks, that helps - any ideas why I'm seeing these compile errors? Did I get a bad checkout?

                _default:compile-classes:
                 [depend] Deleted 3 out of date files in 0 seconds
                 [javac] Compiling 45 source files to C:\dev\jboss-portal-2.4\wsrp\output\classes
                 [javac] C:\dev\jboss-portal-2.4\wsrp\src\main\org\jboss\portal\wsrp\consumer\WSRPConsumerImpl.java:583: cannot find symbol
                 [javac] symbol : method getUser()
                 [javac] location: interface org.jboss.portal.portlet.spi.UserContext
                 [javac] Object user = userContext.getUser();
                 [javac] ^
                 [javac] C:\dev\jboss-portal-2.4\wsrp\src\main\org\jboss\portal\wsrp\consumer\RenderHandler.java:158: cannot find symbol
                 [javac] symbol : method getUser()
                 [javac] location: interface org.jboss.portal.portlet.spi.UserContext
                 [javac] Object user = invocation.getUserContext().getUser();
                 [javac] ^
                 [javac] 2 errors
                
                BUILD FAILED
                


                Thanks,

                Chris

                • 5. Re: 2.40 Beta Build Issue

                  Would it make sense for me to just copy the webservices.xml and wsdl_services.wsdl updates to the base source and build from there? It appears as if some refactoring is going on and rolling back just a file or two isn't going to do the trick.

                  • 6. Re: 2.40 Beta Build Issue

                    I can successfully build the base beta1 source and swapped out the webservices.xml and wsdl_services.wsdl.

                    Unfortunately, I'm still getting this exception from the WebLogic consumer:

                    Fault: {http://schemas.xmlsoap.org/soap/envelope/}Client
                    javax.xml.rpc.JAXRPCException: org.jboss.ws.binding.BindingException: javax.xml.bind.JAXBException: Failed to parse source: Requested element {urn:bea:wsrp:ext:v1:types}LookAndFeelDescriptor is not allowed in this position in the sequence.
                    


                    Any ideas?

                    • 7. Re: 2.40 Beta Build Issue
                      claprun

                      Which version of webservices.xml are you using? I have re-added extension stripping that had been removed at some point starting with version 1.4. That is the problem you are experiencing.

                      • 8. Re: 2.40 Beta Build Issue

                        Chris,

                        I'm using the version that was in CVS as of last night. It's dated 6/11/06 and is 2442 bytes.

                        I've banged my head against the wall with wsrp4j and uPortal and feel like I'm real close to getting JBoss to work here.

                        I also updated the wsdl_services.wsdl based on a thread in the WSRP Dev forum.

                        Since I can't build the latest wsrp, I'm applying the file changes to the Beta 1 branch. Everything compiles and deploys fine, just need that porlet to render in BEA.

                        Thanks,

                        Chris

                        • 9. Re: 2.40 Beta Build Issue

                          Sorry, the size is 4474 bytes.

                          • 10. Re: 2.40 Beta Build Issue
                            claprun

                            You're not able to build the latest CVS version? Or Beta 1 with modified files?

                            • 11. Re: 2.40 Beta Build Issue
                              claprun

                              Indeed last CVS version doesn't compile... Gonna fix that.

                              • 12. Re: 2.40 Beta Build Issue
                                claprun

                                It should be fixed now.

                                • 13. Re: 2.40 Beta Build Issue

                                  The base source was fine. Thanks, it compiles now. Unfortunately, I'm still getting the same exception in the consumed portlet.

                                  I've a fresh check out into Eclipse, so tomorrow I'll poke around a bit and see if I can help fix this.

                                  Thanks for getting the source in shape.

                                  • 14. Re: 2.40 Beta Build Issue
                                    claprun

                                    Can you send me the JBoss server output please?

                                    1 2 Previous Next