SQL script - DB - timestamp error
Dear ALL, when I create a new_user (with admin functionalities) the field 'TURBINE_USERS'.'CREATED' contains -00-00 00:00:00, and once I try to login as the new_user the system returns an exception (cannot convert the value in a valid timestamp). I use J1.5, but I'm not sure my MySQL scripts are ok... they seem to lack some fields when I compare them with the scripts for the other DBs. Any hint? Thank you Stefano By the way, if any of you has a really working version of sql scripts for MySQL... Ing. Stefano Bianchi Softeco Sismat S.p.A. Via De Marini, 1 - WTC Tower 16149 Genoa (ITALY) e-mail: [EMAIL PROTECTED] tel: +39 010 60.26.368 fax: +39 010 60.26.350 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JS2 - Getting Started - Maven errors
You did not set the following property (correctly): org.apache.jetspeed.server.home in the build.properties file of the root Jetspeed-2 directory. If your root Tomcat directory is C:\tomcat5 you should have a line like this in the properties file: org.apache.jetspeed.server.home = C:/tomcat5 Check out also: http://portals.apache.org/jetspeed-2/getting-started.html 2. Build Properties. You have all the explanations there. Hope this helped Xavier Hello all, im new here.. pardon me if this has been covered before. Just did a fresh checkout of JS2 from CVS and tried to follow the Gettin Started guide on the website. Opened up 2 shells, started the test.server and then tried to run maven allClean allBuild. Got this error: BUILD FAILED File.. e:\development\projects\jetspeed\jakarta-jetspeed-2\maven.xml Element... maven:reactor Line.. 181 Column 40 Unable to obtain goal [catalina:base-shared] -- e:\development\projects\jetspeed \jakarta-jetspeed-2\portal\maven.xml:524:115: copy Failed to copy C:\Documents and Settings\ramin\.maven\repository\pluto\jars\pluto-1.0.1-rc1.jar to \\shared \lib\pluto-1.0.1-rc1.jar due to \\shared\lib\pluto-1.0.1-rc1.jar (The network pa th was not found) Total time: 4 minutes 14 seconds Finished at: Wed Feb 23 19:35:57 EST 2005 I noticed some packages would not download.. could be the cause of the problem? Thanks -- - Ramin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -=[ xlawrence at jahia dot com ]=- Jahia : A collaborative source CMS and Portal Server www.jahia.org Community and product web site www.jahia.com Commercial services company www.collaborativesource.org Jahia's collaborative license Jahia Solutions Rue de la gare 45 Ch-1260 Nyon, Switzerland - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Something wrong with db connection ?
Hi, I downloaded Jetspeed from cvs to eclipse workspace * configured the build.properties (for production db used mySQL, with the right path to the driver) * Created the DB * ran the Maven allClean allBuild, every thing was ok * ran the quickStart : it created jetspeed.war and webapp folder in my tomcat5.5 webapps folder but was missing the 4 files in META-INF : - prefs_repository.xml - prefs-dao.xml - prefs-noprop-dao.xml - transaction.xml So i put them in the war (even in the jetspeed webapp folder) * Started tomcat : but got the enable to create engine when accessing localhost:8080/jetspeed and in the jetspeed's log file got this error : --- [Thread-1] ERROR org.apache.jetspeed.engine.AbstractEngine - org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'java.util.prefs.PreferencesFactory' defined in URL [file:/D:/app_servers/Tomcat5.5/webapps/jetspeed/WEB-INF/assembly/jetspeed-spring.xml]: Initialization of bean failed; nested exception is org.apache.jetspeed.prefs.PreferencesException: Failed to initialize prefs api. org.springframework.transaction.CannotCreateTransactionException: Could not create OJB transaction; nested exception is org.apache.ojb.broker.accesslayer.LookupException: SQLException thrown while trying to get Connection from Datasource (java:comp/env/jdbc/jetspeed) --- Is it the datasource that's misconfigured somewhere ? Oh and maven created the tables succesfully... Anybody has any idea ? :S - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JSP template
Hello Is it possible in Jetspeed 2 to use JSP as a teplate instead of Velocity? Best regards Marek - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
attempt to download jmock
while running maven on JS2, I keep noticing that jmock-SNAPSHOT.jar is having some problems being downloaded. The build process finishes successfully, but I dont think this file being downloaded into the repository. Is it necessary to run JS2 ? + | Deploying basic Jetspeed portal suite Jetspeed-2 Portal Engine | Memory: 4M/6M + Attempting to download jmock-SNAPSHOT.jar. -- - Ramin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JS2 - Getting Started - Maven errors
You might be right.. in the build.properties file, the org.apache.jetspeed.server.home was set to $CATALINA_HOME/ and I assumed that it was using my environment variable that I had set. I guess I had to actually replace that with the real value. I put in the full path to my tomcat folder and testing it now. thanks. On Thu, 24 Feb 2005 09:31:16 +0100 (CET), Xavier Lawrence [EMAIL PROTECTED] wrote: You did not set the following property (correctly): org.apache.jetspeed.server.home in the build.properties file of the root Jetspeed-2 directory. If your root Tomcat directory is C:\tomcat5 you should have a line like this in the properties file: org.apache.jetspeed.server.home = C:/tomcat5 Check out also: http://portals.apache.org/jetspeed-2/getting-started.html 2. Build Properties. You have all the explanations there. Hope this helped Xavier Hello all, im new here.. pardon me if this has been covered before. Just did a fresh checkout of JS2 from CVS and tried to follow the Gettin Started guide on the website. Opened up 2 shells, started the test.server and then tried to run maven allClean allBuild. Got this error: BUILD FAILED File.. e:\development\projects\jetspeed\jakarta-jetspeed-2\maven.xml Element... maven:reactor Line.. 181 Column 40 Unable to obtain goal [catalina:base-shared] -- e:\development\projects\jetspeed \jakarta-jetspeed-2\portal\maven.xml:524:115: copy Failed to copy C:\Documents and Settings\ramin\.maven\repository\pluto\jars\pluto-1.0.1-rc1.jar to \\shared \lib\pluto-1.0.1-rc1.jar due to \\shared\lib\pluto-1.0.1-rc1.jar (The network pa th was not found) Total time: 4 minutes 14 seconds Finished at: Wed Feb 23 19:35:57 EST 2005 I noticed some packages would not download.. could be the cause of the problem? Thanks -- - Ramin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -=[ xlawrence at jahia dot com ]=- Jahia : A collaborative source CMS and Portal Server www.jahia.org Community and product web site www.jahia.com Commercial services company www.collaborativesource.org Jahia's collaborative license Jahia Solutions Rue de la gare 45 Ch-1260 Nyon, Switzerland -- - Ramin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: attempt to download jmock
Hi Ramin, No it is not necessary to run J2 it is only required for running the testcases. hth, Ramin wrote: while running maven on JS2, I keep noticing that jmock-SNAPSHOT.jar is having some problems being downloaded. The build process finishes successfully, but I dont think this file being downloaded into the repository. Is it necessary to run JS2 ? + | Deploying basic Jetspeed portal suite Jetspeed-2 Portal Engine | Memory: 4M/6M + Attempting to download jmock-SNAPSHOT.jar. -- Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Admiral Hyman Rickover *** * Scott T. Weaver * * [EMAIL PROTECTED] * * http://www.einnovation.com* * -- * * Apache Jetspeed Enterprise Portal * * Apache Pluto Portlet Container * * * * OpenEdit, Website Content Management* * http://www.openedit.org * *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Force restart/reload
Is there a quick and easy way to force Jetspeed to restart? I'm hot deploying a small portlet into Jetspeed. I believe (not 100% certain) that it is picking up changes to my Portlet instance after the hot deploy. It does not appear to pick up changes to a static helper class. I see Portlet is Not Available: ClickLink Reason: Node has been removed. At the bottom of my portlet's window. I'm having to stop/restart Tomcat to pick up such changes and I'm hoping for something a little quicker and easier. -- Howard M. Lewis Ship Independent J2EE / Open-Source Java Consultant Creator, Jakarta Tapestry Creator, Jakarta HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Default users and passwords
Hi in jetspeed 1 there were some pre-configured users and passwords in the default build. Does the same exist in jetspeed2 and if so what are they? thanks Geoff - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Default users and passwords
admin/admin should work. and once u r logged in u can see other users. --- Geoff Hollingworth [EMAIL PROTECTED] wrote: Hi in jetspeed 1 there were some pre-configured users and passwords in the default build. Does the same exist in jetspeed2 and if so what are they? thanks Geoff - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Yahoo! Messenger - Communicate instantly...Ping your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Default users and passwords
great thanks From: Siddharth Chhabra [EMAIL PROTECTED] Reply-To: Jetspeed Users List jetspeed-user@jakarta.apache.org To: Jetspeed Users List jetspeed-user@jakarta.apache.org Subject: Re: Default users and passwords Date: Thu, 24 Feb 2005 20:04:04 + (GMT) admin/admin should work. and once u r logged in u can see other users. --- Geoff Hollingworth [EMAIL PROTECTED] wrote: Hi in jetspeed 1 there were some pre-configured users and passwords in the default build. Does the same exist in jetspeed2 and if so what are they? thanks Geoff - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Yahoo! Messenger - Communicate instantly...Ping your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Force restart/reload
I had similar issues with my portlets. There is a bug in tomcat 5.0.28 with the autoDeploy. It is not used correctly in this version. Now, I use tomcat 5.0.30 and hot deploy works fine. Christophe Howard Lewis Ship wrote: Is there a quick and easy way to force Jetspeed to restart? I'm hot deploying a small portlet into Jetspeed. I believe (not 100% certain) that it is picking up changes to my Portlet instance after the hot deploy. It does not appear to pick up changes to a static helper class. I see Portlet is Not Available: ClickLink Reason: Node has been removed. At the bottom of my portlet's window. I'm having to stop/restart Tomcat to pick up such changes and I'm hoping for something a little quicker and easier. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: File upload using commons fileuploader not working
I'm using the same component in Graffito and it works with Jetspeed 2. Your code seems correct. Maybe an issue in the html form. Christophe nik gonzalez wrote: By the way, its a JSR 168 portlet that i deployed in Fusion. Thanks, Nik -Original Message- From: nik gonzalez [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 23, 2005 5:05 PM To: jetspeed-user@jakarta.apache.org Subject: File upload using commons fileuploader not working Hello, I ran the following code in my portlet. PortletFileUpload dfu = new PortletFileUpload(); //get the FileItems List fileItems = dfu.parseRequest(request); Iterator iter = fileItems.iterator(); while (iter.hasNext()) { FileItem item = (FileItem) iter.next(); if (item.isFormField()) { //pass along to render request String fieldName = item.getFieldName(); String value = item.getString(); response.setRenderParameter(fieldName, value); } else { //write the uploaded file to a new location String fieldName = item.getFieldName(); String fileName = item.getName(); String contentType = item.getContentType(); long size = item.getSize(); response.setRenderParameter(size, Long.toString(size)); response.setRenderParameter(contentType, contentType); String tempDir = System.getProperty(java.io.tmpdir); System.out.println(tempDir: +tempDir); String serverFileName = fieldName + -portlet.tmp; File serverFile = new File(tempDir, serverFileName); item.write(serverFile); response.setRenderParameter(serverFileName, serverFileName); getPortletContext().log( serverFileName : + tempDir + / + serverFileName); } } Once i submit the multipart form, it does not enter the while loop meaning that the iterator is empty. Is this a bug? I attached the rest of the source code. got this from one of the messages in this mailing list. Thanks, Nik -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 266.4.0 - Release Date: 2/22/2005 -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 266.4.0 - Release Date: 2/22/2005 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JS2 - Getting Started - Maven errors
Did you defined correctly all Jetspeed 2 parameters in the build.properties ? \\shared\lib\pluto-1.0.1-rc1.jar (The network path was not found) is not correct path Christophe Ramin wrote: Hello all, im new here.. pardon me if this has been covered before. Just did a fresh checkout of JS2 from CVS and tried to follow the Gettin Started guide on the website. Opened up 2 shells, started the test.server and then tried to run maven allClean allBuild. Got this error: BUILD FAILED File.. e:\development\projects\jetspeed\jakarta-jetspeed-2\maven.xml Element... maven:reactor Line.. 181 Column 40 Unable to obtain goal [catalina:base-shared] -- e:\development\projects\jetspeed \jakarta-jetspeed-2\portal\maven.xml:524:115: copy Failed to copy C:\Documents and Settings\ramin\.maven\repository\pluto\jars\pluto-1.0.1-rc1.jar to \\shared \lib\pluto-1.0.1-rc1.jar due to \\shared\lib\pluto-1.0.1-rc1.jar (The network pa th was not found) Total time: 4 minutes 14 seconds Finished at: Wed Feb 23 19:35:57 EST 2005 I noticed some packages would not download.. could be the cause of the problem? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JSP template
Marek Nowak wrote: Hello Is it possible in Jetspeed 2 to use JSP as a teplate instead of Velocity? I assume this is one of those obvious questions that no one answers because well its so obvious Or maybe because its unclear When you say 'use JSP' do you mean in your portlets? Then the answer is YES, of course! Plenty of examples of that in the applications included in the distribution If you mean in decorators or layouts, then also yes, although you don't have the Jetspeed Power Tool so it would be a little harder than with velocity -- David Sean Taylor Bluesunrise Software [EMAIL PROTECTED] [office] +01 707 773-4646 [mobile] +01 707 529 9194 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Default users and passwords
Siddharth Chhabra wrote: admin/admin should work. and once u r logged in u can see other users. we try to make it easy for hackers as possible: passwords are same as usernames -- David Sean Taylor Bluesunrise Software [EMAIL PROTECTED] [office] +01 707 773-4646 [mobile] +01 707 529 9194 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Force restart/reload
Christophe Lombart wrote: I had similar issues with my portlets. There is a bug in tomcat 5.0.28 with the autoDeploy. It is not used correctly in this version. Now, I use tomcat 5.0.30 and hot deploy works fine. I usually just deploy the entire webapp (portlet app) by dropping it into the jetspeed deploy directory (maven task), although that can be expensive if you have a lot jars in your distribution, but it still can be quicker than restarting I still think we need to further look into Jetspeed portlet cache since it holds on to the webapp class loader and could be causing this kind of problem. Not sure if Ate's latest go at deployment is considering this or not Christophe Howard Lewis Ship wrote: Is there a quick and easy way to force Jetspeed to restart? I'm hot deploying a small portlet into Jetspeed. I believe (not 100% certain) that it is picking up changes to my Portlet instance after the hot deploy. It does not appear to pick up changes to a static helper class. I see Portlet is Not Available: ClickLink Reason: Node has been removed. At the bottom of my portlet's window. I'm having to stop/restart Tomcat to pick up such changes and I'm hoping for something a little quicker and easier. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- David Sean Taylor Bluesunrise Software [EMAIL PROTECTED] [office] +01 707 773-4646 [mobile] +01 707 529 9194 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: attempt to download jmock
Ramin wrote: while running maven on JS2, I keep noticing that jmock-SNAPSHOT.jar is having some problems being downloaded. The build process finishes successfully, but I dont think this file being downloaded into the repository. Is it necessary to run JS2 ? try building with -o for offline if you don't want to check for snapshots -- David Sean Taylor Bluesunrise Software [EMAIL PROTECTED] [office] +01 707 773-4646 [mobile] +01 707 529 9194 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Importing Jetspeed settings into database
Sven Richter wrote: Hello, I so far made all the changes to Torque.properties.merge JetspeedResources.properties.merge and project.properties and created all tables in MySQL, as described on the Jetspeed homepage. The next step is (according to the website) to import the file-based settings to the database with maven import. Unfurtunately I get the error message that the goal import does not exist. Could you please help me with this problem? What version are you using? The import goal is clearly there in the cvs head and 1.5 im pretty sure -- David Sean Taylor Bluesunrise Software [EMAIL PROTECTED] [office] +01 707 773-4646 [mobile] +01 707 529 9194 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Force restart/reload
David Sean Taylor wrote: Christophe Lombart wrote: I had similar issues with my portlets. There is a bug in tomcat 5.0.28 with the autoDeploy. It is not used correctly in this version. Now, I use tomcat 5.0.30 and hot deploy works fine. I usually just deploy the entire webapp (portlet app) by dropping it into the jetspeed deploy directory (maven task), although that can be expensive if you have a lot jars in your distribution, but it still can be quicker than restarting I still think we need to further look into Jetspeed portlet cache since it holds on to the webapp class loader and could be causing this kind of problem. Not sure if Ate's latest go at deployment is considering this or not yes ;-) The main rationale behind my refactoring is relying on the web server classloader handling only (for non-local portlet applications). Christophe Howard Lewis Ship wrote: Is there a quick and easy way to force Jetspeed to restart? I'm hot deploying a small portlet into Jetspeed. I believe (not 100% certain) that it is picking up changes to my Portlet instance after the hot deploy. It does not appear to pick up changes to a static helper class. I see Portlet is Not Available: ClickLink Reason: Node has been removed. At the bottom of my portlet's window. I'm having to stop/restart Tomcat to pick up such changes and I'm hoping for something a little quicker and easier. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Database parameters missing.
[EMAIL PROTECTED] wrote: Hi, I using Tomcat 5.5.7 and jetspeed on jdk 1.5 on a windows xp platform. I'm 5.5 doesn't run with Jetspeed-2 unfortunately http://issues.apache.org/jira/browse/JS2-187 -- David Sean Taylor Bluesunrise Software [EMAIL PROTECTED] [office] +01 707 773-4646 [mobile] +01 707 529 9194 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: regarding roadmaps
Siddharth Chhabra wrote: hi In my current company we are currently evaluating portal products and Jetspeed appears to be the most ambitious and cost effective project out ther(when we see all the possible things it intends to support out of the box). But we need to have our portal out sometime by the end of this year and out managements concerns is whether jetspeed 2 will have a release version out by that time. The roadmaps on the site have no dates next to them. We'll try to get a roadmap/release plan onto the site soon Sorry for the inconvenience We had our M1 release in December M2 should be release in March (thats pushed back 1 month thus far) After that, we will follow with a 2.0 FINAL release (1-2 months) -- David Sean Taylor Bluesunrise Software [EMAIL PROTECTED] [office] +01 707 773-4646 [mobile] +01 707 529 9194 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JS2 login portlet empty
I have installed jetspeed-2 M1 on Tomcat 5.0.30 and finally got it working (after buggering around with Java SDK's and Tomcat 5.5) but have a question. When the welcome page appears, the login portlet and locale selector portlet are both empty. In particular the login portlet being empty isn't very helpful because then I can't login to Jetspeed and play around with it's customisation and personalisation tools. For info, in the WEB-INF/deploy directory there doesn't seem to be any war specifically for login or locale - the directory listing is: demo.war; jetspeed-layouts.war; jsf-demo.war; pam.war; perl.war; php.war; rss.war; security.war; struts-demo.war; All other portlets display fine - any help would be appreciated. Cheers, Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Help on customizer and GridPortletController
I can't find any references to the GridPortletControllecontroller. It may be obsolete. In order to use the customizer, you must login to the portal. To invoke the customizer, you can either click on the HTML link near the top, or click on a pencil icon near the top of the page or tab. You can move portlets around however you desire (within the capabilities of each controller). This layout will only be for the page that you're editing. No other psml will get that particular layout unless you edit it as well. On Fri, 25 Feb 2005 05:15:22 +0530, Balavenu Nuti [EMAIL PROTECTED] wrote: Hi, I am new to Jetspeed, the questions I have are regarding Jetspeed 1.5. * I am trying to use the GridPortletController. I don't find any examples, can somebody point me to some examples.? * Can I use the customizer to create a specific layout? * How do I invoke the customizer? Any help on these lines is appreciated. -Bala - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: regarding roadmaps
David, I have to ask since we are relying on the release of JS1.6. Will there be a release for Jetspeed 1.6 before M2 release of JS2? Thanks, Hema On Thu, 24 Feb 2005 15:56:15 -0800, David Sean Taylor [EMAIL PROTECTED] wrote: We'll try to get a roadmap/release plan onto the site soon Sorry for the inconvenience We had our M1 release in December M2 should be release in March (thats pushed back 1 month thus far) After that, we will follow with a 2.0 FINAL release (1-2 months) -- David Sean Taylor Bluesunrise Software [EMAIL PROTECTED] [office] +01 707 773-4646 [mobile] +01 707 529 9194 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- ~~ Hema Menon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
using MySQL with J2 - setup problem
Hi, I finally got around to switch from HSQLDB to MySQL and ran into a build problem. I setup MySQL DB schema and users per J2 instructions (created 'j2test' and 'j2' schemas and the 'jetspeed2' user that has all writes for those schemas). I have also modified J2's build.properties to use MySQL (I'm including a snippet below). After that, I do the following: 1. start MySQL DB 2. cd [EMAIL PROTECTED] maven allClean - OK maven allBuild - Error: Attempting to download maven-torque-plugin-3.2.jar. 2/6K 6/6K 6K downloaded build:start: allBuild: check.required.properties: torque:init: db.scripts.gen: [echo] Generating SQL schema creation scripts for HSQLDB [torque-sql] Using classpath [torque-sql] Generating to file C:\Marina\Harvard\Projects\jakarta-jetspeed-2-MYSQL\target\src\sql\hsql\report.portal.sql.generation [echo] Generating SQL schema creation scripts for MySQL [torque-sql] Using classpath [torque-sql] Generating to file C:\Marina\Harvard\Projects\jakarta-jetspeed-2-MYSQL\target\src\sql\mysql\report.portal.sql.generation [echo] Generating SQL schema creation scripts for Oracle [torque-sql] Using classpath [torque-sql] Generating to file C:\Marina\Harvard\Projects\jakarta-jetspeed-2-MYSQL\target\src\sql\oracle\report.portal.sql.generation [echo] Generating SQL schema creation scripts for MS SQL [torque-sql] Using classpath [torque-sql] Generating to file C:\Marina\Harvard\Projects\jakarta-jetspeed-2-MYSQL\target\src\sql\mssql\report.portal.sql.generation [echo] Generating SQL schema creation scripts for Postgres [torque-sql] Using classpath [torque-sql] Generating to file C:\Marina\Harvard\Projects\jakarta-jetspeed-2-MYSQL\target\src\sql\postgres\report.portal.sql.generation BUILD FAILED File.. C:\Marina\Harvard\Projects\jakarta-jetspeed-2-MYSQL\maven.xml Element... sql Line.. 355 Column 39 Source file does not exist! Total time: 12 seconds Finished at: Thu Feb 24 21:27:54 EST 2005 Here is my build.properties (relevant parts): # Override the database connection and driverproperties in your ${USER_HOME}/build.properties appropriately # See: # http://portals.apache.org/jetspeed-2/database.html org.apache.jetspeed.test.database.url = jdbc:mysql://localhost/j2test org.apache.jetspeed.test.database.driver = com.mysql.jdbc.Driver org.apache.jetspeed.test.database.user = jetspeed2 org.apache.jetspeed.test.database.password = jetspeed2 org.apache.jetspeed.test.jdbc.drivers.path=C:/Marina/MySQL/mysql-connector-java-3.0.16-ga/mysql-connector-java-3.0.16-ga-bin.jar org.apache.jetspeed.test.database.default.name=j2test org.apache.jetspeed.test.database.ojb.platform=mysql org.apache.jetspeed.production.database.url = jdbc:mysql://localhost/j2 org.apache.jetspeed.production.database.driver = com.mysql.jdbc.Driver org.apache.jetspeed.production.database.user = jetspeed2 org.apache.jetspeed.production.database.password = jetspeed2 org.apache.jetspeed.production.jdbc.drivers.path=C:/Marina/MySQL/mysql-connector-java-3.0.16-ga/mysql-connector-java-3.0.16-ga-bin.jar org.apache.jetspeed.production.database.default.name=j2 org.apache.jetspeed.production.database.ojb.platform=mysql (I am not sure about the ojb.platform property, there were no directions on what it should be set to for MySQL, so I decided to set it to 'mysql' instead of keeping the default value of 'Hsqldb' ...) Any idea what I did wrong? Thanks! Marina - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: using MySQL with J2 - setup problem
Marina, Shouldn't there be a default name entry in your build.properties file? I have used it with Sybase and I have the following entry in my build.properties. org.apache.jetspeed.test.database.default.name = sybase Hema On Thu, 24 Feb 2005 18:37:18 -0800 (PST), Marina [EMAIL PROTECTED] wrote: Hi, I finally got around to switch from HSQLDB to MySQL and ran into a build problem. I setup MySQL DB schema and users per J2 instructions (created 'j2test' and 'j2' schemas and the 'jetspeed2' user that has all writes for those schemas). I have also modified J2's build.properties to use MySQL (I'm including a snippet below). After that, I do the following: 1. start MySQL DB 2. cd [EMAIL PROTECTED] maven allClean - OK maven allBuild - Error: Attempting to download maven-torque-plugin-3.2.jar. 2/6K 6/6K 6K downloaded build:start: allBuild: check.required.properties: torque:init: db.scripts.gen: [echo] Generating SQL schema creation scripts for HSQLDB [torque-sql] Using classpath [torque-sql] Generating to file C:\Marina\Harvard\Projects\jakarta-jetspeed-2-MYSQL\target\src\sql\hsql\report.portal.sql.generation [echo] Generating SQL schema creation scripts for MySQL [torque-sql] Using classpath [torque-sql] Generating to file C:\Marina\Harvard\Projects\jakarta-jetspeed-2-MYSQL\target\src\sql\mysql\report.portal.sql.generation [echo] Generating SQL schema creation scripts for Oracle [torque-sql] Using classpath [torque-sql] Generating to file C:\Marina\Harvard\Projects\jakarta-jetspeed-2-MYSQL\target\src\sql\oracle\report.portal.sql.generation [echo] Generating SQL schema creation scripts for MS SQL [torque-sql] Using classpath [torque-sql] Generating to file C:\Marina\Harvard\Projects\jakarta-jetspeed-2-MYSQL\target\src\sql\mssql\report.portal.sql.generation [echo] Generating SQL schema creation scripts for Postgres [torque-sql] Using classpath [torque-sql] Generating to file C:\Marina\Harvard\Projects\jakarta-jetspeed-2-MYSQL\target\src\sql\postgres\report.portal.sql.generation BUILD FAILED File.. C:\Marina\Harvard\Projects\jakarta-jetspeed-2-MYSQL\maven.xml Element... sql Line.. 355 Column 39 Source file does not exist! Total time: 12 seconds Finished at: Thu Feb 24 21:27:54 EST 2005 Here is my build.properties (relevant parts): # Override the database connection and driverproperties in your ${USER_HOME}/build.properties appropriately # See: # http://portals.apache.org/jetspeed-2/database.html org.apache.jetspeed.test.database.url = jdbc:mysql://localhost/j2test org.apache.jetspeed.test.database.driver = com.mysql.jdbc.Driver org.apache.jetspeed.test.database.user = jetspeed2 org.apache.jetspeed.test.database.password = jetspeed2 org.apache.jetspeed.test.jdbc.drivers.path=C:/Marina/MySQL/mysql-connector-java-3.0.16-ga/mysql-connector-java-3.0.16-ga-bin.jar org.apache.jetspeed.test.database.default.name=j2test org.apache.jetspeed.test.database.ojb.platform=mysql org.apache.jetspeed.production.database.url = jdbc:mysql://localhost/j2 org.apache.jetspeed.production.database.driver = com.mysql.jdbc.Driver org.apache.jetspeed.production.database.user = jetspeed2 org.apache.jetspeed.production.database.password = jetspeed2 org.apache.jetspeed.production.jdbc.drivers.path=C:/Marina/MySQL/mysql-connector-java-3.0.16-ga/mysql-connector-java-3.0.16-ga-bin.jar org.apache.jetspeed.production.database.default.name=j2 org.apache.jetspeed.production.database.ojb.platform=mysql (I am not sure about the ojb.platform property, there were no directions on what it should be set to for MySQL, so I decided to set it to 'mysql' instead of keeping the default value of 'Hsqldb' ...) Any idea what I did wrong? Thanks! Marina - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- ~~ Hema Menon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Force restart/reload
Hi, This is somewhat off topic, but of interest to us in 'portal-land': Are you working on making Tapestry JSR-168 compatible? If not, do you have plans to move in this direction? TIA /Craig Howard Lewis Ship wrote: Is there a quick and easy way to force Jetspeed to restart? I'm hot deploying a small portlet into Jetspeed. I believe (not 100% certain) that it is picking up changes to my Portlet instance after the hot deploy. It does not appear to pick up changes to a static helper class. I see Portlet is Not Available: ClickLink Reason: Node has been removed. At the bottom of my portlet's window. I'm having to stop/restart Tomcat to pick up such changes and I'm hoping for something a little quicker and easier. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: using MySQL with J2 - setup problem
Marina, What I meant to say is that, I believe the default name should be the type of database name, so in your build script it should be mysql instead of j2 and j2test. If you look at the sample build properties, it contains hsql for both test and production default database name. org.apache.jetspeed.test.database.default.name=hsql org.apache.jetspeed.test.database.ojb.platform=Hsqldb Hema On Thu, 24 Feb 2005 18:37:18 -0800 (PST), Marina [EMAIL PROTECTED] wrote: Hi, I finally got around to switch from HSQLDB to MySQL and ran into a build problem. I setup MySQL DB schema and users per J2 instructions (created 'j2test' and 'j2' schemas and the 'jetspeed2' user that has all writes for those schemas). I have also modified J2's build.properties to use MySQL (I'm including a snippet below). After that, I do the following: 1. start MySQL DB 2. cd [EMAIL PROTECTED] maven allClean - OK maven allBuild - Error: Attempting to download maven-torque-plugin-3.2.jar. 2/6K 6/6K 6K downloaded build:start: allBuild: check.required.properties: torque:init: db.scripts.gen: [echo] Generating SQL schema creation scripts for HSQLDB [torque-sql] Using classpath [torque-sql] Generating to file C:\Marina\Harvard\Projects\jakarta-jetspeed-2-MYSQL\target\src\sql\hsql\report.portal.sql.generation [echo] Generating SQL schema creation scripts for MySQL [torque-sql] Using classpath [torque-sql] Generating to file C:\Marina\Harvard\Projects\jakarta-jetspeed-2-MYSQL\target\src\sql\mysql\report.portal.sql.generation [echo] Generating SQL schema creation scripts for Oracle [torque-sql] Using classpath [torque-sql] Generating to file C:\Marina\Harvard\Projects\jakarta-jetspeed-2-MYSQL\target\src\sql\oracle\report.portal.sql.generation [echo] Generating SQL schema creation scripts for MS SQL [torque-sql] Using classpath [torque-sql] Generating to file C:\Marina\Harvard\Projects\jakarta-jetspeed-2-MYSQL\target\src\sql\mssql\report.portal.sql.generation [echo] Generating SQL schema creation scripts for Postgres [torque-sql] Using classpath [torque-sql] Generating to file C:\Marina\Harvard\Projects\jakarta-jetspeed-2-MYSQL\target\src\sql\postgres\report.portal.sql.generation BUILD FAILED File.. C:\Marina\Harvard\Projects\jakarta-jetspeed-2-MYSQL\maven.xml Element... sql Line.. 355 Column 39 Source file does not exist! Total time: 12 seconds Finished at: Thu Feb 24 21:27:54 EST 2005 Here is my build.properties (relevant parts): # Override the database connection and driverproperties in your ${USER_HOME}/build.properties appropriately # See: # http://portals.apache.org/jetspeed-2/database.html org.apache.jetspeed.test.database.url = jdbc:mysql://localhost/j2test org.apache.jetspeed.test.database.driver = com.mysql.jdbc.Driver org.apache.jetspeed.test.database.user = jetspeed2 org.apache.jetspeed.test.database.password = jetspeed2 org.apache.jetspeed.test.jdbc.drivers.path=C:/Marina/MySQL/mysql-connector-java-3.0.16-ga/mysql-connector-java-3.0.16-ga-bin.jar org.apache.jetspeed.test.database.default.name=j2test org.apache.jetspeed.test.database.ojb.platform=mysql org.apache.jetspeed.production.database.url = jdbc:mysql://localhost/j2 org.apache.jetspeed.production.database.driver = com.mysql.jdbc.Driver org.apache.jetspeed.production.database.user = jetspeed2 org.apache.jetspeed.production.database.password = jetspeed2 org.apache.jetspeed.production.jdbc.drivers.path=C:/Marina/MySQL/mysql-connector-java-3.0.16-ga/mysql-connector-java-3.0.16-ga-bin.jar org.apache.jetspeed.production.database.default.name=j2 org.apache.jetspeed.production.database.ojb.platform=mysql (I am not sure about the ojb.platform property, there were no directions on what it should be set to for MySQL, so I decided to set it to 'mysql' instead of keeping the default value of 'Hsqldb' ...) Any idea what I did wrong? Thanks! Marina - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- ~~ Hema Menon -- ~~ Hema Menon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Cannot get JS2 running
Following the Get Started guide I tried to build jetspeed and deploy it in tomcat. All my maven builds ended successfully. I started the production server and ran maven quickStart. Started up tomcat, but am getting alot of errors in the tomcat logs... I've attached my log file to this email. Can someone please advice? OS: WinXp SP2 SDK: Java 1.5 Tomcat: 5.5 and 4.1 Jetspeed 2 from CVS file attached -- - Ramin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]