[opencms-dev] (no subject)
Marc Johnen
opencms at johnen.biz
Thu Jul 29 11:16:51 CEST 2010
Hello 轶植 曹,
1. I don't know about db2. Is the connection-string correct?
Maybe it should be more like "jdbc:db2:opencms" (at least if
it's on the same machine) ?
2. Check user and password.
3. Try to connect to the DB with some other tool like QuantumDB.
4. Did you restart tomcat after putting the driver into the lib-folder?
Regards
Marc Johnen
htttp://www.johnen.biz
轶植 曹 wrote:
>
> Hi,
>
> Im new to this and am trying to set up OpenCms on my system.
> I have installed the latest copy of the SDK and Tomcat.
> I have already installed on my pc DB2 v9.1.2.
>
> But when i go through the OpenCms setup pages i enter
> *step_4_database_setup.jsp* and enter the database details in here for
> a DB Server.
> Enter the usernames and passwords and then the i have tried the
> JDBC connection string as :
> * jdbc:db2://localhost:50000/
> and get the error message for the driver:
>
> It was not possible to create a database connection with the given
> parameters.
> Please check the Exception below. There can be two reasons for
> this error:
>
> * *Your database is down*, or
> * *Your database is not accessible with the given connection
> parameters.*
>
> Be also aware that Alkacon recommends to use the following JDBC
> drivers for DB2 v9:
> [db2jcc_v9.jar]
>
> Check that the Jdbc drivers are included in your class path.
>
> Error connecting to database using:"jdbc:db2://localhost:50000/"
> .
> And Im sure that I have put the db2jcc_v9 into the
> path:D:\tomcat\webapps\opencms\WEB-INF\lib
>
> can you help me?
>
>
>
>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
--
View this message in context: http://old.nabble.com/%28no-subject%29-tp29274842p29294535.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.
More information about the opencms-dev
mailing list