[JBoss-user] [JBoss Portal] - Re: JBoss Portal 2.0.2RC1 - Released
[EMAIL PROTECTED] wrote : * [JBPORTAL-530] - Null Pointer Exception in MyFacesGenericPortlet | Hi Julien, According to JIRA - http://jira.jboss.com/jira/browse/JBPORTAL-530 is not closed. How could it make it in the Change Notes? I assume it lists fixed issues, doesn't it? Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3923085#3923085 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3923085 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: want to send data from portlet
Hi, You didn't read the book, did you? ;) Neither did I yet, but I'm pretty sure there's the answer. Anyway... As you might've tried, you can include a jsp page into a portlet. So can you include a servlet, since a jsp is a servlet at runtime. Create a servlet-mapping (if it's not done for you automatically, e.g. /servlet/YourServlet) and include it into PortletRD as you did with the jsp. -- Jacek Laskowski http://www.laskowski.org.pl View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3918649#3918649 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3918649 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: want to send data from portlet
Hi, Use RequestDispatcher (RD) and request.setAttribute(). public void doView (RenderRequest request, RenderResponse response) | throws PortletException, IOException | { | response.setContentType(text/html); | request.setAttribute(myAttr, myValue); | PortletRequestDispatcher rd = getPortletContext().getRequestDispatcher(another.jsp); | rd.include(request,response); | } The point is to set up the content type of a response (very likely it's text/html) *and* use RD.include() as forward() is not allowed. BTW, You may find this and other answers in a very valuable book - http://www.manning.com/books/hepper. It's distributed at no charge (!) -- Jacek Laskowski http://www.laskowski.org.pl View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3918588#3918588 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3918588 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: call jbpm workflow from jboss portal
Hi Pedro, I'd say it is possible to create a jbpm object as long as it doesn't want to send any response back to a client (reuse the RenderResponse object, which is committed upon include'ing). I think jBPM does not really care about the object. By the way, how do you know that the exception is thrown when you work with jBPM? Don't you think it is because a missing file, like /WEB-INF/jsp/RegistoOcorrencia.jsp? Just a shot in the dark, but worth to check it out before following a wrong path. Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3905830#3905830 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3905830 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Changing the background color of a portlet
Hi, I haven't done it before, but if I had to do it I would definitely take a look at the default theme and change its CSS. Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3905460#3905460 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3905460 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: JBP 2.2 on 4.0.3 SP1
Hi dunks, I don't know, but the general rule of mine is to keep the system polution as low as possible and choose to install a binary over installer version. That way I can completely control the installation process and installation/uninstallation is very simple - unpack/remove a binary distro. I think you'll need to report it in JBAS mailing lists as (unless I'm mistaken) it doesn't apply to JBP in any way. Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3905340#3905340 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3905340 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: JBP 2.2 on 4.0.3 SP1
Hi Martin, The UserTransaction not found issue is gone on JBoss AS 4.0.3SP1. Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3904805#3904805 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3904805 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: JBP 2.2 on 4.0.3 SP1
Hi, koba wrote : What I do: | | 1. Install clear jboss-4.0.3SP1 | 2. Checkout today version of portal from cvs. | 3. Set JBOSS_HOME | 4. Use command 'set ANT_OPTS=-Xmx500M' | 5. Use command 'ant deploy' in /build dir - got BUILD SUCCESSFUL | 6. Copy portal-hsqldb-ds.xml from '.../core/output/resources/setup' to '.../server/default/deploy' | 7. Start jboss and have this error in console: | Just checked out the sources and run successfully on JBoss AS 4.0.3SP1 without any troubles. Here's what I did: 1. Installed JBAS 4.0.3SP1 (binary distro) 2. Copied server/default to server/portal to be able to wipe it out easily and not clattering the default directory 3. export ANT_OPTS=-Xmx640m (it was the tricky part on Cygwin when I followed your instructions ;)) 4. ant -Dportal.deploy.dir=portal -f build/build.xml clean deploy 5. Deployed portal-hsqldb-ds.xml (copied it to server/portal/deploy dir) | ?xml version=1.0 encoding=UTF-8? | datasources | local-tx-datasource | jndi-namePortalDS/jndi-name | connection-urljdbc:hsqldb:${jboss.server.data.dir}${/}portal${/}hypersonic${/}database/connection-url | driver-classorg.hsqldb.jdbcDriver/driver-class | user-namesa/user-name | password[CDATA[]]/password | /local-tx-datasource | /datasources | 6. ~/c/apps/jboss/bin/run.sh -c portal I work with Java 5 on Cygwin (MS Windows XP). With a minor exception about missing /images/bookmark.gif, it worked with no visible issues. Where should I put it as a reference for others - JBP Wiki? Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3904860#3904860 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3904860 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: JBP 2.2 on 4.0.3 SP1
Hi, Hmmm, that's really strange. Although I could simply say there's an issue on Linux Fedora Core (dunks' setup), but koba seems to have the issue on Windows, too. I can however see a difference between the configuration of mine and koba's. Is there a reason that you've installed JBAS using the configurator rather than binary distro as a zip package? Also, could you please check out JBAS version - is it really 4.0.3SP1? Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3904994#3904994 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3904994 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: IDE that supports portlet development for JBOSS Portal
Hi, Thanks for asking as it bugged me lately, too. As far as I know there's no open source tool to design portlets in a GUI. I used an early access version of Sun Java Studion Creator, which is an excellent yet commercial tool. Although BEA WebLogic Workshop IDE supports developing JSR-168 portlets I couldn't figure out how to export them and deploy onto JBoss Portal. It's free so you could give it a try and obviously report your findings here ;) Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3903747#3903747 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3903747 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: JBP 2.2 on 4.0.3 SP1
Hi, The Ant explode task was helping me at the time when Hibernate dialect for HSQL was not configured during the build. I had to make changes by hand and it made me crazy to unpack the portal sar every time. Funny to say, but as the task was committed, it wasn't actually necessary any longer because of some changes at that time that made it work. It was something with Hibernate that could know what dialect to use or so (ask Julien for more explanation) Having said that, you don't need the explode task any longer and just checked that JBP 2.2 built from today's sources worked properly on JBoss AS 4.0.3SP1. The issue with UserTransaction not being found was with a bug introduced in Hibernate used in JBoss AS 4.0.3 and was described in http://www.jboss.org/?module=bbop=viewtopict=71117 and http://www.jboss.org/?module=bbop=viewtopict=70599. I don't know why the home page of the portal application - http://localhost:8080/portal doesn't show the page referenced by http://localhost:8080/portal/local/default/default. That's another story, though (possibly a bug). Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3903754#3903754 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3903754 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: forward from processAction
Hi, I don't know about samples (which I guess should be a part of some kind of JBoss Portal tutorial) so I can't point you out to one, but... When the form is submitted, it executes processAction(). I assume that you use appropriate portlet:actionURL/ tag, otherwise it won't work. In processAction, doView() or other doXXX() actually, you can do whatever you want with the application flow - when a given parameter is passed on redirect a request to another JSP page using RequestDispatcher.include(). It should answer your question. If you don't want to bother about the redirection you could take a look at MyFaces project which comes with a portlet - MyFacesGenericPortlet that is a bridge between JSF and portlet worlds. It's so easy to design a flow in JSF, and you can do it declaratively, in XML. It's tested and works. Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3901147#3901147 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3901147 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - UserTransaction not found in JBP 2.2.0-ALPHA and JBoss AS 4.
Hi, I'm getting the following exception while deploying JBP 2.2.0-ALPHA (today's build) to JBoss AS 4.0.3. Why is that? | 22:34:32,100 INFO [SessionFactoryImpl] Checking 0 named queries | 22:34:32,421 ERROR [JTATransaction] Could not find UserTransaction in JNDI | javax.naming.NameNotFoundException: UserTransaction not bound | at org.jnp.server.NamingServer.getBinding(NamingServer.java:514) | at org.jnp.server.NamingServer.getBinding(NamingServer.java:522) | at org.jnp.server.NamingServer.getObject(NamingServer.java:528) | at org.jnp.server.NamingServer.lookup(NamingServer.java:281) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:701) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572) | at javax.naming.InitialContext.lookup(InitialContext.java:351) | at org.hibernate.transaction.JTATransaction.init(JTATransaction.java:60) | at org.hibernate.transaction.JTATransactionFactory.createTransaction(JTATransactionFactory.java:53) | at org.hibernate.jdbc.JDBCContext.getTransaction(JDBCContext.java:190) | at org.hibernate.impl.SessionImpl.getTransaction(SessionImpl.java:1197) | at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1204) | at org.jboss.portal.core.impl.model.instance.PersistentInstanceContainer.doCheck(PersistentInstanceContainer.java:250) | at org.jboss.portal.core.impl.model.instance.PersistentInstanceContainer.startService(PersistentInstanceContainer.java:184) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274) | at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:181) | at org.jboss.portal.common.system.AbstractJBossService.start(AbstractJBossService.java:73) | and when I run /portal/ | 22:39:06,355 ERROR [[PortalServletWithPathMapping]] Servlet.service() for servlet PortalServletWithPathMapping threw exception | java.lang.NullPointerException | at org.jboss.portal.core.model.portal.DefaultPortalCommandMapper.doMapping(DefaultPortalCommandMapper.java:74) | Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3900056#3900056 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3900056 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: UserTransaction not found in JBP 2.2.0-ALPHA and JBoss A
[EMAIL PROTECTED] wrote : what service is it ? | | it looks like the service needs hibernate that needs UserTransaction that is not yet bound into JNDI. From the stack trace it looks like it's the PersistentInstanceContainer service. Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3900059#3900059 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3900059 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: UserTransaction not found in JBP 2.2.0-ALPHA and JBoss A
conkan wrote : Did you run 'build' under the build directory and then do a 'build' under the core directory in the portal? I had JTA problems before when deploying and trying out 2.2. However, when I did a 'build' in the core directory, the problems were resolved. | | JBoss Portal 2.2 will have its official release in November. Consequently, I am still using Portal 2.0 Are you sure that build target is available in core and build? When I run your suggested build target, I got Target `build' does not exist in this project.? I'm building the sources as follows: ant -Dportal.deploy.dir=portal -f build/build.xml clean exploded-deploy in the main directory of JBP. Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3900060#3900060 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3900060 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: ClassCastException during Portlet Initialisation
Hi, You didn't describe your environment, but having taken a look at the configuration files, I guess it's JBoss Portal 2.0.1, isn't it? It may not be as important as it seemed to be at first glance, but it's a good habit to include such information when reporting an issue. I've seen ClassCastExceptions when I included portlet.jar within a war. So, make sure that your WEB-INF/lib or WEB-INF/classes directories don't contain portlet.jar. I've seen the exception, too, when a portlet was based on Apache MyFaces portlet and when JSF libraries were in these WEB-INF directories. Since it wasn't shown how your portlet looked like I can't give you a definitive answer. I'm leaning towards to saying that when the ClassCastException is thrown it is most likely a problem manifesting conflicting libraries in WEB-INF/classes or WEB-INF/lib directories. That's what I've been seeing many times in 2.2.0-ALPHA, and may not be of help in previous versions. Hope this helps. Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899794#3899794 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899794 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: EL in included JSP
Hi, I don't understand. Does it mean that your portlets with EL statements don't work in JBoss Portal? I work with 2.2.0-ALPHA and had no problems with it. Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899795#3899795 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899795 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Portlet and init-param
Hi, I don't know if these init-params exists at all. When you click the Help or Edit buttons (and they show only when you have declared EDIT and HELP support in your portlet deployment descriptor), doHelp() and doEdit() methods are invoked where you can decide what page is to display relevant content. It's well described in the portlet spec. Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899796#3899796 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899796 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Compile failed - today's sources
Hi, I'm getting the following exception on Java 5 while building Portal from today's sources. ... _default:compile-classes: [mkdir] Created dir: C:\projs\jboss-portal-2.2\core\output\classes [mkdir] Created dir: C:\projs\jboss-portal-2.2\core\output\gen\classes [javac] Compiling 292 source files to C:\projs\jboss-portal-2.2\core\output\classes [execmodules] C:\projs\jboss-portal-2.2\core\src\main\org\jboss\portal\core\aspects\controller\PolicyEnforcementInterceptor.java:90: reference to CodeSource is ambiguous, both method CodeSource(java.net.URL,java.security.cert.Certificate[]) in java.security.CodeSource and method CodeSource(java.net.URL,java.security.Co deSigner[]) in java.security.CodeSource match [execmodules] cs = new CodeSource(new URL(http://www.jboss.org/portal;), null); [execmodules] ^ [execmodules] C:\projs\jboss-portal-2.2\core\src\main\org\jboss\portal\core\servlet\StaticPrincipalFilter.java:57: warning: [deprecation] getRealPath(java.lang. String) in javax.servlet.ServletRequest has been deprecated [execmodules] public Principal getUserPrincipal() [execmodules] ^ [execmodules] C:\projs\jboss-portal-2.2\core\src\main\org\jboss\portal\core\servlet\StaticPrincipalFilter.java:57: warning: [deprecation] isRequestedSessionIdFr omUrl() in javax.servlet.http.HttpServletRequest has been deprecated [execmodules] public Principal getUserPrincipal() [execmodules] ^ [execmodules] C:\projs\jboss-portal-2.2\core\src\main\org\jboss\portal\core\servlet\StaticPrincipalFilter.java:57: warning: [deprecation] getRealPath(java.lang. String) in javax.servlet.ServletRequest has been deprecated [execmodules] public Principal getUserPrincipal() [execmodules] ^ [execmodules] C:\projs\jboss-portal-2.2\core\src\main\org\jboss\portal\test\core\HttpServletRequestWrapperImpl.java:20: warning: [deprecation] getRealPath(java. lang.String) in javax.servlet.ServletRequest has been deprecated [execmodules] public class HttpServletRequestWrapperImpl [execmodules]^ [execmodules] C:\projs\jboss-portal-2.2\core\src\main\org\jboss\portal\test\core\HttpServletRequestWrapperImpl.java:20: warning: [deprecation] isRequestedSessio nIdFromUrl() in javax.servlet.http.HttpServletRequest has been deprecated [execmodules] public class HttpServletRequestWrapperImpl [execmodules]^ [execmodules] C:\projs\jboss-portal-2.2\core\src\main\org\jboss\portal\test\core\HttpServletRequestWrapperImpl.java:20: warning: [deprecation] getRealPath(java. lang.String) in javax.servlet.ServletRequest has been deprecated [execmodules] public class HttpServletRequestWrapperImpl [execmodules]^ [execmodules] 1 error [execmodules] 6 warnings BUILD FAILED C:\projs\jboss-portal-2.2\tools\etc\buildfragments\targets.ent:732: The following error occurred while executing this line: C:\projs\jboss-portal-2.2\tools\etc\buildfragments\targets.ent:95: Compile failed; see the compiler error output for details. Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899805#3899805 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899805 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Compile failed - today's sources
Thanks Julien. It works now. Any chances that the change to PortalObjectCommandMapper class go into the repository? | $ cvs diff core/src/main/org/jboss/portal/core/model/portal/PortalObjectCommandMapper.java | Index: core/src/main/org/jboss/portal/core/model/portal/PortalObjectCommandMapper.java | === | RCS file: /cvsroot/jboss/jboss-portal/core/src/main/org/jboss/portal/core/model/portal/PortalObjectCommandMapper.java,v | retrieving revision 1.1 | diff -u -r1.1 PortalObjectCommandMapper.java | --- core/src/main/org/jboss/portal/core/model/portal/PortalObjectCommandMapper.java 1 Oct 2005 09:09:52 - 1.1 | +++ core/src/main/org/jboss/portal/core/model/portal/PortalObjectCommandMapper.java 7 Oct 2005 11:31:48 - | @@ -71,7 +71,7 @@ | else if (parent instanceof Page) | { | Page page = (Page)parent; | - return page.getPage(name); | + return page.getWindow(name); | } | return null; | } | And would you consider committing the change to build.xml - http://jira.jboss.com/jira/browse/JBPORTAL-408? Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899809#3899809 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899809 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Setting the dafault portal
Hi, Oh come on, you have read it, haven't you? :) The way the portals (actually, JBoss Portal itself) are accessed is configured in the deployment descriptor of the web app (bound to /portal). It's described at http://docs.jboss.com/jbportal/v2.0Final/user-guide/en/html/installation.html#d0e636, but in fact you don't have to build Portal from the sources. Go to jboss-portal.sar!/portal-server.war/WEB-INF/web.xml and change the servlet-mapping of PortalServletWithPathMapping. Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899846#3899846 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899846 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Setting the dafault portal
Hi, Use /portal/ url. That's the servlet that will route the request to appropriate portal. Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899839#3899839 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899839 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Compile failed - today's sources
Thanks! p.s. See you at JBoss World 2005! Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899840#3899840 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899840 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Apache MyFaces 1.1.0 and 2.2.0-ALPHA don't work any more
Hi, I've just found the answer to the issue with a portlet name being appended to the friendly url. It turned out that the last URL part referencing a portlet should have been the name of a portlet instance rather than a portlet name itself. When I think about the change it seems very reasonable since there can be several instances of a portlet on a page and using the portlet name would not point to the portlet instance to render. I'm still having troubles with MyFaces and the latest 2.2.0-ALPHA, and no form input parameters are passed on. 10:35:09,756 WARN [HtmlRendererUtils] There should always be a submitted value for an input if it is rendered, its form is submitted, and it is not disabled or read-only. Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898892#3898892 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898892 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: The dialect was not set. Set the property hibernate.dial
Hi, It's getting worse with the latest changes to JBoss Portal 2.2 deployed onto JBoss AS 4.0.3RC2. Now, there're 3 directories - instance, portal and user - with Hibernate configuration files and it's a tedious task to change the dialect to org.hibernate.dialect.HSQLDialect every time I update and build Portal. It's 5 files to change. I wonder how developers work. Do they change these files, too or is there a way to work it out? There must be a simpler solution. Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898633#3898633 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898633 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: How to arrange Fragments
I'm not sure how it could work, but to add to Martin's message, you could also render a portlet only when a application/session/request parameter is set. You would then end up with a controller portlet and when appropriate parameter is set, it would dispatch render request to a portlet of your choice. You would have to use IPC and some portal functionality. Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898638#3898638 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898638 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Apache MyFaces 1.1.0 and 2.2.0-ALPHA don't work any more
Hi, Until recently, I could develop portlets with MyFaces impl. Now, JSF forms are no longer able to pass form parameters to backing beans and MyFaces reports | 14:06:20,659 WARN [HtmlRendererUtils] There should always be a submitted value for an input if it is rendered, its form is submitted, and it is not disabled or read-only. | If I test out the web application as as a regular web app (not a portlet) it works fine. It seems that the latest changes to the Friendly URLs or Themes broke JSF apps. Besides, when I use the friendly urls with window name at the end, Portal prints out: 14:05:25,650 ERROR [[PortalServletWithPathMapping]] Servlet.service() for servlet PortalServletWithPathMapping threw exception | java.lang.ClassCastException: org.jboss.portal.core.impl.model.portal.WindowImpl | at org.jboss.portal.core.impl.model.portal.PageImpl.getPage(PageImpl.java:46) | at org.jboss.portal.core.model.portal.PortalObjectCommandMapper$1.getChild(PortalObjectCommandMapper.java:74) | at org.jboss.portal.server.servlet.PathParser.map(PathParser.java:51) | at org.jboss.portal.core.model.portal.PortalObjectCommandMapper.doMapping(PortalObjectCommandMapper.java:131) | at org.jboss.portal.core.command.mapper.PrefixDelegatingCommandMapperService.doMapping(PrefixDelegatingCommandMapperService.java:150) When I strip the window name it displays fine. It worked 2 days ago. Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898641#3898641 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898641 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Apache MyFaces 1.1.0 and 2.2.0-ALPHA don't work any more
Hi, I think I have found a partial solution to the issue I reported earlier (which resulted in the ClassCastException below). Take a look at org.jboss.portal.core.model.portal.PortalObjectCommandMapper:74. Shouldn't it look as follows? return page.getWindow(name); instead of return page.getPage(name); I'm not reporting an issue in JIRA because it keeps failing and my portlet doesn't show up if it's included in a url. Anyway, worth to take a look at that part of the code. Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898794#3898794 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898794 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Failed to create configuration directory for workspace d
Hi Roy, It works now fine. Althoght at some time when I close JBoss using Ctrl-C, the .lock is left and the MBean complains the directory is locked. I'd say it happens every time at Ctrl-C, but am not so sure. 15:54:17,393 WARN [ServiceController] Problem starting service portal:service=CMS javax.jcr.RepositoryException: The repository home at C:\apps\jboss\server\portal\data\portal\jcr appears to be in use. If you are sure it's not in use please delete the file at C:\apps\jboss\server\portal\data\portal\jcr\.lock. Probably the repository was not shutdown properly. at org.apache.jackrabbit.core.RepositoryImpl.acquireRepositoryLock(RepositoryImpl.java:242) at org.apache.jackrabbit.core.RepositoryImpl.(RepositoryImpl.java:155) at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:397) at org.apache.jackrabbit.core.jndi.BindableRepository.init(BindableRepository.java:116) at org.apache.jackrabbit.core.jndi.BindableRepository.create(BindableRepository.java:104) at org.apache.jackrabbit.core.jndi.RegistryHelper.registerRepository(RegistryHelper.java:57) at org.jboss.portal.cms.util.RepositoryUtil.registerRepository(RepositoryUtil.java:58) at org.jboss.portal.cms.impl.jcr.JCRCMS.startService(JCRCMS.java:172) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:287) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:187) at org.jboss.portal.common.system.AbstractJBossService.start(AbstractJBossService.java:73) ... Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3897702#3897702 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3897702 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Portal deployment alternatives
Hi, After a couple of days exploring the code, I finally figured out how to deploy a portlet and a portal separately and be able to access it. I must admit it was a quite challenging task. I don't know if *-portal.xml files can be deployed as-is in deploy directory, but the trick is to set up your development environment to create a war file with WEB-INF/*-portal.xml file in it. Another wars file contain your portlets, one per a web app, so that portals and portlets are kept separately. It's easily done with NetBeans 5.0 (with its JBoss support), probably not less easy with Apache Maven and some other tools. The latest version of JBoss Portlet 2.2.0-ALPHA (built from cvs) has changed the way portals and portlets are accessed. Now, the path to a portal is of the pattern: /[local|global]/portal-name/page-name/window-name/instance-ref. You can find the urls taking a look at server.log (where DEBUGs go) and look up 'portalobject'. Remove it and you'll get the url. So, /portalobject/A/B/C/D gives A/B/C/D and represents the portal A with the page B that in turn references the window C and its portlet D. The last question is what the difference between local and global is. Probably, it pertains to how the session is kept - locally or distributed, but I don't know it yet. Could anyone explain it to me? There're some additional query params: ctrl|render|nav|move|page and cmd, which can influence what is really executed and how, but had no time to delve into it. Could anyone explain it to me, too? Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896840#3896840 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896840 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Failed to create configuration directory for workspace d
Hi Roy, It does exist. Take a look at the directory listing. I believe that rep.home equals to /cygdrive/c/apps/jboss/server/portal/data/portal/jcr in my case. $ pwd /cygdrive/c/apps/jboss/server/portal/data/portal/jcr $ ls -R .: repository/ versions/ workspaces/ ./repository: ./versions: ./workspaces: default/ ./workspaces/default: Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896598#3896598 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896598 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Failed to create configuration directory for workspace d
Hi, Gave it a shot again after rebooting my Windows machine and got different error messages: 15:05:34,159 INFO [JCRCMS] Starting JCR CMS. 15:05:34,249 INFO [LocalFileSystem] LocalFileSystem initialized at path C:\apps\jboss\server\portal\data\portal\jcr\repository 15:05:34,249 INFO [LocalFileSystem] LocalFileSystem initialized at path C:\apps\jboss\server\portal\data\portal\jcr\versions 15:05:34,629 WARN [ServiceController] Problem starting service portal:service=CMS org.apache.jackrabbit.core.config.ConfigurationException: Cannot create a workspace configuration file: java.io.FileNotFoundException: file:\C:\apps\jboss\serve r\portal\data\portal\jcr\workspaces\default\workspace.xml (The filename, directory name, or volume label syntax is incorrect): java.io.FileNotFoundException: fi le:\C:\apps\jboss\server\portal\data\portal\jcr\workspaces\default\workspace.xml (The filename, directory name, or volume label syntax is incorrect) at org.apache.jackrabbit.core.config.RepositoryConfig.createWorkspaceConfig(RepositoryConfig.java:318) at org.apache.jackrabbit.core.config.RepositoryConfig.init(RepositoryConfig.java:218) at org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:97) at org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:71) at org.apache.jackrabbit.core.jndi.BindableRepository.init(BindableRepository.java:114) at org.apache.jackrabbit.core.jndi.BindableRepository.create(BindableRepository.java:104) at org.apache.jackrabbit.core.jndi.RegistryHelper.registerRepository(RegistryHelper.java:57) at org.jboss.portal.cms.util.RepositoryUtil.registerRepository(RepositoryUtil.java:58) at org.jboss.portal.cms.impl.jcr.JCRCMS.startService(JCRCMS.java:172) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:287) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:187) at org.jboss.portal.common.system.AbstractJBossService.start(AbstractJBossService.java:73) ...snipped... Caused by: javax.xml.transform.TransformerException: java.io.FileNotFoundException: file:\C:\apps\jboss\server\portal\data\portal\jcr\workspaces\default\workspa ce.xml (The filename, directory name, or volume label syntax is incorrect) at org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler(TransformerIdentityImpl.java:245) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:278) at org.apache.jackrabbit.core.config.RepositoryConfig.createWorkspaceConfig(RepositoryConfig.java:312) ... 106 more Caused by: java.io.FileNotFoundException: file:\C:\apps\jboss\server\portal\data\portal\jcr\workspaces\default\workspace.xml (The filename, directory name, or v olume label syntax is incorrect) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.(FileOutputStream.java:179) at java.io.FileOutputStream.(FileOutputStream.java:70) at org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler(TransformerIdentityImpl.java:235) ... 108 more Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896617#3896617 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896617 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - The dialect was not set. Set the property hibernate.dialect.
Hi, I know I can change the property in jboss-portal.sar\conf\hibernate\hibernate.cfg.xml, but is there another way to set the default Hibernate dialect so that I don't have to extract/modify/save the file? The change is required as without it JBoss AS 4.0.3RC2 refuses the portal sar to be deployed. 15:47:11,138 WARN [ServiceController] Problem starting service portal:service=Hibernate org.hibernate.HibernateException: The dialect was not set. Set the property hibernate.dialect. at org.hibernate.dialect.Dialect.getDialect(Dialect.java:540) at org.hibernate.dialect.Dialect.getDialect(Dialect.java:562) at org.hibernate.tool.hbm2ddl.SchemaExport.(SchemaExport.java:77) at org.hibernate.tool.hbm2ddl.SchemaExport.(SchemaExport.java:53) at org.jboss.portal.core.hibernate.SessionFactoryBinder.createSchema(SessionFactoryBinder.java:278) at org.jboss.portal.core.hibernate.SessionFactoryBinder.startService(SessionFactoryBinder.java:181) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:287) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:187) at org.jboss.portal.common.system.AbstractJBossService.start(AbstractJBossService.java:73) Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896621#3896621 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896621 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: The dialect was not set. Set the property hibernate.dial
Hi Julien, $ pwd /cygdrive/c/projs/jboss-portal-2.2/build $ ./build.sh explode build.sh: *WARNING* Ignoring environment value for $ANT_HOME build.sh: Executing: /cygdrive/c/projs/jboss-portal-2.2/tools/bin/ant -logger org.apache.tools.ant.NoBannerLogger explode Buildfile: build.xml BUILD FAILED Target `explode' does not exist in this project. Total time: 0 seconds p.s. Thanks for your thorough explanation of JBoss Portal during today's conference! Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896692#3896692 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896692 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: portal navigation
Could you elaborate more on the API in JP2.2? I'm just curious what's there. Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896295#3896295 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896295 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: how could I integrate helloworld portlet into the defaul
Have a look at http://www.jboss.com/products/jbossportal/docs where you can find all the answers. Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896428#3896428 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896428 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Portal deployment alternatives
Hi, I can't figure out what deployment options are available in JBoss Portal. I work with the sources, so its version is JBoss Portal 2.2.0-ALPHA and JBoss AS is 4.0.3RC2. According to the chapter 2 of JBoss Portal reference guide - http://docs.jboss.com/jbportal/v2.0Final/reference-guide/en/html/xmldescriptors.html#d0e557 it should be possible to deploy *-portal.xml files without having them to be bundled in a war. I can't get this to work, thought - /portal/myportal keeps showing me the default portal. Am I missing something? Is there a way to list all of the deployed portals? BTW: I have really been amazed by the new layout scheme - phalanx. It's a nice-looking layout. Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896433#3896433 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896433 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Failed to create configuration directory for workspace defau
Hi, What's that? It happens with the latest JBoss Portal 2.2.0-ALPHA build from the sources and deployed onto JBoss AS 4.0.3RC2. 20:26:04,481 INFO [JCRCMS] Starting JCR CMS. 20:26:04,531 INFO [LocalFileSystem] LocalFileSystem initialized at path C:\apps\jboss\server\portal\data\portal\jcr\repository 20:26:04,531 INFO [LocalFileSystem] LocalFileSystem initialized at path C:\apps\jboss\server\portal\data\portal\jcr\versions 20:26:04,541 WARN [ServiceController] Problem starting service portal:service=CMS org.apache.jackrabbit.core.config.ConfigurationException: Failed to create configuration directory for workspace default. at org.apache.jackrabbit.core.config.RepositoryConfig.createWorkspaceConfig(RepositoryConfig.java:299) at org.apache.jackrabbit.core.config.RepositoryConfig.init(RepositoryConfig.java:218) at org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:97) at org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:71) at org.apache.jackrabbit.core.jndi.BindableRepository.init(BindableRepository.java:114) at org.apache.jackrabbit.core.jndi.BindableRepository.create(BindableRepository.java:104) at org.apache.jackrabbit.core.jndi.RegistryHelper.registerRepository(RegistryHelper.java:57) at org.jboss.portal.cms.util.RepositoryUtil.registerRepository(RepositoryUtil.java:58) at org.jboss.portal.cms.impl.jcr.JCRCMS.startService(JCRCMS.java:172) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:287) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:187) ... Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896434#3896434 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896434 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Can't run a portlet in 2.2.0-ALPHA that worked in JP 2.0.1RC
Hi, Built JBoss Portal 2.2.0-ALPHA (JP 2.2) from its sources and tried to run a portlet that worked well in JP 2.0.1RC1. I know I don't provide much details, but perhaps you will figure out what might cause that it doesn't work. What details would you need to track it down? Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894250#3894250 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894250 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - How to build Portal
Hi, Just to make sure I'm doing it properly, does the ant -f build/build.xml command build JP? The question stroke me right after having noticed that the build/build.xml file contains Nukes (The OpenSource CMS) Build File whereas server/build.xml does JBoss Portal (The OpenSource Portal) Build File, but keeps failing. An aside question, what mailing list do the commit messages go? Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894337#3894337 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894337 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user