Archive

Archive for the ‘Installation’ Category

Oracle – Error when compiling EAR file for deployment on 10gAS


If you get the following error message when compiling the EAR file for deployment on 10g Application Server then check to make sure the database is up and running, it’s likely the database is either in restricted mode, or shutdown.

$ ./saw_compile.sh
Please wait ...
java.sql.SQLException: J2T-131, SQLException: ORA-01033: ORACLE initialization or shutdown in progress
when registering oracle.jdbc.OracleDriver as JDBC driver
J2T-102, ERROR: Unable to connect to schema "app"
Exception in thread "main" java.lang.NullPointerException: - No EAR file exists to look into - No service element provided , can not determine which classes or interfaces to expose in WSDL
at oracle.j2ee.ws.tools.WsAssmWSDLGenerator.generate(WsAssmWSDLGenerator.java:115)
at oracle.j2ee.ws.tools.WsAssembler.assemble(WsAssembler.java:94)
at oracle.j2ee.ws.tools.WsAssembler.main(WsAssembler.java:66)