User 4140faeba5
25-02-2011 13:48:23
Hi.
I've installed Oracle 11G R2 64bit on a Windows 2008 R2 64 bit server.
I've installed jchem 5.4.0.1
The installtion of Marvin worked well, and I can connect to the database using sqlplus
but, when I try to install the cartridge , I get the following error.
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Administrator>cd C:\Program
Files\ChemAxon\JChem\cartridge
C:\Program Files\ChemAxon\JChem\cartridge>install.bat
Name of the Oracle host. [localhost]:
Oracle listener port [1521]:
Name of the Oracle instance [mydb]: ct15
The host name of the JChem Server [localhost]:
The port at which the JChem Server accepts connections
[1099]:
maximum memory allocated to JChem Server [700m]:
The structure cache id of this JChem Server instance
[JCC1]:
INFO: Checking JChem Server at localhost:1099...
====> Trying to start JChem Server...
INFO: Using classpath: C:\Program
Files\ChemAxon\JChem\lib\jchem.jar
INFO: Server process start-ed.
INFO: Cache id set to JCC1
INFO: Directory licenses does not exist. Leaving it to
LicenseHandler to check t he default location for licenses.
INFO: Listening at 1099
DBA login [SYSTEM]:
DBA password:
INFO: Using
classpath: C:\Program Files\ChemAxon\JChem\lib\jchem.jar
INFO: Connecting to localhost:1099
AdminImpl: shutdown called...
INFO: shutdown called
Exiting...
INFO:
Shutting down...
INFO: Server process stop-ed.
java.sql.SQLException: The Network Adapter could not
establish the connection
at
oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.ja
va:70)
at
oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:1
31)
at
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
:197)
at
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
:525)
at
oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:413)
at
oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:
508)
at
oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:203)
at
oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtensio
n.java:33)
at
oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)
at
java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown
Source)
at
chemaxon.jchem.cartridge.install.ConnectUtil.getConnection(ConnectUti
l.java:82)
at
chemaxon.jchem.cartridge.install.schema.Schema.connect(Schema.java:86
)
at
chemaxon.jchem.cartridge.install.params.InstallParameters.checkLogin(
InstallParameters.java:229)
at
chemaxon.jchem.cartridge.install.params.InstallParameters.checkDbaLog
in(InstallParameters.java:216)
at
chemaxon.jchem.cartridge.install.InstallCmdLine.getCheckDbaLoginInter
actively(InstallCmdLine.java:269)
at
chemaxon.jchem.cartridge.install.InstallCmdLine.getParamsInteractivel
y(InstallCmdLine.java:173)
at
chemaxon.jchem.cartridge.install.InstallCmdLine.install(InstallCmdLin
e.java:89)
at
chemaxon.jchem.cartridge.install.InstallCmdLine.main(InstallCmdLine.j
ava:707)
Caused by: oracle.net.ns.NetException: The Network
Adapter could not establish t he connection
at
oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:328)
at
oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.j
ava:421)
at
oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:630)
at
oracle.net.ns.NSProtocol.connect(NSProtocol.java:206)
at
oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:966)
at
oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:292)
... 14 more
Caused by: java.net.ConnectException: Connection refused:
connect
at
java.net.PlainSocketImpl.socketConnect(Native Method)
at
java.net.PlainSocketImpl.doConnect(Unknown Source)
at
java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at
java.net.PlainSocketImpl.connect(Unknown Source)
at
java.net.SocksSocketImpl.connect(Unknown Source)
at
java.net.Socket.connect(Unknown Source)
at
java.net.Socket.connect(Unknown Source)
at
java.net.Socket.<init>(Unknown Source)
at
java.net.Socket.<init>(Unknown Source)
at
oracle.net.nt.TcpNTAdapter.connect(TcpNTAdapter.java:127)
at
oracle.net.nt.ConnOption.connect(ConnOption.java:126)
at
oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:306)
... 19 more
C:\Program Files\ChemAxon\JChem\cartridge>
What have I missed ?
Regards,
Micke