vif-devel Mailing List for VIF (Page 5)
Brought to you by:
aktion-hip
You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(6) |
Sep
(25) |
Oct
|
Nov
|
Dec
(2) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
(4) |
May
(9) |
Jun
(2) |
Jul
(3) |
Aug
|
Sep
(2) |
Oct
|
Nov
(1) |
Dec
|
| 2004 |
Jan
(1) |
Feb
|
Mar
(4) |
Apr
(9) |
May
(4) |
Jun
(2) |
Jul
(1) |
Aug
(5) |
Sep
(3) |
Oct
(2) |
Nov
(4) |
Dec
(3) |
| 2005 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(9) |
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2006 |
Jan
(18) |
Feb
(40) |
Mar
(5) |
Apr
|
May
|
Jun
(4) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(3) |
Nov
(6) |
Dec
|
| 2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(9) |
| 2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2013 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2014 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Benno L. <ben...@id...> - 2004-01-31 05:31:45
|
Hello I've released version 0.6.0 of VIF. I've expanded the framework so that it can handle nested queries too. With that, the list of discussion groups, using nested queries, become much more informative. However, with this improvement the applicaton requires Version 4.1.0 of the MySQL database. Here's the list of changes: VIF Framework 0.9.0 - Added handling of nested queries to Domain Object Framework. - Implemented creation of script links in html head (in analogy to CSS links). - Updated domain object framework documentation. VIF Application 0.6.0 - GroupList in Forum shows the number of participants registered actually. This feature is the result of the new nested query feature of the Domain Object Framework. - Made discussion groups workflow aware: State changes are triggered automatically or by group administrators. The participants are notified about state changes of groups. - Redesigned display of question and completion view. - Improved formatting of messages. - Precheck before view to create new contribution is displayed: Group has to be active and actor has to be registered. Regards, Benno |
|
From: Benno L. <ben...@id...> - 2003-11-10 15:38:44
|
Hello Features added to the application: - Added task to scroll the lists over multiple pages. - Added automated role management to group admin and registering tasks. Bugs fixed in the application: - Bug fixed in stylesheet for creation of completion. Features added to the Framework. - Made Context Serializable, thus adding Tomcat restart persistence to the framework. - Added possibility to disable connection pooling. Additionally I've added a Walktrough example to the documentation (see http://vif.sourceforge.net/WalkThrough.html). Regards, Benno |
|
From: Benno L. <ben...@id...> - 2003-09-05 16:03:29
|
A note about naming. I renamed the table tblContribution (and all associated tables) to tblCompletion. This makes it possible to use the term 'Contribution' in a consistant way for all potentially publishable content, i.e. questions, completions, biographic and bibliographic information. Contributions are stored in the tables tblQuestion, tblCompletion, tblPerson and tblText (and their histories). The term 'Completion' then is used for information related and added to questions, e.g. potential answers. Completions are stored in tblCompletion. Regards, Benno |
|
From: Benno L. <ben...@id...> - 2003-09-05 16:02:26
|
Hello I've released Release 0.5.0 of the application VIF. Changes in the application: - Refactored datamodel and domain objects to avoid potential misunderstanding: Renamed tblContribution to tblCompletion and replaced 'contribution' with 'completion' throughout the whole application. - Made question and completion object workflow aware. - Made publication of questions and completions by administrators steps in the VIF workflow. - Made list of questions for administrators contingent to their role, i.e. the Administrator views more then the GroupAdmin. - Implemented use cases 3 (posting of forum contributions), 4 (review of forum contributions) and 5 (revision of a rejected forum contributions). - Added script to create tblPerson and the corresponding domain object and it's home. Changes in the framework: - Refactored KeyObject, thus making KeyObjects involved and recursive. With this, it is possible to create grouped SQL WHERE statements, e.g. "... WHERE groupid = 43 AND ((memberid = 22 AND isauthor = 1) OR state = 3)" Regards, Benno |
|
From: Benno L. <ben...@id...> - 2003-07-28 09:10:36
|
I've checked in and released the workflow package that the application VIF will use. The VIF workflow framework provides basic workflow functionality. It is designed to support the management of all sorts of publishable content. The VIF workflow framework package is the Java implementation of the Python workflow module itools created by Juan David Ibáñez Palomar (jd...@it...). The package consists of the jar file containing the compiled framework and a jar file containing the source code and a unit test. In addition the package includes documentation describing the use of the workflow framework (see http://vif.sourceforge.net/WorkflowFramework.pdf). The workflow package is integrated in the VIF framework, but the project VIF made the workflow package separately downloadable (see https://sourceforge.net/projects/vif/) for use in other Java frameworks and applications. Regards, Benno |
|
From: Benno L. <ben...@id...> - 2003-07-22 19:10:39
|
Dear Aparup I send you the files with my remarks added. table_tblPerson.sql: I made the primary key auto incrementing, changed the field type of dtMutation to timestamp, added the index idxPerson_01 (sName, sFirstName), removed the constraint 'not null' except for the fields name and firstname and changed a little bit the field widths. You can find the remarks concerning the Java code in the classes attached. I've added PersonImplTest.java, a JUnit testcase testing the classes you created. I'll check in the reviewed code in the next days. Regards, Benno > -----Original Message----- > From: vif...@li... > [mailto:vif...@li...]On Behalf Of Aparup > Banerjee > Sent: Montag, 14. Juli 2003 06:15 > To: Vif...@li... > Subject: [Vif-devel] Tbl Person > > > Dear Benno, > > I started the tblPerson Feature yesterday: > Following are the action items i taken: > i) Created a Table for tblPerson. > ii)Created the Person, PersonHome DOM > and PersonImpl and PersonHomeImpl. > > I am attaching the files along with, plz go through them in your spare > time and if possible give your inline comments where ever > required, this > will help me in better undersatnding of the vif framework. > > Nextly i have decided to go ahead and code for the > Person*Task files and > after that the required views. > > One more thing which i have noticed while coding for the > models, we can > generate a greate piece of code for them, as they follow a fixed > teamplate. > May be we can take this, after we are done with the great deal of the > whole application. > > Let me know your remarks. > > Regards > Aparup > |
|
From: Aparup B. <apa...@su...> - 2003-07-14 04:15:07
|
Dear Benno, I started the tblPerson Feature yesterday: Following are the action items i taken: i) Created a Table for tblPerson. ii)Created the Person, PersonHome DOM and PersonImpl and PersonHomeImpl. I am attaching the files along with, plz go through them in your spare time and if possible give your inline comments where ever required, this will help me in better undersatnding of the vif framework. Nextly i have decided to go ahead and code for the Person*Task files and after that the required views. One more thing which i have noticed while coding for the models, we can generate a greate piece of code for them, as they follow a fixed teamplate. May be we can take this, after we are done with the great deal of the whole application. Let me know your remarks. Regards Aparup |
|
From: Benno L. <ben...@id...> - 2003-06-23 07:30:57
|
Hello I've released Release 0.4.1 of the application VIF. The changes in this release are intended to make deployment easier. Changes in the application: - Added the concrete method getSysName() to the application's servlet thus providing the application's name of the configuration file. Changes in the framework: - Added setters to VSys making the application's configuration object able to read the application's configurations from a properties file having any name residing at any place. - Overwrote the init() method in AbstractRequestHandler (the framework's servlet) to initialize the application's configuration with the application's servlet context and the name of the configuration file. - Added the abstract method getSysName() all classes extending the application's servlet have to implement. This method returns the name of the application's configuration file. Regards, Benno |
|
From: Benno L. <ben...@id...> - 2003-06-12 14:59:23
|
Hello I've released Release 0.4.0 of the application VIF. Changes in the application: - Implemented tasks to create and edit contributions. - Added MemberID fields to history tables to track the users responsible for the changes. Changes in the framework: - Expanded QueryResult's serializer methods with parameter thus making it possible to specify the serializer to use. Regards, Benno |
|
From: Benno L. <ben...@id...> - 2003-05-26 12:20:59
|
Hello I've released Release 0.3.4 of the application VIF. Changes in the application: - Implemented ViewStack and BackTask to work around the browser's problem with history.back(). - Added task to reset password to the application's administration part. - Added functionality to send a mail to the user if the user's entry is created or if his or her password is reset. The mail contains the user's login information, in particular the password. Changes in the framework: - Added RedirectPage to redirect the output to a specified page. Regards, Benno |
|
From: Benno L. <ben...@id...> - 2003-05-16 08:12:15
|
Dear Swati > Ein Super User kann nur f|r eine neue Installation > erzeugt werden. The message above is german and says: "It's only possible to create a super user for a new installation." Because you've been successful to create the super user, you don't have a new installation. For security reasons I implemented the restriction that it's only possible to create a super user in a empty member table (tblMember). As soon as you have at least one entry in this table, calling the task with the request type "createSU" will return the message above. The problem remains that 1.) you get german error messages and 2.) you get an error calling http://localhost:8080/vifapp/admin/. My interpretation is that the application is not able to access vif.properties. If it would have been able to read the settings in this file, it would have been switched to english (org.hip.vif.dftLanguage=en) and knows about the place of the stylesheets and html-pages (org.hip.vif.docs.root=...). Maybe you should tell me more about your configuration and environment, i.e. where you installed Tomcat, how you start it, how you debug the application etc. Regards, Benno > -----Original Message----- > From: ss ss [mailto:tru...@ya...] > Sent: Donnerstag, 15. Mai 2003 20:04 > To: ben...@id... > Subject: Error > > > Benno, > > 1. While going to following URL : > > http://localhost:8080/vifapp/admin/servlet?requestType=createS > U&userId=b&passwd=f > > I get following message and sometimes get Assertion > error. > > Ein Super User kann nur f|r eine neue Installation > erzeugt werden. > > 2. While going to following URL : > http://localhost:8080/vifapp/admin/ > > I get ( No HTML for view! ) > > Thanks, > SS > > > > --- Benno Luthiger <ben...@id...> wrote: > > Dear Swati > > > > > How do u specify the language in the application. > > I > > > have made following changes to > > > org.hip.kernel.sys.VSys: > > > > > > public final static String dftLanguage = "en"; > > This is ok. However, this setting is only last > > resort. If the startup is > > successful, the application uses the language > > setting defined with > > org.hip.vif.dftLanguag2e=en in vif.properties. > > > > > I got a message which was not in english. SO I > > guess I > > > have to learn the language from ya. : -) > > The message should be "The super user suId has been > > created successfully." > > I thought, this is english, but as my mother tongue > > is not english, I might > > be wrong :-) > > > > Well, if you got the following response: "Der Super > > User suId wurde > > erfolgreich erzeugt." then you got the german > > version of the success > > message. > > > > However, you could check in the table tblMember in > > your database, whether > > the entry for the application's su has been created. > > If yes, you could go > > further. > > > > If the message you got matches the german version > > above, you still seem to > > have some problems to read the vif.properties file. > > The application reads > > this properties file in > > org.hip.kernel.sys.VSys.getVSysProperties(). Maybe > > you can debug this method to check what it does. > > > > Greetings, > > Benno > > > > > > > -----Original Message----- > > > From: ss ss [mailto:tru...@ya...] > > > Sent: Donnerstag, 15. Mai 2003 09:08 > > > To: Luthiger Stoll, Benno > > > Subject: RE: [Vif-devel] vif.properties and > > libraries > > > > > > > > > Hey Benno, > > > > > > I managed to get rid of the previous errors. While > > > going to the following URL, I get " No HTML for > > view! > > > " > > > > > > > > > http://localhost:8080/vifapp/admin/shared/frameset/master.html > > > > > > Also Going to the URL > > > > > > http://localhost:8080/vifapp/admin/servlet?requestType=createS > > > U&userId=suId&passwd=suPasswd > > > > > > I got a message which was not in english. SO I > > guess I > > > have to learn the language from ya. : -) > > > > > > TC > > > SS > > > > > > > > > > > > > > > > > __________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo. > http://search.yahoo.com |
|
From: Benno L. <ben...@id...> - 2003-05-15 07:33:54
|
Dear Swati > How do u specify the language in the application. I > have made following changes to > org.hip.kernel.sys.VSys: > > public final static String dftLanguage = "en"; This is ok. However, this setting is only last resort. If the startup is successful, the application uses the language setting defined with org.hip.vif.dftLanguage=en in vif.properties. > I got a message which was not in english. SO I guess I > have to learn the language from ya. : -) The message should be "The super user suId has been created successfully." I thought, this is english, but as my mother tongue is not english, I might be wrong :-) Well, if you got the following response: "Der Super User suId wurde erfolgreich erzeugt." then you got the german version of the success message. However, you could check in the table tblMember in your database, whether the entry for the application's su has been created. If yes, you could go further. If the message you got matches the german version above, you still seem to have some problems to read the vif.properties file. The application reads this properties file in org.hip.kernel.sys.VSys.getVSysProperties(). Maybe you can debug this method to check what it does. Greetings, Benno > -----Original Message----- > From: ss ss [mailto:tru...@ya...] > Sent: Donnerstag, 15. Mai 2003 09:08 > To: Luthiger Stoll, Benno > Subject: RE: [Vif-devel] vif.properties and libraries > > > Hey Benno, > > I managed to get rid of the previous errors. While > going to the following URL, I get " No HTML for view! > " > > http://localhost:8080/vifapp/admin/shared/frameset/master.html > > Also Going to the URL > http://localhost:8080/vifapp/admin/servlet?requestType=createS > U&userId=suId&passwd=suPasswd > > I got a message which was not in english. SO I guess I > have to learn the language from ya. : -) > > TC > SS > > > > |
|
From: Benno L. <ben...@id...> - 2003-05-14 16:36:56
|
Dear Swati
AbstractXSLView inherits from org.hip.kernel.servlet.impl.AbstractHtmlView.
In the initialize() method of this class, both constants DOCS_ROOT and
WEB_ROOT are initialized by reading the values from the properties file,
e.g.:
DOCS_ROOT =
VSys.getVSysProperties().getProperty(DOCS_ROOT_PROPERTY_NAME);
A value 'null' means that the application was not able to read the file
vif.properties.
Please check again whether your really started Tomcat from the directory you
placed vif.properties.
Regards,
Benno
> -----Original Message-----
> From: ss ss [mailto:tru...@ya...]
> Sent: Mittwoch, 14. Mai 2003 07:34
> To: Luthiger Stoll, Benno
> Subject: Re: [Vif-devel] vif.properties and libraries
>
>
> Hey Benno,
>
> I have tried to debug the code and found that I am
> getting the error at following place: Somehow I am
> getting the DOCS_ROot AND Language null. Where do you
> specify the language(In vif.property file or somewhere
> else). Also still getting the doc root null.
>
> org.hip.kernel.servlet.impl.AbstractXSLView
>
> private String getRelativeXSLName()
> {
> System.out.println("DOCS_ROOT" + DOCS_ROOT);
> System.out.println("LANGUAGE" + this.getLanguage()
> );
> System.out.println("XML NAME" + getXMLName());
>
> return DOCS_ROOT + this.getLanguage() + "/" +
> getXMLName();
> }
>
> THE OUTPUT IS
> XSL FILE NAME IS nullnull/err_msg/body.xsl
> DOCS_ROOTnull
> LANGUAGEnull
>
> Let me know if you have any idea. I am also working on
> it.
>
> Thanks : -)
> Swati.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> --- Benno Luthiger <ben...@id...> wrote:
> > Dear Swati,
> >
> > Here some remarks to the vif.properties you sent me:
> >
> > >org.hip.vif.db.password=
> > For this property you must provide the password of
> > the DB-user VIF. I guess,
> > you left this empty in the file you sent me for
> > security reasons ;-)
> >
> > >org.hip.vif.docs.root=C:\Program Files\Apache
> > Group\Tomcat\webapps\vifapp\admin\
> > The properties nees slashes '/' and not back-slashes
> > '\' for path
> > specifications. That might be the cause of the
> > error. So the following
> > property is better:
> > org.hip.vif.docs.root=C:/Program Files/Apache
> > Group/Tomcat/webapps/vifapp/admin/
> >
> > In the properties file I use when I implement I only
> > made
> > org.hip.vif.docs.root absolute and left the other
> > properties (i.e.
> > org.hip.vif.docs.root and org.hip.vif.logPath)
> > relative. That works fine for
> > me. Please try if the same holds for you.
> >
> > > Anyways, I am trying to set up the project in my
> > Jbuilder.
> > Good.
> >
> > > Is there any documentation about this.
> > Unfortunately not. I'm using Eclipse as my IDE.
> >
> > > 1.What are the libraries needed to be included in
> > the
> > > project so that it compiles.
> > You need all the libraries deployed in your
> > Tomcat\webapps\vifapp\WEB-INF\lib directory except,
> > of course, vif.jar (the
> > application) and viffw.jar (the applications
> > framework).
> >
> > > 2. I have set the output path of my Jbuilder to
> > > \Apache
> > Group\Tomcat\webapps\vifapp\WEB-INF\classes ...
> > Eclipse has a Tomcat-plugin. This makes it possible
> > to run Tomcat and debug
> > the application from the IDE. Maybe you theres a
> > Tomcat-plugin available for
> > JBuilder too.
> >
> > Good luck,
> > Benno
> >
> >
> > > -----Original Message-----
> > > From: ss ss [mailto:tru...@ya...]
> > > Sent: Montag, 12. Mai 2003 19:22
> > > To: Luthiger Stoll, Benno
> > > Subject: Error....
> > >
> > >
> > > Hello Benno,
> > >
> > > How are you? Unfortunately, I am still getting the
> > > same error even though I have changed my property
> > > file.I am attaching the property file also.
> > >
> > > Anyways, I am trying to set up the project in my
> > > Jbuilder. Is there any documentation about this. I
> > > want to know the following:
> > >
> > > 1.What are the libraries needed to be included in
> > the
> > > project so that it compiles.
> > >
> > > 2. I have set the output path of my Jbuilder to
> > > \Apache
> > Group\Tomcat\webapps\vifapp\WEB-INF\classes ie
> > > the output will go to this directory. I am
> > assuming
> > > that apache will take the class file from this
> > > directory before looking in the \Apache
> > > Group\Tomcat\webapps\vifapp\WEB-INF\lib directory
> > > which has all the jar version.
> > >
> > > Basically I want to put debug statements to
> > eliminate
> > > the errors.
> > >
> > > Let me know soon.
> > > Thanks,
> > > Swati.
> > >
> > >
> >
> >
> >
> >
> -------------------------------------------------------
> > Enterprise Linux Forum Conference & Expo, June 4-6,
> > 2003, Santa Clara
> > The only event dedicated to issues related to Linux
> > enterprise solutions
> > www.enterpriselinuxforum.com
> >
> > _______________________________________________
> > Vif-devel mailing list
> > Vif...@li...
> >
> https://lists.sourceforge.net/lists/listinfo/vif-devel
>
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
>
|
|
From: Benno L. <ben...@id...> - 2003-05-12 21:30:10
|
Dear Swati, Here some remarks to the vif.properties you sent me: >org.hip.vif.db.password= For this property you must provide the password of the DB-user VIF. I guess, you left this empty in the file you sent me for security reasons ;-) >org.hip.vif.docs.root=C:\Program Files\Apache Group\Tomcat\webapps\vifapp\admin\ The properties nees slashes '/' and not back-slashes '\' for path specifications. That might be the cause of the error. So the following property is better: org.hip.vif.docs.root=C:/Program Files/Apache Group/Tomcat/webapps/vifapp/admin/ In the properties file I use when I implement I only made org.hip.vif.docs.root absolute and left the other properties (i.e. org.hip.vif.docs.root and org.hip.vif.logPath) relative. That works fine for me. Please try if the same holds for you. > Anyways, I am trying to set up the project in my Jbuilder. Good. > Is there any documentation about this. Unfortunately not. I'm using Eclipse as my IDE. > 1.What are the libraries needed to be included in the > project so that it compiles. You need all the libraries deployed in your Tomcat\webapps\vifapp\WEB-INF\lib directory except, of course, vif.jar (the application) and viffw.jar (the applications framework). > 2. I have set the output path of my Jbuilder to > \Apache Group\Tomcat\webapps\vifapp\WEB-INF\classes ... Eclipse has a Tomcat-plugin. This makes it possible to run Tomcat and debug the application from the IDE. Maybe you theres a Tomcat-plugin available for JBuilder too. Good luck, Benno > -----Original Message----- > From: ss ss [mailto:tru...@ya...] > Sent: Montag, 12. Mai 2003 19:22 > To: Luthiger Stoll, Benno > Subject: Error.... > > > Hello Benno, > > How are you? Unfortunately, I am still getting the > same error even though I have changed my property > file.I am attaching the property file also. > > Anyways, I am trying to set up the project in my > Jbuilder. Is there any documentation about this. I > want to know the following: > > 1.What are the libraries needed to be included in the > project so that it compiles. > > 2. I have set the output path of my Jbuilder to > \Apache Group\Tomcat\webapps\vifapp\WEB-INF\classes ie > the output will go to this directory. I am assuming > that apache will take the class file from this > directory before looking in the \Apache > Group\Tomcat\webapps\vifapp\WEB-INF\lib directory > which has all the jar version. > > Basically I want to put debug statements to eliminate > the errors. > > Let me know soon. > Thanks, > Swati. > > |
|
From: Benno L. <ben...@id...> - 2003-05-09 15:08:50
|
Dear Swati Thanks for sending the log. The important information is the following: 08.05.2003 20:00:50 > ... java.io.FileNotFoundException: nullnull\err_msg\body.xsl (The system cannot find the path specified) The reason for this error message is that the application's main properties file vif.properties contains relative path specifications to find the application's templates: org.hip.vif.docs.root=./webapps/vifapp/admin/ Try to replace this property with an absolute path specification, e.g.: org.hip.vif.docs.root=C:/programs/Apache_Tomcat_4.0/webapps/vifapp/admin or the like. Tomcat makes it possible to deploy an application together with all class libraries needed in one war-file. You'll find these jar-files in $TOMCAT_HOME\webapps\vifapp\WEB-INF\lib (where $TOMCAT_HOME is the path to your Tomcat installation). E.g. the JDBC is in mm.mysql-2.0.5.jar. Hope this helps. Benno > -----Original Message----- > From: ss ss [mailto:tru...@ya...] > Sent: Donnerstag, 8. Mai 2003 20:06 > To: ben...@id... > Subject: RE: hey! > > > Hey Benno, > > How are you? Attached is the error.log file. I found > that there is exception reading an XSL file and also > some error with DB. Which JDBC API is used in this > project. Do I have to download that or it is in the > war file. > > Let me know. I am also working on it. : -) > > Thanks, > Swati. > > |
|
From: Benno L. <ben...@id...> - 2003-05-07 21:43:36
|
Dear Swati, The actual number of tables in the database needed for the application is 19, correct and congratulations. ========= > Also what does the following command mean: > %~f1\mysql --user=root --password=%2 -D vif -v < table_tblRole.sql. Here the meaning of the various parts in the command above: %~f1 : means expanding the parameter 1 as file-path, in your case %~f1\mysql could expand to "c:\mysql\bin\mysql", i.e. a call to the mysql-application with the following parameters: --user : which user is connecting? In this case it's the user with the user-id "root" --password : which password has the user? The password is provided as secons parameter to the script -D : which database shall be connected? In this case it's the database identified as "vif" -v : tells the application to write the output verbose < table_tblRole.sql : tells the mysql-application that it should work in batch mode and that it should process the commands in "table_tblRole.sql" ========= > ERROR: > Failed to open file > '\vif_projectcript\mysqlable_tblMemberHistory.sql', I don't understand this error message. What happens if you enter: c:\mysql\bin\mysql --user=root --password= -D vif -v < table_tblRole.sql in the directory where the MySQL scripts are stored (I guess C:\vif_project\scripts\MySql)? ========= > EXCEPTION > java.lang.NullPointerException > ... This seems to be a follow-up error. Therefore, I don't see the error which originally caused this message. Can you locate the error.log. In this log file, you'll find the whole sequence of error messages and I hope, one of them is more understandable then the one you sent me. The place of the log files (i.e. error.log, system.log, tracer.log) depends on the setting in the application's properties file "vif.properties". You there have to look for the property "org.hip.vif.logPath". Probably the path to the log files is relative. Relative in this case means relative to the application's working directory. The problem you encountered might be caused by the fact that you didn't place the files "vif.properties", "GROUPSTATES.xml", "QUESTIONSTATES.xml" and "ROLES.xml" in the working directory. If you start Tomcat with a Windows shortcut from the Windows Start menu, you have to make sure that Tomcat is startet in the directory you want it to be startet (see the entry "Start in:" in the shortcut's properties tab). A good choice is the Tomcat's root directory $TOMCAT_HOME. By default, the entry "Start in:" (i.e. the working directory) points to place completely unintuitive. I guess, you'll be successful soon. I'll suggest that you subscribe to the project's mailing list (vif...@li...) and send your questions and remarks to this address. That helps to document the project's various difficulties and problems. Regards, Benno > -----Original Message----- > From: ss ss [mailto:tru...@ya...] > Sent: Mittwoch, 7. Mai 2003 01:12 > To: Luthiger Stoll, Benno > Subject: hey! > > > Hey Benno, > > Good news! I was able to create the database tables > (manually though).Please confirm, I have 19 tables in > the database. > Also while going to the following url it throws a null > pointer exception. > > http://localhost:8080/vifapp/admin/servlet?requestType=createS > U&userId=suId&passwd=suPasswd > > I hope I am not being very aggressive. : -) > > Thanks, > Swati. > > > EXCEPTION > java.lang.NullPointerException > at > org.hip.vif.exc.VIFExceptionHandlerImpl.handleOther(VIFExcepti > onHandlerImpl.java:132) > at > org.hip.vif.exc.VIFExceptionHandlerImpl.protectedHandle(VIFExc > eptionHandlerImpl.java:197) > at > org.hip.kernel.exc.AbstractExceptionHandler.handle(AbstractExc > eptionHandler.java:61) > at > org.hip.kernel.exc.AbstractExceptionHandler.handle(AbstractExc > eptionHandler.java:48) > at > org.hip.vif.admin.servlets.impl.VIFAdminRequestHandler.callExc > eptionHandler(VIFAdminRequestHandler.java:67) > at > org.hip.vif.admin.servlets.impl.VIFAdminRequestHandler.handle( > VIFAdminRequestHandler.java:139) > at > org.hip.vif.admin.servlets.impl.VIFAdminRequestHandler.doGet(V > IFAdminRequestHandler.java:83) > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:740) > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilt > er(ApplicationFilterChain.java:280) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli > cationFilterChain.java:194) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardW > rapperValve.java:276) > at > org.apache.catalina.core.StandardPipeline$StandardPipelineValv > eContext.invokeNext(StandardPipeline.java:643) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel > ine.java:480) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardC > ontextValve.java:191) > at > org.apache.catalina.core.StandardPipeline$StandardPipelineValv > eContext.invokeNext(StandardPipeline.java:643) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel > ine.java:480) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > at > org.apache.catalina.core.StandardContext.invoke(StandardContex > t.java:2523) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHost > Valve.java:180) > at > org.apache.catalina.core.StandardPipeline$StandardPipelineValv > eContext.invokeNext(StandardPipeline.java:643) > at > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi > spatcherValve.java:170) > at > org.apache.catalina.core.StandardPipeline$StandardPipelineValv > eContext.invokeNext(StandardPipeline.java:641) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport > Valve.java:172) > at > org.apache.catalina.core.StandardPipeline$StandardPipelineValv > eContext.invokeNext(StandardPipeline.java:641) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel > ine.java:480) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEn > gineValve.java:174) > at > org.apache.catalina.core.StandardPipeline$StandardPipelineValv > eContext.invokeNext(StandardPipeline.java:643) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel > ine.java:480) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > at > org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter. > java:223) > at > org.apache.coyote.http11.Http11Processor.process(Http11Process > or.java:413) > at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle > r.processConnection(Http11Protocol.java:380) > at > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi > nt.java:508) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run( > ThreadPool.java:533) > at java.lang.Thread.run(Thread.java:536) > > > > > > > __________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo. > http://search.yahoo.com > |
|
From: Benno L. <ben...@id...> - 2003-05-03 21:19:18
|
Dear Swati I guess I see the problem. If you take a look into the InstallDb.bat file, you see that this script calls two other scripts: VIFCreate.bat, and CreateTables.bat. "call" is a regular command at the Windows NT/XP command prompt. However, it seems that this command is not known on the Windows 95/98/Me os. Therefore the message "Bad command or file name". A simple workaround would be: Do the job the script should have been done yourself. You can do this by typing: C:\vif_project\scripts\MySql>VIFCreate c:\mysql\bin C:\vif_project\scripts\MySql>CreateTables c:\mysql\bin Hope that helps. If you find the correct command which calls one batch program from another on Windows Me, please tell me. Regards, Benno > -----Original Message----- > From: ss ss [mailto:tru...@ya...] > Sent: Samstag, 3. Mai 2003 04:42 > To: Luthiger Stoll, Benno > Subject: Re: Installation requirements > > > Hey Benno, > > I am not able to install the Db. I get the following > errors. I dont know y it is taking the %1 parameter as > null and going into that part. > > > C:\vif_project\scripts\MySql>InstallDb c:\mysql\bin > > C:\vif_project\scripts\MySql>rem > > C:\vif_project\scripts\MySql>rem Installs MySQL > database and tables for the appl > ication VIF > > C:\vif_project\scripts\MySql>rem (c) Benno Luthiger, > Aktion HIP > > C:\vif_project\scripts\MySql> > C:\vif_project\scripts\MySql>ECHO OFF > Bad command or file name > Usage: InstallDb path_to_mySQL sqlRootPassword > e.g. InstallDb c:\programs\mysql\bin myPassword > > c:\mysql\bin (HERE I AM ECHOING THE %1 parameter and > ITS PRINTING IT FINE ) > C:\vif_project\scripts\MySql> > > Thanks > > > > |
|
From: Benno L. <ben...@id...> - 2003-05-01 19:48:38
|
Dear Swati > My database is running and I am > able to connect to it also. Good news. > 1. What are the minimum packages/folders that I have > to set up in my machine from sourceforge. In general, you need all of them. > 2. How do I download the project on my machine from > sourceforge. The simplest way is to download the whole vif-Rel0.3.3.tar.gz package from http://sourceforge.net/project/showfiles.php?group_id=29728, to unpack the tar.gz file and then to proceed as described in http://vif.sourceforge.net/InstallAndRun.html. The package, however, has 5.03 MB. I hope, bandwith is not a problem for you. The advantage to proceed this way is that you get not only the compiled and the source code, but also the documentation, the installation scripts for the database and the additional jar files needed to run the application. > 3. Minimum database required to start coding at this > point. After running the InstallDb.bat you'll have the vif-database organized the way needed to run the actual release of the application and to develop the next steps. Actually, there are 19 tables needed to run the application. Regards, Benno > -----Original Message----- > From: ss ss [mailto:tru...@ya...] > Sent: Donnerstag, 1. Mai 2003 04:28 > To: ben...@id... > Subject: Hello... > > > Hello Benno, > > Thanks for the info. My database is running and I am > able to connect to it also. At this point I want to > start coding and I have some questions: > > 1. What are the minimum packages/folders that I have > to set up in my machine from sourceforge. > 2. How do I download the project on my machine from > sourceforge. > 3. Minimum database required to start coding at this > point. > > Let me know. Meanwhile I will try to get some info > from the documentation( It is nicely done). > > Thanks, > Swati. > > > |
|
From: Benno L. <ben...@id...> - 2003-04-30 20:36:34
|
Dear Rashi If MySQL shows up in the taskbar, thats a good sign. Try to start mysql.exe from the command prompt in the \bin directory of your MySQL-Installation (e.g. c:\programs\mysql\bin). mysql.exe is a simple database client for your MySQL-DB. After starting, you see the mysql prompt. Enter 'use mysql' to connect to the default (i.e. infrastructur) DB. You can enter there SQL commands like select * from db; select * from host; select * from user; and so on. For more information you can consult '4.13.4 Running MySQL on Windows' in \MySQL\Docs\manual.html. If you can start mysql.exe and if you connect to the mysql database (via 'use mysql') you should be able to create the vif database. You can do this by starting InstallDb.bat at the command prompt of the \scripts\MySql directory of your VIF installation. This script creates the vif database and the tables and indexes needed for the application so far. Hope this information is helpful. Regards, Benno > -----Original Message----- > From: ss ss [mailto:tru...@ya...] > Sent: Montag, 28. April 2003 17:39 > To: ben...@id... > Subject: Re: Project VIF: MySQL on Windows ME > > > Thanks Benno. I guess I am able to start the server > although I dont see any signs of starting in the DOS > but it shows in the taskbar. My question is how to > connect to the server. The documentation says that I > need to use TCp/IP, but how? If you have any idea, > let me know. I guess I may have to look more into the > documentation. > > Thanks. > |
|
From: Benno L. <ben...@id...> - 2003-04-27 18:59:19
|
Dear Swati/Rashi I've installed MySQL on Windows2000, Window XP and Linux without problems. According to the download page Windows 95/98 are supported and, therefore, I conclude Windows Me should be supported too. Until now I worked with Version 3.23. After you've installed the program in a directory, e.g. c:\programs\MySQL, the setup program will install the application's documentation under c:\programs\MySQL\Docs. The documentation is quit extensive. I found all the information I needed. Please tell me if you encounter problems with your MySLQ installation on Windows Me. Recently I fount a very good DB client which supports (among other things) MySQL. Its name is Aquad Data Studio and you can download it under http://www.aquafold.com/ . Regards, Benno > -----Original Message----- > From: ss ss [mailto:tru...@ya...] > Sent: Samstag, 26. April 2003 19:37 > To: ben...@id... > Subject: RE: Java developers with XSLT knowledge: Project VIF > > > Hello Benno, > > How are you? I am trying to install MySql on my > machine(Windows Me), Can you tell me whether it is > supported on this OS. Also any documentation regarding > this may be helpful. > > Thanks, > Swati. > > |
|
From: Benno L. <ben...@id...> - 2003-04-24 08:11:24
|
The tblPerson table is used to store biographic information, which could be referenced in the discussion forum. The tblText table is used to store bibliographic information that could be referenced. The application also stores the author and reviewer responsible for the entries in tblPerson and tblText. See the VIF datamodel for further information about table specifications and the relations of these tables within the whole datamodel. I'll describe here the needed steps for tblPerson. The case for tblText is analogous. a) Database: You have to create the table tblPerson according to the specification in the datamodel. A script table_tblPerson has to be created and the installation scripts CreateTables.bat and CreateTables.sh have to be adjusted. The scripts table_tblPersonAuthorReviewer.sql and table_tblTextAuthorReviewer.sql exists yet. b) Model: Because the domain object PersonAuthorReviewer and its home exist already, only the domain object for tblPerson has to be created. To do that, you have to create the interfaces Person and PersonHome for the domain object and its home. After creating the interfaces, the implementations PersonImpl and PersonHomeImpl have to be created. The implementations of existing domain objects can be taken as sample. c) Controller: Create the tasks PersonListTask, PersonShowTask, PersonNewTask, PersonEditTask and PersonSaveTask in the package org.hip.vif.admin.tasks.impl. The first task lists all existing entries in tblPerson, the second task shows a specified entry, the third task creates a new entry, the fourth task is needed to edit an entry and the last task saves changed data to the table. Note: The newly created tasks have to be registered to TaskManagerImpl. You can take the existing implementations of AdminQuestionListTask, AdminQuestionShowTask etc. in the package org.hip.vif.admin.tasks.impl as sample. d) View: Create the views (Java classes and XSLT). The Java views prepare the produced XML for that they can be transformed by the appropriate XSLT files. Take existing views and stylesheets as sample. Regards, Benno |
|
From: Benno L. <ben...@id...> - 2003-04-17 07:30:02
|
Hello I've released Release 0.3.3 of the application VIF. In this release the following changes are implemented: - Added StructuredText package to framework. - Added StructuredText formatting functionality to editing of questions. - Refactoring: Deleted all unused imports. Regards, Benno |
|
From: Benno L. <ben...@id...> - 2003-03-06 08:23:10
|
Hello I've released Release 0.3.2 of the application VIF. In this release the following changes are implemented: - Redesign of UI: Made layout more modern. - Refactoring of BOMs: Consistent naming of setters (i.e. BOM properties) and elimination of redundancies. Regards, Benno |
|
From: Benno L. <ben...@id...> - 2003-02-26 08:48:36
|
Hello Here's the description and specification of Use Case 3 "Post a contribution" (see http://vif.sourceforge.net/RequirementsAndSchdule.html). Description: A Participant looks for an open question and makes a contribution. A contribution consists either of information useful to answer the question or in a division of the original question into various subsequent questions. This use case is applicable after the administrator has created a discussion group and added one or more questions. A further prerequisite is that enough members have registered to the discussion group, thus becoming participants of this group. The sequence of this use case is as follows: The participant navigates to the question she wants to post a contribution. The participant chooses either to make a contribution that possibly can answer the question or to subdivide the original question into various subsequent questions. The participant fills the form displayed. After posting the form data, the application creates a bookmark. Then the application chooses assigns a reviewer from the other participants in the discussion group. After that, the application sends the bookmark both to the author and reviewer. In a subsequent use case the reviewer can publish the contribution. Specification: Based on the description above, the implementation of this use case consists of the following steps: a) Model: Because the domain objects Question, QuestionHistory, Contribution, ContributionHistory, LinkGroupQuestion, LinkContributionQuestion and their homes exist already, only the domain object tblBookmark has to be created. To do that, you have to create the interfaces tblBookmark and tblBookmarkHome for the domain object and its home. After creating the interfaces, the implementations tblBookmarkImpl and tblBookmarkHomeImpl have to be created. The implementations of existing domain objects can be taken as sample. b) Controller: Create the tasks QuestionListTask, QuestionShowTask, QuestionNewTask and QuestionSaveNewTask in the package org.hip.vif.forum.tasks.impl. The first task lists the questions of the discussion group. The second task displays the content of an existing question. The third task allows to add a new question to an existing question. The last task saves the data entered for a new question. Note: The newly created tasks have to be registered to TaskManagerImpl. You can take the existing implementations of AdminQuestionListTask, AdminQuestionShowTask, AdminQuestionNewTask and AdminQuestionSaveNewTask in the package org.hip.vif.admin.tasks.impl as sample. c) View: Create the views (Java classes and XSLT). The Java views prepare the produced XML for that they can be transformed by the appropriate XSLT files. Regards, Benno |
|
From: Benno L. <ben...@id...> - 2002-12-05 09:37:29
|
Hello Here's the description and specification of the next use case (Use Case 12, see http://vif.sourceforge.net/RequirementsAndSchdule.html). The use case starts after the group administrator logged into the VIF administration application. The list of discussion groups the administrator is administering is displayed. The group administrator selects one that is created but doesn't have a starting question yet. Text fields for the starting question and for additional explanations are displayed in a form. The group administrator enters the starting question and additional information and submits the form. The system saves the information and creates a unique decimal identification for the contribution. There's no workflow needed at this point since the group administrator has the right to publish contributions immediately and without review. The information submitted by the group administrator is added in the tables tblQuestion (for the starting question) and tblContribution (for additional information) (see Datamodel). Each discussion group consists of various questions, which have to be linked to the group by the table tblLinkGroupQuestion. Each question can be accompanied by various contributions, i.e. explaining information. Therefore, the table tblLinkContributionQuestion links contributions to their questions. Each essential information has to be historised so that changes can be traced back and rolled back. Therefore we need two additional tables tblQuestionHistory and tblContributionHistory. Therefore, the implementation of this use case consists of the following steps: a) Model: Create the interfaces for the domain objects Question, QuestionHistory, Contribution, ContributionHistory, LinkGroupQuestion, LinkContributionQuestion and their homes QuestionHome, ContributionHome etc. After creating the interfaces, the implementations QuestionImpl, QuestionHomeImpl, ContributionImpl, ContributionHomeImpl etc. have to be created. The implementations of existing domain objects can be taken as examples. b) Controller: Create the tasks AdminContributionShowTask and AdminContributionSaveTask. The first task controls the display of the form, the second saves the data submitted by the group administrator. Note: The newly created tasks have to be registered to TaskManagerImpl. c) View: Create the views (Java classes and XSLT). The Java views prepare the produced XML for that they can be transformed by the appropriate XSLT files. Regards, Benno |