I'm trying to make a very simple aplication using jruby rails.
its quite simple, and it runs on the webrick server.
Now im trying to make it run on Tomcat because the goal is to add java code
to it.
I was searching on the web but There is no way for me to run it on the
Tomcat.
Im working on win Xp and my application runs at:
   http://localhost:3002/reports/pesquisa
bd name : jrailsteste_development
After garantee that the aplciation runs (on the webrick) i made the
following steps:
1) %JRUBY_HOME%/bin/gem install ActiveRecord-JDBC
2) edit the active_record.rb, replaced
   RAILS_CONNECTION_ADAPTERS = %w( mysql postgresql sqlite firebird
sqlserver db2 oracle sybase openbase frontbase )
for 
  RAILS_CONNECTION_ADAPTERS = %w( jdbc mysql postgresql sqlite firebird
sqlserver db2 oracle sybase openbase frontbase )
3) setup database.yml for jdbc
  development:
    adapter: jdbc
    driver: com.mysql.jdbc.Driver
    url: jdbc:mysql://localhost/jrailsteste_test
    username: myUser
    password: myPassword

Now im stucked... :S
Can anybody help me on this task?!?!
Thank you in advnace



-- 
View this message in context: 
http://www.nabble.com/Running-Jruby-on-TomCat-tf4193046.html#a11924277
Sent from the JRuby - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to