|
May 8 2008, 3:20 AM EDT
|
|
|
edit |
3 words added
2 words deleted
|
|
Change: (by default) database: <sid> username: railsuser password: railspasswd production: development We can use both the "jdbc" adapter or the "oracle" adapter as when using C Ruby, and set the production configuration the same as development configuration because when deployed Rails uses production configuration. In Rails 1.2, the
View changes from previous version.
(Word count: 986)
|
|
May 5 2008, 5:09 AM EDT
|
|
|
edit |
|
|
Change: There were only format changes (bold, italics, etc.) in this version. See this version for details.
(Word count: 985)
|
|
Apr 22 2008, 5:30 AM EDT
|
|
|
edit |
3 words added
8 words deleted
|
|
Change: after deploying the application on OC4J,, the browser displays the following error message: driver encountered an error: java.sql.SQLException: Io exception: SO Exception was generated.Solution: This is due to malformed database connection string in database.yml which should look like this: url: jdbc:oracle:thin:@hostname:1521:XEThe port 1521
View changes from previous version.
(Word count: 985)
|
|
Apr 22 2008, 5:25 AM EDT
|
|
|
edit |
3 words added
2 words deleted
|
|
Change: the app. See link. While navigating to http://localhost:8888/bookstore/books after deploying the application on OC4J, the browser displays the following error message: driver encountered an error: java.sql.SQLException: Io exception: SO Exception was generated.Solution: This is due to malformed database connection string in database.yml which should look like this:
View changes from previous version.
(Word count: 991)
|
|
Apr 22 2008, 5:23 AM EDT
|
|
|
edit |
4 words added
4 words deleted
|
|
Change: http://localhost:8080/bookstore/bookshttp://localhost:8888/bookstore/books after deploying the application on Tomcat,OC4J, the browser displays the following error message: No :secret given to the #protect_from_forgery call. Set that or use a session store capable of generating its own keys (Cookie Session Store)Solution: Uncomment the secret in
View changes from previous version.
(Word count: 989)
|
|
Apr 22 2008, 3:45 AM EDT
|
|
|
edit |
4 words added
3 words deleted
|
|
Change: jar file (ojdbc14.jar for DB 10g and ojdbc5.jar for DB 11g) and copy the jarit tointo $JRUBY_HOME/lib.Note: JRuby leverages JDBC to access various JDBC compliant database systems and Ruby-OCI8 can't work
View changes from previous version.
(Word count: 989)
|
|
Apr 22 2008, 3:43 AM EDT
|
|
|
edit |
18 words added
34 words deleted
|
|
Change: driver encountered an error: java.sql.SQLException: Io exception: SO Exception was generated. TODO:url: a sample of database.yml will be helpful here.jdbc:oracle:thin:@hostname:1521:XEThe port 1521 cannot be omitted with ojdbc14.jar but it works with ojdbc5.jar. References OC4J FAQ JRuby on Rails on Tomcat Deploying a Rails Application on Tomcat Warbler,
View changes from previous version.
(Word count: 988)
|
|
Apr 22 2008, 3:22 AM EDT
|
|
|
edit |
66 words added
32 words deleted
|
|
Change: (TODO: Should we be more specific, which jar ?)Note: JRuby leverages JDBC to access various JDBC compliant database systems and Ruby-OCI8 can't work with JRuby because "Many Gems will
View changes from previous version.
(Word count: 1000)
|
|
Apr 22 2008, 2:36 AM EDT
|
|
|
edit |
|
|
Change: There were only format changes (bold, italics, etc.) in this version. See this version for details.
(Word count: 968)
|
|
Apr 22 2008, 2:35 AM EDT
|
|
|
edit |
19 words added
|
|
Change: Create a Rails 2.0 Application Packaging Rails app into WAR Deploy on OC4J Standalone Troubleshooting References Prerequisites Windows 2000/XP / Linux Java 5 JRuby 1.1RC3 Rails 2.0/1.2 activerecord-jdbc-adapter 0.8.0 Oracle JDBC Driver Warbler Oracle Database 11gR1 / Oracle Database 10g XE Oracle Containers for J2EE (OC4J) 10gR3 Note: Rails
View changes from previous version.
(Word count: 968)
|
|
Apr 22 2008, 2:24 AM EDT
|
|
|
edit |
|
|
Change: There were only format changes (bold, italics, etc.) in this version. See this version for details.
(Word count: 948)
|
|
Apr 22 2008, 2:23 AM EDT
|
|
|
edit |
|
|
Change: There were only format changes (bold, italics, etc.) in this version. See this version for details.
(Word count: 948)
|
|
Apr 22 2008, 2:22 AM EDT
|
|
|
edit |
|
|
Change: There were only format changes (bold, italics, etc.) in this version. See this version for details.
(Word count: 948)
|
|
Apr 22 2008, 2:22 AM EDT
|
|
|
edit |
|
|
Change: There were only format changes (bold, italics, etc.) in this version. See this version for details.
(Word count: 948)
|
|
Apr 22 2008, 2:21 AM EDT
|
|
|
edit |
11 words added
2 words deleted
|
|
Change: Io exception: SO Exception was generated.The port can't be omitted with ojdbc14.jar but it works with ojdbc5.jar. References OC4J FAQ JRuby on Rails on Tomcat Deploying a Rails Application on Tomcat Warbler, A Little Birdie To Introduce Your Rails App To Java JRuby .war packaging for Rails 2.0 Warbler
View changes from previous version.
(Word count: 948)
|
|
Apr 22 2008, 2:19 AM EDT
|
|
|
edit |
|
|
Change: There were only format changes (bold, italics, etc.) in this version. See this version for details.
(Word count: 945)
|
|
Apr 22 2008, 2:17 AM EDT
|
|
|
edit |
|
|
Change: There were only format changes (bold, italics, etc.) in this version. See this version for details.
(Word count: 945)
|
|
Apr 22 2008, 2:14 AM EDT
|
|
|
edit |
|
|
Change: There were only format changes (bold, italics, etc.) in this version. See this version for details.
(Word count: 945)
|
|
Apr 22 2008, 2:12 AM EDT
|
|
|
edit |
|
|
Change: There were only format changes (bold, italics, etc.) in this version. See this version for details.
(Word count: 945)
|
|
Apr 22 2008, 2:09 AM EDT
|
|
|
edit |
1 word added
1 word deleted
|
|
Change: onSolution: uncomment the secret in line 9 in app/controllers/application.rb then restart Tomcat. See link. When navigating to http://localhost:8080/bookstore/books after deployed on Tomcat, the browser displayed the following error message: driver encountered an error: java.sql.SQLException: Io exception: SO Exception was generated. Solution: It's due
View changes from previous version.
(Word count: 945)
|