Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Network Adapter could not... Any hint on what i missed?
According to what test OC4J is initiated?
Did you start OC4J containers
java -jar oc4j.jar
and then access http://<yourhost>:8888
and get the default home page stuff?
Konrad Den Ende wrote:
> I get this error:
> SQLException: I/O-Error: The Network Adapter
> could not establish the connection
>
> What i got is:
> String url = "jdbc:oracle:thin:MyOwnDataBase";
> Connection conn = DriverManager.getConnection (url, "root", "code");
>
> I have installed Oracles OC4J and according to the test it's supposed
> to be initiated. The code is OK too.
>
> Am i suppose to CREATE the database MyOwnDataBase BEFORE i try
> to create that connection? How do i create that DB?
>
> I appreciate all help so don't hesiate :)
> --
>
> Vänligen
> Konrad
> -------------------------------------------------------
> URL: http://konrads.webbsida.com
> E-Mail: konrad_at_voxway.com
> Phone: (+46) 0708 - 70 73 92
> ICQ: 132 250 451
>
>
>
>
>
>
Received on Fri Jun 28 2002 - 11:12:37 CDT