"[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 t
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
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");
| PortletRequestDispatch
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
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=bb&op=viewtopic&p=3905460#3905460
Reply to the post :
http://www.jboss.com/index.html?module=bb&op
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
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 th
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 '...
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=bb&op=viewtopic&p=3904805#3904805
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904805
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 b
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 port
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 tag, otherwise it won't work. In
processAction, doView() or
"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
"[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.co
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.NameNotFou
Thanks!
p.s. See you at JBoss World 2005!
Jacek
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3899840#3899840
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3899840
---
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=bb&op=viewtopic&p=3899839#3899839
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3899839
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#d0e6
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/PortalObjectCommandMa
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
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 c
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=bb&op=viewtopic&p=3899795#3899795
Reply to the post :
http://www.j
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 ClassCast
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 reasona
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
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 submitt
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
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 upda
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
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
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
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 de
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 [LocalFi
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:
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\rep
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/h
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=bb&op=viewtopic&p=3896428#3896428
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=38964
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=bb&op=viewtopic&p=3896295#3896295
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896295
-
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) B
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 ori
40 matches
Mail list logo