Wednesday, January 16, 2008

Setting Up dcm4chee for Oracle Database

Hi Folks!

I'm starting my masters degree this year and I wrote an interesting research project to build a complete medical image processing server which works together with dcm4chee: a DICOM clinical data manager system. In this post I will show you how to setup dcm4chee properly using the great and free Oracle Express Database. This tutorial is for Windows.

Firstly, download OracleXE and launch it. The installation is quite simple and intuitive. When asked create the system account that will manage the database, so type system for username and manager for password. Wait copying its files and then finish the wizard. On the Windows command prompt access the directory:

oraclexe\app\oracle\product\10.2.0\server\BIN

...and execute the sqlplus.exe program. You will be asked for entering an username and password, which is system and manager. If no problems occurred you are now connected to Oracle and will get the C:\SQL> command line.




The Oracle Express brings a clear web interface where you may perform the database management, however, it uses the Jetty server that works on HTTP port 8080. If you try to run any other server like JBoss you'll get stuck at errors because port 8080 wont't be available. To overcome this issue you must change the HTTP port for Oracle. On SqlPlus type the following SQL commands:

SQL> begin
2 dbms_xdb.sethttpport('18080');
3 end;
4 /

After execute these lines you'll change Oracle HTTP port from 8080 to 18080. We must do it because dcm4chee works under JBoss server that also uses port 8080 for web access. Meanwhile, we're done with Oracle!

Download dcm4chee binaries for Oracle and also get the amazing JBoss application server. I chose version 2.13.0 of dcm4chee and the JBoss 4.2.2.GA release. Extract dcm4chee files at the root directory "C:\". Avoid using a directory that has a name which contains spaces as installation directory. So make it simple, just rename the extracted folder
to dcm4chee.

The next step is to extract JBoss files to the root directory and then rename the new folder to jboss. When finished, you have to copy some files from JBoss to dcm4chee by executing install_jboss.bat with the path of your JBoss installation directory as parameter. Access the Windows command prompt to execute the script. Eg. C:\dcm4chee\bin>intall_jboss.bat C:\jboss.




That's it, dcm4chee is almost done! Come back to Oracle for creating your PACS database. Again, access the SqlPlus with your system account and execute the commands below. They create a new Oracle tablespace named pacsdb and a new database user pacs. Every dcm4chee data will be stored based on these configurations.

CREATE TABLESPACE pacsdb
DATAFILE 'C:\xxx\pacsdb.ORA' SIZE 5M
AUTOEXTEND ON NEXT 5120K
DEFAULT STORAGE (INITIAL 10K NEXT 50K MINEXTENTS 1 MAXEXTENTS 121 PCTINCREASE 10) ONLINE;

CREATE USER pacs IDENTIFIED BY pacs
DEFAULT TABLESPACE pacsdb TEMPORARY TABLESPACE TEMP
QUOTA UNLIMITED ON pacsdb;

GRANT DBA TO pacs WITH ADMIN OPTION;

Reopen the Windows command prompt and execute SqlPlus. Now you have to establish connection with Oracle through your new user pacs and password pacs for generating all tables, primary keys, indexes, and so on. Therefore, type the following command and wait:

SQL> @C:\dcm4chee\sql\create.ora;

If no errors occurred your dcm4chee database is complete!

Important Notes:

1) dcm4chee doesn't contain an appropriate Jdbc driver for Oracle, so you need to download this driver and copy it to dcm4chee\server\default\lib\.

2)Use OCI connection for OracleXE. Change de Jdbc url connection in dcm4chee\server\default\deploy\pacs-oracle-ds.xml. Locate the tag <connection-url> and change its content to jdbc:oracle:oci:@xe.

3) Search Oracle installation directory for ocijdbc10g.dll and copy this file to dcm4chee\bin\native\.

Mission accomplished! Open the Windows command prompt, access dcm4chee\bin directory and execute run.bat to startup JBoss server. Finally, open your preffered web browser and go to localhost:8080/dcm4chee-web to see dcm4chee in action!




If you have any problems with this tutorial just let me know.
See you on the next post :)

27 comments:

Rafael Cruz said...

Hi Samuel! Thank you for publishing this howto. Its seems to be a nice "walk through" to start setting up dcm4chee. I'll try it right now and will post my results. Good job!

Rafael Cruz said...
This comment has been removed by the author.
Rafael Cruz said...

Hi again! I just want to say thanks Samuel. I finally got DCM4CHEE working on my virtual machine. (At least is what it looks like... =D).
I think my previous mistake was with JDBC drivers or with JAVA setup. I really don't know.
The fact is: its a working tutorial that makes DCM4CHEE easy to setup... I had no idea how to configure oracle and JBOSS and now its done.
Congratulations. Keep up the good work! And thanks again for helping me and replying all my emails

PS
I'm using:
-Ubuntu 8.04 as host of a Virtual Machine (Windows XP Professional SP3).
-Java 1.6 (jdk-6u6-windows-i586-p.exe)
-OracleXE (10.2.0.1)
-DCM4CHEE 2.13.5 (dcm4chee-oracle-2.13.5.zip)
-JBOSS 4.2.2 GA (jboss-4.2.2.GA.zip)
-ojdbc14.jar (JDBC driver)

Anonymous said...

hi samuel... following error is comming when i execute run.bat


--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.j2ee:service=EjbModule,module=dcm4chee-ejb-oracle.jar
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Error: can't find data sourc
e: java:/pacsDS; - nested throwable: (javax.naming.NameNotFoundException: pacsDS
not bound)

ObjectName: jboss.jca:service=DataSourceBinding,name=pacsDS
State: NOTYETINSTALLED
Depends On Me:
jboss.ejb:service=EJBTimerService,persistencePolicy=database
jboss.mq:service=PersistenceManager

Unknown said...

Hello Anonymous :)

Please check your pacs-oracle-ds.xml file at dcm4chee\server\default\deploy. I believe it's not correctly configured.

Regards,

Samuel.

Anonymous said...

thanks samuel,

now i took dcm4chee and configure everything using oracle.. now i want it work with my eclipse environment.. i dont know how to run it form my eclipse environment. can u give step by step procedure please. and also the jboss-all checkout has 8 modules.. i wants to implement PACS . what to do. and i have KPACS and Clearcanvas viewer .in dcm4chee home site they suggested these viewers can integrate with dcm4chee.. i am beliving your response.. because ur step by step implentation of dcm4chee with oracle is very very good samuel


thanks

regards,
syed

Anonymous said...

hi sam,

whether dcm4chee supports MR/CR dicom images?


when i pushing dicom images to pacs server with dcmsnd command

dcmsnd DCM4CHEE@localhost:11112 c:\sanjay.dcm

its throwing exception


org.dcm4chex.archive.exceptions.UnknownAETException:
at org.dcm4chex.archive.ejb.session.AEManagerBean.findByAET(AEManagerBea
n.java:182)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(S
tatelessSessionContainer.java:237)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invo
ke(CachedConnectionInterceptor.java:158)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(Stat
elessSessionInstanceInterceptor.java:169)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidation
Interceptor.java:63)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInte
rceptor.java:121)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep
torCMT.java:378)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:1
81)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.
java:168)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFacto
ryFinderInterceptor.java:138)
at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:6
48)
at org.jboss.ejb.Container.invoke(Container.java:960)
at sun.reflect.GeneratedMethodAccessor137.invoke(Unknown Source)


thanks


regards
syed

Unknown said...

hello syed,

Thanks for commenting!

There is something wrong with your dcm4chee installation. The AET is missing for some reason. Try to change the AET and execute dcmsnd again. And are you familiar with Eclipse IDE?

Regards,

Samuel.

Wolfgang said...

Hi Samuel,
thanks for your useful reader!!
I installed dcm4chee with oracle. Do I need to create the environment variable JAVA_HOME?

Without, I get an error message.

Do you know what is going wrong if weblogin for dcm and jboss failed?
bye, wolfgang

Unknown said...

Hi wolfgang,

Thanks for visiting :)

Environment variables is always welcome! Try to set them for jdk/jre and jboss. Also, if you get any errors just send me an email and don't forget to attach the server log so we can discuss what is going on.

Regards,

Samuel.

Wolfgang said...

Hi Samuel,
after your kindly help with the XML file, the dcm4chee runs very good.
Thanky ou very much.

University Hospital Mannheim
Wolfgang Arndt

Unknown said...

Hello Samuel,This posting and your personal interaction has helped me to configure DCM4CHEE in my PC.Its working fine.And thanks for the greate work.

Joby.

Unknown said...

Hello Samuel,This posting and your personal interaction has helped me to configure DCM4CHEE in my PC.Its working fine.And thanks for the greate work.

Joby.

Anonymous said...

Hi Samuel! I am Marian. Thanks for publishing this HowTo.
However, I am not able to start JBoss using run.bat command. Failed to boot JBoss. This is the log:
=============================
*****************************
C:\Java\dcm4chee\bin>run
===============================================================================

JBoss Bootstrap Environment

JBOSS_HOME: C:\Java\dcm4chee

JAVA: C:\Progra~1\Java\jdk1.6.0\bin\java

JAVA_OPTS: -Djava.library.path="C:\Java\dcm4chee\bin\native" -Dprogram.name=r
un.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.r
mi.dgc.server.gcInterval=3600000 -Dapp.name=dcm4chee

CLASSPATH: C:\Progra~1\Java\jdk1.6.0\lib\tools.jar;C:\Java\dcm4chee\bin\run.ja
r

===============================================================================

09:52:34,015 INFO [ServerImpl] Starting JBoss (Microcontainer)...
09:52:34,015 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: SV
NTag=JBoss_5_0_0_GA date=200812041714)
09:52:34,015 INFO [ServerImpl] Bootstrap URL: null
09:52:34,015 INFO [ServerImpl] Home Dir: C:\Java\dcm4chee
09:52:34,015 INFO [ServerImpl] Home URL: file:/C:/Java/dcm4chee/
09:52:34,015 INFO [ServerImpl] Library URL: file:/C:/Java/dcm4chee/lib/
09:52:34,015 INFO [ServerImpl] Patch URL: null
09:52:34,015 INFO [ServerImpl] Common Base URL: file:/C:/Java/dcm4chee/common/
09:52:34,015 INFO [ServerImpl] Common Library URL: file:/C:/Java/dcm4chee/commo
n/lib/
09:52:34,015 INFO [ServerImpl] Server Name: default
09:52:34,015 INFO [ServerImpl] Server Base Dir: C:\Java\dcm4chee\server
09:52:34,031 INFO [ServerImpl] Server Base URL: file:/C:/Java/dcm4chee/server/
09:52:34,031 INFO [ServerImpl] Server Config URL: file:/C:/Java/dcm4chee/server
/default/conf/
09:52:34,031 INFO [ServerImpl] Server Home Dir: C:\Java\dcm4chee\server\default

09:52:34,031 INFO [ServerImpl] Server Home URL: file:/C:/Java/dcm4chee/server/d
efault/
09:52:34,031 INFO [ServerImpl] Server Data Dir: C:\Java\dcm4chee\server\default
\data
09:52:34,031 INFO [ServerImpl] Server Library URL: file:/C:/Java/dcm4chee/serve
r/default/lib/
09:52:34,031 INFO [ServerImpl] Server Log Dir: C:\Java\dcm4chee\server\default\
log
09:52:34,031 INFO [ServerImpl] Server Native Dir: C:\Java\dcm4chee\server\defau
lt\tmp\native
09:52:34,031 INFO [ServerImpl] Server Temp Dir: C:\Java\dcm4chee\server\default
\tmp
09:52:34,031 INFO [ServerImpl] Server Temp Deploy Dir: C:\Java\dcm4chee\server\
default\tmp\deploy
09:52:36,562 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/J
ava/dcm4chee/server/default/conf/bootstrap.xml
Failed to boot JBoss:
java.lang.RuntimeException: Error unmarshalling file:/C:/Java/dcm4chee/server/de
fault/conf/bootstrap.xml
at org.jboss.bootstrap.xml.BootstrapParser.parse(BootstrapParser.java:60
)
at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java
:129)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:
394)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:547)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: file:/
C:/Java/dcm4chee/server/default/conf/bootstrap.xml
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBPars
er.java:177)
at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java
:119)
at org.jboss.bootstrap.xml.BootstrapParser.parse(BootstrapParser.java:53
)
... 5 more
Caused by: java.io.FileNotFoundException: C:\Java\dcm4chee\server\default\conf\b
ootstrap.xml
at org.jboss.net.protocol.file.FileURLConnection.connect(FileURLConnecti
on.java:105)
at org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLC
onnection.java:112)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown So
urce)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Sour
ce)
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBPars
er.java:173)
... 7 more
09:52:37,031 INFO [ServerImpl] Runtime shutdown hook called, forceHalt: true
09:52:37,109 INFO [ServerImpl] Shutdown complete
Shutdown complete
Halting VM
*****************************
=============================

Any suggestions?

Thank you,
Marian

Anonymous said...

Hi

Can you help a found my installation erro

===============================================================================

JBoss Bootstrap Environment

JBOSS_HOME: D:\dcm4chee

JAVA: C:\Program Files\Java\jdk1.5.0_20\bin\java

JAVA_OPTS: -Djava.library.path="D:\dcm4chee\bin\native;C:\oraclexe\app\oracle
\product\10.2.0\server\bin;C:\Program Files\PC Connectivity Solution\;C:\WINDOWS
\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Symantec\pcAnywhe
re\;C:\Program Files\Medcon\Medcon Common\" -Dprogram.name=run.bat -server -Xms1
28m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInte
rval=3600000

CLASSPATH: C:\Program Files\Java\jdk1.5.0_20\lib\tools.jar;D:\dcm4chee\bin\run
.jar

===============================================================================

Exception in thread "main" java.lang.NoClassDefFoundError: Files\Java\jdk1/5/0_2
0\lib\tools/jar;D:\dcm4chee\bin\run/jar org/jboss/Main
Press any key to continue . . .

Abder-Rahman said...

Thanks for this valuable post.

I just wanted to note a small thing, just a grammatic thing.

In your sentence:

You will be asked for entering "an" username

I think instead "an" it should be "a".

Thanks.

Unknown said...

Hi! Can anyone help to slove problem?
Caused by: java.sql.SQLException: Listener refused the connection with the follo
wing error:
ORA-12505, TNS:listener does not currently know of SID given in connect descript
or
The Connection descriptor used by the client was:
localhost:1521:pacsdb

at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
:261)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:
441)
at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:165)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtensio
n.java:35)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.c
reateManagedConnection(LocalManagedConnectionFactory.java:172)
... 36 more

mmdc38 said...

Thank you for publishing this.
I made all you told but I have had a problem when I try to run the JBoss. I send some part of the log for you or someone could tell me something.
Thank again.

LOG:
2010-06-02 12:26:00,577 INFO -> (main) [org.jboss.jms.server.connectionfactory.ConnectionFactory] Connector bisocket://129.181.200.174:-1 has leasing enabled, lease period 10000 milliseconds
2010-06-02 12:26:00,577 INFO -> (main) [org.jboss.jms.server.connectionfactory.ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1644679 started
.
.
.
at java.lang.Thread.run(Thread.java:595)
Caused by: org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection for InvokerLocator [bisocket://129.181.200.174//?JBM_clientMaxPoolSize=200&clientLeasePeriod=10000&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.wireformat.JMSWireFormat&numberOfCallRetries=1&numberOfRetries=10&pingFrequency=214748364&pingWindowFactor=10&socket.check_connection=false&stopLeaseOnFailure=true&timeout=0&unmarshaller=org.jboss.jms.wireformat.JMSWireFormat&validatorPingPeriod=10000&validatorPingTimeout=5000]
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:579)
at org.jboss.remoting.transport.bisocket.BisocketClientInvoker.transport(BisocketClientInvoker.java:418)
at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
at org.jboss.remoting.Client.invoke(Client.java:1634)
at org.jboss.remoting.Client.invoke(Client.java:548)
at org.jboss.remoting.Client.invoke(Client.java:536)
at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:189)
... 140 more
Caused by: java.lang.IllegalArgumentException: port out of range:-1
at java.net.InetSocketAddress.(InetSocketAddress.java:118)
at org.jboss.remoting.transport.socket.SocketClientInvoker.createSocket(SocketClientInvoker.java:183)
at org.jboss.remoting.transport.bisocket.BisocketClientInvoker.createSocket(BisocketClientInvoker.java:425)
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(MicroSocketClientInvoker.java:827)
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:569)
... 146 more
2010-06-02 12:26:01,124 FATAL -> (main) [org.dcm4chex.archive.mbean.SendMailService] Failed to invoke operation startListening on dcm4chee.archive:service=JMS
javax.management.RuntimeMBeanExcep

Alishan said...

Hi Samuel!

Thanks for sharing this "How to" i have just followed the steps you have mentioned and successfully implemented the dcm4chee. Thanks a lot again.

Dedi eR said...

hi samuel,
i try install dcm4chee+oracle on ubuntu lucid and still failed.
1. i've install jboss. it's running but i failed to login. i used username/password : admin.
is it because not connected to database?
2. i've install oracle-xe 10g. it's running well. i've allready made user PACS and table PACSDB, but i must made one column in PACSDB table. what should i create name column?
3. you said, we have to download jdbc driver. and i've follow the link, but there is no jdbc driver for jdk 1.6, can i use jdbc driver for jdk 1.4?

please mail me at ded0t@yahoo.com
thanks

Unknown said...

hi, i did everything that you said but i cant login on dcm4chee-web what is the user and password??? please help
soporte@wifinet.cl

Anonymous said...

Hi, can anyone help to slove problem?
JBoss Bootstrap Environment

JBOSS_HOME: /home/sergio/Escritorio/TAC-Digital/dcm4chee-2.15.0-psql

JAVA: java

JAVA_OPTS: -Dprogram.name=run.sh -Xms128m -Xmx512m -XX:MaxPermSize=128m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.messaging.ServerPeerID=0 -Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl -Djava.awt.headless=true -Dapp.name=dcm4chee -Djava.net.preferIPv4Stack=true -Djava.library.path=/home/sergio/Escritorio/TAC-Digital/dcm4chee-2.15.0-psql/bin/native

CLASSPATH: /home/sergio/Escritorio/TAC-Digital/dcm4chee-2.15.0-psql/bin/run.jar

=========================================================================

Failed to boot JBoss:
java.lang.ClassNotFoundException: org.jboss.system.server.ServerImpl
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
at org.jboss.system.server.ServerLoader.createServer(ServerLoader.java:286)
at org.jboss.system.server.ServerLoader.load(ServerLoader.java:268)
at org.jboss.Main.boot(Main.java:194)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:636)

Anonymous said...

"SQL> @C:\dcm4chee\sql\create.ora;

If no errors occurred your dcm4chee database is complete!"

But I a getting error "name is already used by an existing object" "unique constraint violated"
Please guide on how should i resolve this.

Unknown said...

SQL> @C:\dcm4chee\sql\create.ora;

SP2-0310: unable to open file "C:\dcm4chee\sql\create.ora"

How do i resolve this error?

Unknown said...

Hello,
any one try to link the view to another application

binedabed said...

hello
anyone can help me
I get this error


SQL> @C:\apps\dcm4chee-arr-3.0.11-oracle\bin\run.bat
SP2-0310: impossible d'ouvrir le fichier "echo.sql"
SP2-0310: impossible d'ouvrir le fichier "if.sql"
SP2-0310: impossible d'ouvrir le fichier "if.sql"
SP2-0158: option SET inconnue "DIRNAME=.\"
SP2-0734: commande inconnue au début de "if "%OS%" ..." - le reste de la ligne est ignoré.
SP2-0735: option SET inconnue au début de "PROGNAME=r..."
SP2-0734: commande inconnue au début de "if "%OS%" ..." - le reste de la ligne est ignoré.
SP2-0734: commande inconnue au début de "pushd %DIR..." - le reste de la ligne est ignoré.
SP2-0735: option SET inconnue au début de "JBOSS_HOME..."
SP2-0042: commande inconnue "popd" - reste de la ligne ignoré.

Unknown said...

Hola, Me puedes aclarar exactamente que ORACLE para windows descagar, es que cuando abro el que sugieres no contiene ni la carpeta server, ni bin, entonces cuando lo corro en una ventana de windows no lo encuentra.