[jboss-user] [JBoss Portal] - Re: CMS portlet customization HELP

2007-07-11 Thread shtainberg
There is a hsqldb-ds.xml file in server/default/depoloy ... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062854#4062854 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062854

[jboss-user] [JBoss Portal] - Re: CMS portlet customization HELP

2007-07-11 Thread [EMAIL PROTECTED]
It seems that you played and destroyed stuff from JBoss AS, your errors mentionned here don't seem related. I would suggest that you reinstall JBoss AS. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062865#4062865 Reply to the post :

[jboss-user] [JBoss Portal] - Re: CMS portlet customization HELP

2007-07-11 Thread shtainberg
I allready tried it: rm -Rf JBOSS_INSTALL_DIR unzip the binaries and than deploy for the cms portlet i played with. Am i missing something ? Any debug idias i can use ? 10x! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062874#4062874 Reply to the post :

[jboss-user] [JBoss Portal] - Re: CMS portlet customization HELP

2007-07-11 Thread [EMAIL PROTECTED]
do you restart JBoss AS after deploying the cms portlet ? i don't think it hot-redeploys too well. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062880#4062880 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062880

[jboss-user] [JBoss Portal] - Re: CMS portlet customization HELP

2007-07-11 Thread shtainberg
Yep, i restarted. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062907#4062907 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062907 ___ jboss-user mailing list

[jboss-user] [JBoss Portal] - Re: CMS portlet customization HELP

2007-07-11 Thread [EMAIL PROTECTED]
Post your full stack trace. But you really just redeploy portal-core.sar ? Try without doing modification first maybe. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062930#4062930 Reply to the post :

[jboss-user] [JBoss Portal] - Re: CMS portlet customization HELP

2007-07-09 Thread [EMAIL PROTECTED]
Of course you can, the source code is available look at core-cms. The service is in cms, you shouldn't need to change it, just to use it. Look at core-cms to see how you can build your own portlet. By the way if you modify and improve the existing portlet, please consider contributing back :)

[jboss-user] [JBoss Portal] - Re: CMS portlet customization HELP

2007-07-09 Thread shtainberg
Can i do it without modifing the portlet code ? I just want some simple API to upload files and add some custom fields for search ... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4061905#4061905 Reply to the post :

[jboss-user] [JBoss Portal] - Re: CMS portlet customization HELP

2007-07-09 Thread [EMAIL PROTECTED]
You can already upload files. See the current portlet. I don't understand what you want to do. You tell me that you want to change the portlet without changing the code, It is not clear to me that you are trying to achieve. View the original post :

[jboss-user] [JBoss Portal] - Re: CMS portlet customization HELP

2007-07-09 Thread shtainberg
My final destination , for example , is to have a simple form in which a logged-in user can upload a file and write some input to custom fields (like related case number) and than have the file uploaded to a directory with the related case number string name... What is the most simplest way

[jboss-user] [JBoss Portal] - Re: CMS portlet customization HELP

2007-07-09 Thread [EMAIL PROTECTED]
If you want to reuse the current CMS service and browser you can adapt it. Add a field on the form, then query the CMS service to create a CMS folder using the Command org.jboss.portal.cms.impl.jcr.command.FolderCreateCommand But of course you will have to adapt the UI and the backend. You can

[jboss-user] [JBoss Portal] - Re: CMS portlet customization HELP

2007-07-09 Thread shtainberg
Another newbie question :-) I mpdified a little the core-cms code and compiled it. How should i deploy it ? 10x! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4061967#4061967 Reply to the post :

[jboss-user] [JBoss Portal] - Re: CMS portlet customization HELP

2007-07-09 Thread [EMAIL PROTECTED]
Just go to the core-cms directory and type in: ant clean main deploy-explode Also make sure your build/local.properties file is setup according to your local box setup The values are pretty self explanatory Thanks View the original post :

[jboss-user] [JBoss Portal] - Re: CMS portlet customization HELP

2007-07-09 Thread shtainberg
:-( After deploying. i get the following error: org.apache.jasper.JasperException: File /WEB-INF/portlet.tld not found what wrong have i done ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4061983#4061983 Reply to the post :

[jboss-user] [JBoss Portal] - Re: CMS portlet customization HELP

2007-07-09 Thread [EMAIL PROTECTED]
Is the rest of your jboss-portal.sar deployed in your application server I am assuming all your portal stuff is deployed and you are deploying only the core-cms component into the jboss-portal.sar. Also, can you paste a stack trace with your error for a clearer picture of what is happening

[jboss-user] [JBoss Portal] - Re: CMS portlet customization HELP

2007-07-09 Thread shtainberg
now, it's more complex ... I restarted jboss and now accessing the portal gives me this: java.lang.IllegalStateException: Cannot get portal server org.jboss.portal.server.servlet.PortalServlet.getServer(PortalServlet.java:126)

[jboss-user] [JBoss Portal] - Re: CMS portlet customization HELP

2007-07-09 Thread [EMAIL PROTECTED]
Can you post what your jboss-portal.sar looks like after doing the deploy? Also can you post more of the server stack trace as well? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062000#4062000 Reply to the post :

[jboss-user] [JBoss Portal] - Re: CMS portlet customization HELP

2007-07-09 Thread shtainberg
[EMAIL PROTECTED] jboss-portal.sar]# ls conf lib portal-admin.sar portal-aop.xml portal-core.war portal-samples.sar portal-wsrp.sar dtd META-INF portal-ajax.war portal-cms.sar portal-management.sar portal-server.war widget.war from the server log , maybe that's the

[jboss-user] [JBoss Portal] - Re: CMS portlet customization HELP

2007-07-09 Thread [EMAIL PROTECTED]
From the stack trace it looks like your hsqldb-ds.xml maybe missing. You can copy it over from any other server configuration. Thats the DefaultDS that you need for the application server. btw- also try deploying with a clean installation by doing rm -rf data log tmp work in the server