• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Installation Error

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

i configured Jforum manually and it worked very fine.. i have 2 db host,both having all the tables of jforum.i was changing the host from one host to other.. it got me a error like the below.

coudl any one help me on this issue.

now i am unable to work on both my hosts..please help.

HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Servlet.init() for servlet jforum threw exception
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
java.lang.Thread.run(Unknown Source)


root cause

net.jforum.exceptions.DatabaseException: Error while trying to start the database: javax.naming.NameNotFoundException: Name MySqlDS is not bound in this Context
org.apache.naming.NamingContext.lookup(NamingContext.java:768)
org.apache.naming.NamingContext.lookup(NamingContext.java:151)
org.apache.naming.SelectorContext.lookup(SelectorContext.java:136)
javax.naming.InitialContext.lookup(Unknown Source)
net.jforum.DataSourceConnection.init(DataSourceConnection.java:75)
net.jforum.ForumStartup.startDatabase(ForumStartup.java:75)
net.jforum.JForum.init(JForum.java:95)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
java.lang.Thread.run(Unknown Source)


note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.


--------------------------------------------------------------------------------
[originally posted on jforum.net by thiags]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The error indicates you are trying to use a DataSourceConnection method. Some best guesses at this are:

If that is what you wanted, then you will need to configure this at the Application Server (Tomcat?) level correctly. I don't use this method, but I seem to remember there may be some variations in the "name" you need to use to make the connection, e.g. some app engines add extra stuff to the connection name.

If you are trying to use a direct connection, then review the manual install docs and make sure your database.connection.implementation property is set to the correct value.
[originally posted on jforum.net by monroe]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for the reposnse monroe,
as mentioned i was using have 2 different database host.. it work fine with the default connection pool.but when i changed the host reference in the oracle properities file.. jforum never took the new reference (host2) but was using the instance of host1.
because of which i used datasorce connection.
i am not sure about configuring in tomcat server.can u please guide me.. i checked the manual config.but the datasource config in tomcat server was not available.

awaiting some help/guidance in this regard

Regards,
Thiags
[originally posted on jforum.net by thiags]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Are you trying to connect to Oracle on RAC with two hosts. I am also having similar problem. I don't know whether I have set the connection string properly. I have put it under the topic heading "Installation Error of JForum with Oracle DB on RAC".
Could you help me in setting the connection string properly?

Thanks
Anantha
[originally posted on jforum.net by Anantha]
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic