Raible's Wiki
Raible Designs AppFuseHomepage- Korean - Chinese - Italian - Japanese QuickStart Guide User Guide Tutorials Other ApplicationsStruts ResumeSecurity Example Struts Menu
Set your name in
UserPreferences
Referenced by
JSPWiki v2.2.33
Hide Menu |
This is version 7.
It is not the current version, and thus it cannot be edited. The following instructions explain how to configure AppFuse so that the applications it generates will work with an Oracle database.
CREATE USER APPFUSE IDENTIFIED BY APPFUSE; GRANT CONNECT TO APPFUSE; GRANT RESOURCE TO APPFUSE;
NOTE: According to the Oracle JDBC Driver README , classes12.jar is for JDK1.2 & 1.3, ojdbc14.jar is for JDK 1.4. The instructions here assume you will be using ojdbc14.jar, modify the instructions below accordingly if otherwise.
Whether you edit one or both files, here is a idea of what the database entries should look like for Oracle (modify the various fields as appropriate for your system): database.jar=${lib.dir}/oracle/ojdbc14.jar database.type=oracle database.name=appfuse database.host=localhost
hibernate.dialect=net.sf.hibernate.dialect.Oracle9Dialect database.driver_class=oracle.jdbc.driver.OracleDriver database.url=jdbc:oracle:thin:@localhost:1521:myDB database.username=appfuse database.password=appfuse NOTE: In the listings above, database.host should refer to the machine the Oracle database is running on. Also, database.url's "myDB" at the end should refer to the SERVICE_NAME within the tnsnames.ora database file on the database server machine.
NOTE: The Oracle database server may be configured to occupy port 8080 with its own servlet container. This may cause port conflicts if you are running Tomcat on the same machine. It is very difficult to turn off the Oracle container (I was not successful in doing so.) If you run into this problem, you may wish to shut off the Oracle instance, start Tomcat (so it will occupy port 8080), and then restart the Oracle database.
select username, country from app_user; If everything is working correctly, you should see that the country value has changed for the profile that you edited.
|