Re: [Rife-users] JavaPaste Install and Config
WARNING: Can't install the content database structure.; Error while executing the SQL 'CREATE INDEX ContentInfo_pathname ON ContentInfo (path, name)'.; Specified key was too long; max key length is 1024 bytes This is what creates problems. Maybe you need to configure MySQL to accept longer keys, or maybe you need to upgrade to a later version. -- Geert Bevin Uwyn "Use what you need" - http://uwyn.com RIFE Java application framework - http://rifers.org Music and words - http://gbevin.com ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] JavaPaste Install and Config
Tomcat 5.5.jdk 5Mysql 4.1.11Window xp2006-05-31 20:12:33,593 [Thread-1] WARN org.apache.myfaces.util.LocaleUtils - Locale name in faces-config.xml null or empty, setting locale to default locale : pt_BR 31/05/2006 20:12:37 com.uwyn.javapaste.participants.InstallParticipant$1 useTransactionWithoutResultWARNING: The database structure couldn't be installed, it probably already exists.31/05/2006 20:12:37 com.uwyn.javapaste.participants.InstallParticipant$1 useTransactionWithoutResultWARNING: Can't install the content database structure.; Error while executing the SQL 'CREATE INDEX ContentInfo_pathname ON ContentInfo (path, name)'.; Specified key was too long; max key length is 1024 bytes 31/05/2006 20:12:39 com.uwyn.rife.engine.Gate handleRequestSEVERE: Error on host localhost:8080//javapastecom.uwyn.rife.database.exceptions.ExecutionErrorException: Error while executing the SQL 'SELECT * FROM paste WHERE privateKey = '' ORDER BY created DESC LIMIT 10'. at com.uwyn.rife.database.DbPreparedStatement.executeQuery(DbPreparedStatement.java:196) at com.uwyn.rife.database.DbQueryManager.executeQuery(DbQueryManager.java:197) at com.uwyn.rife.database.DbQueryManager.executeFetchAll (DbQueryManager.java:2395) at com.uwyn.rife.database.DbQueryManager.executeFetchAll(DbQueryManager.java:2345) at com.uwyn.rife.database.querymanagers.generic.AbstractGenericQueryManager._restore(AbstractGenericQueryManager.java :669) at com.uwyn.rife.database.querymanagers.generic.databasedrivers.generic.restore(generic.java:183) at com.uwyn.rife.database.querymanagers.generic.GenericQueryManagerDelegate.restore(GenericQueryManagerDelegate.java :141) at com.uwyn.javapaste.elements.RecentPastes.processElement(RecentPastes.java:47) at com.uwyn.rife.engine.ElementContext.processContext(ElementContext.java:441) at com.uwyn.rife.engine.RequestState.service (RequestState.java:347) at com.uwyn.rife.engine.ElementContext.processEmbeddedElement(ElementContext.java:4250) at com.uwyn.rife.engine.ElementContext.processEmbeddedElementsLate(ElementContext.java:1401) at com.uwyn.rife.engine.ElementContext.processTemplate(ElementContext.java:1750) at com.uwyn.rife.engine.ElementContext.print(ElementContext.java:1410) at com.uwyn.rife.engine.ElementSupport.print(ElementSupport.java :1156) at com.uwyn.rife.engine.elements.PrintTemplate.processElement(PrintTemplate.java:80) at com.uwyn.rife.engine.ElementContext.processContext(ElementContext.java:441) at com.uwyn.rife.engine.RequestState.service (RequestState.java:347) at com.uwyn.rife.engine.Gate.handleRequest(Gate.java:416) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java :39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.uwyn.rife.servlet.RifeFilter.doFilter(RifeFilter.java :139) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java :744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595)Caused by: java.sql.SQLException: Table 'javapaste.paste' doesn't exist at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2928) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1571) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1666) at com.mysql.jdbc.Connection.execSQL(Connection.java:2994) at com.mysql.jdbc.PreparedStatement.executeInternal (PreparedStatement.java:936) at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1030) at com.uwyn.rife.database.DbPreparedStatement.executeQuery(DbPreparedStatement.java:187) ... 37 more On 5/31/06, Geert Bevin <[EMAIL PROTECTED]> wrote: Which version of MySQL are you using?Are there any errors in the startup logs?On 01 Jun 2006, at 01:02, mindu wrot
Re: [Rife-users] JavaPaste Install and Config
Which version of MySQL are you using? Are there any errors in the startup logs? On 01 Jun 2006, at 01:02, mindu wrote: hi Geert, I followed the steps. show this error where i run the first time: om.uwyn.rife.database.exceptions.ExecutionErrorException Error while executing the SQL 'SELECT * FROM paste WHERE privateKey = '' ORDER BY created DESC LIMIT 10'. java.sql.SQLException Table 'javapaste.paste' doesn't exist Some tables are created. thanks mindu On 5/29/06, Geert Bevin < [EMAIL PROTECTED]> wrote:What do you mean, I detailed all the steps below to install Javapaste. On 29 May 2006, at 23:21, mindu wrote: > hi, > from svn repository, which archives are necessary to make download > to use javapaste ? > > thanks > mindu > > On 4/27/06, mindu < [EMAIL PROTECTED]> wrote: > thank you ... :) > I will try and any problem return for the list > > mindu > > > On 4/27/06, Geert Bevin < [EMAIL PROTECTED] > wrote:Hi Mindu, > > these are the steps, I just verified them and they work fine. Please > note that JavaPaste hasn't been packaged nor released yet. The setup > and configuration might still change for the final release. > > * checkout the sources using Subversion from https://svn.rifers.org/ > javapaste/trunk > * edit the file src/rep/participants.xml and change the 'derby' > datasource into 'mysql' > * edit the file src/rep/config-base.xml and adapt database_name, > database_user, database_password to the MySQL database and user you > created for JavaPaste > * do "ant package" > * you'll find the war file in: build/dist/javapaste-1.0.war > * rename to javapaste.war or anything you like and put it in your > Tomcat webapps directory > * start tomcat > > Everything should be installed automatically. > > Hope this helps, > > Geert > > On 26 Apr 2006, at 05:46, mindu wrote: > > > hi, > > How i use javapaste in my java server with tomcat 5 and mysql ? > > > > thanks > > mindu > > -- > > Comunidade IRC de Usuários Java. > > #java - irc.brasnet.org > > http://canaljava.dev.java.net > > ___ > > Rife-users mailing list > > Rife-users@uwyn.com > > http://lists.uwyn.com/mailman/listinfo/rife-users > > -- > Geert Bevin Uwyn bvba GTalk: > [EMAIL PROTECTED] > "Use what you need" Avenue de Scailmont 34 Skype: gbevin > http://www.uwyn.com 7170 Manage, Belgium AIM: geertbevin > gbevin at uwyn dot com Tel: +32 64 84 80 03 Mobile: +32 477 302 599 > > PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D 309F D6A9 > Public PGP key : available at servers pgp.mit.edu, wwwkeys.pgp.net > > > ___ > Rife-users mailing list > Rife-users@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-users > > > > -- > Comunidade IRC de Usuários Java. > #java - irc.brasnet.org > http://canaljava.dev.java.net > > > > -- > Comunidade IRC de Usuários Java. > #java - irc.brasnet.org > http://canaljava.dev.java.net > ___ > Rife-users mailing list > Rife-users@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-users -- Geert Bevin Uwyn "Use what you need" - http://uwyn.com RIFE Java application framework - http://rifers.org Music and words - http://gbevin.com ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users -- Comunidade IRC de Usuários Java. #java - irc.brasnet.org http://canaljava.dev.java.net ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users -- Geert Bevin Uwyn "Use what you need" - http://uwyn.com RIFE Java application framework - http://rifers.org Music and words - http://gbevin.com ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] JavaPaste Install and Config
hi Geert,I followed the steps.show this error where i run the first time:om.uwyn.rife.database.exceptions.ExecutionErrorException Error while executing the SQL 'SELECT * FROM paste WHERE privateKey = '' ORDER BY created DESC LIMIT 10'.java.sql.SQLException Table 'javapaste.paste' doesn't existSome tables are created.thanksminduOn 5/29/06, Geert Bevin < [EMAIL PROTECTED]> wrote:What do you mean, I detailed all the steps below to install Javapaste. On 29 May 2006, at 23:21, mindu wrote:> hi,> from svn repository, which archives are necessary to make download> to use javapaste ?>> thanks> mindu>> On 4/27/06, mindu < [EMAIL PROTECTED]> wrote:> thank you ... :)> I will try and any problem return for the list>> mindu>>> On 4/27/06, Geert Bevin < [EMAIL PROTECTED] > wrote:Hi Mindu,>> these are the steps, I just verified them and they work fine. Please> note that JavaPaste hasn't been packaged nor released yet. The setup > and configuration might still change for the final release.>> * checkout the sources using Subversion from https://svn.rifers.org/> javapaste/trunk> * edit the file src/rep/participants.xml and change the 'derby' > datasource into 'mysql'> * edit the file src/rep/config-base.xml and adapt database_name,> database_user, database_password to the MySQL database and user you> created for JavaPaste> * do "ant package" > * you'll find the war file in: build/dist/javapaste-1.0.war> * rename to javapaste.war or anything you like and put it in your> Tomcat webapps directory> * start tomcat>> Everything should be installed automatically. >> Hope this helps,>> Geert>> On 26 Apr 2006, at 05:46, mindu wrote:>> > hi,> > How i use javapaste in my java server with tomcat 5 and mysql ?> > > > thanks> > mindu> > --> > Comunidade IRC de Usuários Java.> > #java - irc.brasnet.org> > http://canaljava.dev.java.net> > ___> > Rife-users mailing list> > Rife-users@uwyn.com> > http://lists.uwyn.com/mailman/listinfo/rife-users>> --> Geert Bevin Uwyn bvba GTalk:> [EMAIL PROTECTED]> "Use what you need" Avenue de Scailmont 34 Skype: gbevin > http://www.uwyn.com 7170 Manage, Belgium AIM: geertbevin> gbevin at uwyn dot com Tel: +32 64 84 80 03 Mobile: +32 477 302 599>> PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D 309F D6A9 > Public PGP key : available at servers pgp.mit.edu, wwwkeys.pgp.net>>> ___ > Rife-users mailing list> Rife-users@uwyn.com> http://lists.uwyn.com/mailman/listinfo/rife-users --> Comunidade IRC de Usuários Java.> #java - irc.brasnet.org> http://canaljava.dev.java.net --> Comunidade IRC de Usuários Java.> #java - irc.brasnet.org> http://canaljava.dev.java.net > ___> Rife-users mailing list> Rife-users@uwyn.com> http://lists.uwyn.com/mailman/listinfo/rife-users--Geert BevinUwyn "Use what you need" - http://uwyn.comRIFE Java application framework - http://rifers.orgMusic and words - http://gbevin.com___Rife-users mailing listRife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users-- Comunidade IRC de Usuários Java.#java - irc.brasnet.orghttp://canaljava.dev.java.net ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] JavaPaste Install and Config
What do you mean, I detailed all the steps below to install Javapaste. On 29 May 2006, at 23:21, mindu wrote: hi, from svn repository, which archives are necessary to make download to use javapaste ? thanks mindu On 4/27/06, mindu < [EMAIL PROTECTED]> wrote: thank you ... :) I will try and any problem return for the list mindu On 4/27/06, Geert Bevin < [EMAIL PROTECTED] > wrote:Hi Mindu, these are the steps, I just verified them and they work fine. Please note that JavaPaste hasn't been packaged nor released yet. The setup and configuration might still change for the final release. * checkout the sources using Subversion from https://svn.rifers.org/ javapaste/trunk * edit the file src/rep/participants.xml and change the 'derby' datasource into 'mysql' * edit the file src/rep/config-base.xml and adapt database_name, database_user, database_password to the MySQL database and user you created for JavaPaste * do "ant package" * you'll find the war file in: build/dist/javapaste-1.0.war * rename to javapaste.war or anything you like and put it in your Tomcat webapps directory * start tomcat Everything should be installed automatically. Hope this helps, Geert On 26 Apr 2006, at 05:46, mindu wrote: > hi, > How i use javapaste in my java server with tomcat 5 and mysql ? > > thanks > mindu > -- > Comunidade IRC de Usuários Java. > #java - irc.brasnet.org > http://canaljava.dev.java.net > ___ > Rife-users mailing list > Rife-users@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-users -- Geert Bevin Uwyn bvba GTalk: [EMAIL PROTECTED] "Use what you need" Avenue de Scailmont 34 Skype: gbevin http://www.uwyn.com 7170 Manage, Belgium AIM: geertbevin gbevin at uwyn dot com Tel: +32 64 84 80 03 Mobile: +32 477 302 599 PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D 309F D6A9 Public PGP key : available at servers pgp.mit.edu, wwwkeys.pgp.net ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users -- Comunidade IRC de Usuários Java. #java - irc.brasnet.org http://canaljava.dev.java.net -- Comunidade IRC de Usuários Java. #java - irc.brasnet.org http://canaljava.dev.java.net ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users -- Geert Bevin Uwyn "Use what you need" - http://uwyn.com RIFE Java application framework - http://rifers.org Music and words - http://gbevin.com ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] JavaPaste Install and Config
hi,from svn repository, which archives are necessary to make download to use javapaste ? thanksminduOn 4/27/06, mindu < [EMAIL PROTECTED]> wrote:thank you ... :)I will try and any problem return for the list minduOn 4/27/06, Geert Bevin < [EMAIL PROTECTED] > wrote:Hi Mindu,these are the steps, I just verified them and they work fine. Please note that JavaPaste hasn't been packaged nor released yet. The setupand configuration might still change for the final release.* checkout the sources using Subversion from https://svn.rifers.org/javapaste/trunk* edit the file src/rep/participants.xml and change the 'derby'datasource into 'mysql'* edit the file src/rep/config-base.xml and adapt database_name,database_user, database_password to the MySQL database and user you created for JavaPaste* do "ant package"* you'll find the war file in: build/dist/javapaste-1.0.war* rename to javapaste.war or anything you like and put it in yourTomcat webapps directory * start tomcatEverything should be installed automatically.Hope this helps,GeertOn 26 Apr 2006, at 05:46, mindu wrote:> hi,> How i use javapaste in my java server with tomcat 5 and mysql ? >> thanks> mindu> --> Comunidade IRC de Usuários Java.> #java - irc.brasnet.org > http://canaljava.dev.java.net > ___> Rife-users mailing list> Rife-users@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-users--Geert Bevin Uwyn bvba GTalk: [EMAIL PROTECTED]"Use what you need" Avenue de Scailmont 34 Skype: gbevin http://www.uwyn.com 7170 Manage, Belgium AIM: geertbevingbevin at uwyn dot com Tel: +32 64 84 80 03 Mobile: +32 477 302 599 PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D 309F D6A9 Public PGP key : available at servers pgp.mit.edu, wwwkeys.pgp.net___Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users -- Comunidade IRC de Usuários Java.#java - irc.brasnet.org http://canaljava.dev.java.net -- Comunidade IRC de Usuários Java.#java - irc.brasnet.orghttp://canaljava.dev.java.net ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] JavaPaste Install and Config
thank you ... :)I will try and any problem return for the listminduOn 4/27/06, Geert Bevin <[EMAIL PROTECTED] > wrote:Hi Mindu,these are the steps, I just verified them and they work fine. Please note that JavaPaste hasn't been packaged nor released yet. The setupand configuration might still change for the final release.* checkout the sources using Subversion from https://svn.rifers.org/javapaste/trunk* edit the file src/rep/participants.xml and change the 'derby'datasource into 'mysql'* edit the file src/rep/config-base.xml and adapt database_name,database_user, database_password to the MySQL database and user you created for JavaPaste* do "ant package"* you'll find the war file in: build/dist/javapaste-1.0.war* rename to javapaste.war or anything you like and put it in yourTomcat webapps directory * start tomcatEverything should be installed automatically.Hope this helps,GeertOn 26 Apr 2006, at 05:46, mindu wrote:> hi,> How i use javapaste in my java server with tomcat 5 and mysql ? >> thanks> mindu> --> Comunidade IRC de Usuários Java.> #java - irc.brasnet.org> http://canaljava.dev.java.net > ___> Rife-users mailing list> Rife-users@uwyn.com> http://lists.uwyn.com/mailman/listinfo/rife-users--Geert Bevin Uwyn bvba GTalk: [EMAIL PROTECTED]"Use what you need" Avenue de Scailmont 34 Skype: gbevin http://www.uwyn.com 7170 Manage, Belgium AIM: geertbevingbevin at uwyn dot com Tel: +32 64 84 80 03 Mobile: +32 477 302 599PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D 309F D6A9 Public PGP key : available at servers pgp.mit.edu, wwwkeys.pgp.net___Rife-users mailing list Rife-users@uwyn.comhttp://lists.uwyn.com/mailman/listinfo/rife-users -- Comunidade IRC de Usuários Java.#java - irc.brasnet.orghttp://canaljava.dev.java.net ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] JavaPaste Install and Config
Hi Mindu, these are the steps, I just verified them and they work fine. Please note that JavaPaste hasn't been packaged nor released yet. The setup and configuration might still change for the final release. * checkout the sources using Subversion from https://svn.rifers.org/ javapaste/trunk * edit the file src/rep/participants.xml and change the 'derby' datasource into 'mysql' * edit the file src/rep/config-base.xml and adapt database_name, database_user, database_password to the MySQL database and user you created for JavaPaste * do "ant package" * you'll find the war file in: build/dist/javapaste-1.0.war * rename to javapaste.war or anything you like and put it in your Tomcat webapps directory * start tomcat Everything should be installed automatically. Hope this helps, Geert On 26 Apr 2006, at 05:46, mindu wrote: hi, How i use javapaste in my java server with tomcat 5 and mysql ? thanks mindu -- Comunidade IRC de Usuários Java. #java - irc.brasnet.org http://canaljava.dev.java.net ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users -- Geert Bevin Uwyn bvba GTalk: [EMAIL PROTECTED] "Use what you need" Avenue de Scailmont 34 Skype: gbevin http://www.uwyn.com 7170 Manage, Belgium AIM: geertbevin gbevin at uwyn dot com Tel: +32 64 84 80 03 Mobile: +32 477 302 599 PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D 309F D6A9 Public PGP key : available at servers pgp.mit.edu, wwwkeys.pgp.net ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] JavaPaste Install and Config
> Maybe this will help? > > http://rifers.org/wiki/display/RIFE/Examples+with+PostgreSQL+and+Tomcat > > Obviously, the PGSQL part won't apply, but it should put you on the right > track. the page about Derby is even easier to set up. fred -- F.Baube* Georgetown/MSFS/1988 * Think pangalactically. fbaube#saunalahti.fi * Act locally. gsm +358 41 536 8192 * wmd 60°11'10.8"N 24°57'36.9"E ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] JavaPaste Install and Config
Maybe this will help? http://rifers.org/wiki/display/RIFE/Examples+with+PostgreSQL+and+Tomcat Obviously, the PGSQL part won't apply, but it should put you on the right track. Cheers, Tyler On 4/26/06, mindu <[EMAIL PROTECTED]> wrote: > hi, > How i use javapaste in my java server with tomcat 5 and mysql ? > > thanks > mindu > -- > Comunidade IRC de Usuários Java. > #java - irc.brasnet.org > http://canaljava.dev.java.net > ___ > Rife-users mailing list > Rife-users@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-users > > > ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
[Rife-users] JavaPaste Install and Config
hi,How i use javapaste in my java server with tomcat 5 and mysql ?thanksmindu-- Comunidade IRC de Usuários Java.#java - irc.brasnet.org http://canaljava.dev.java.net ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users