Hi again:

Just three quick points

(1) run.bat

    The server is started with java -classic and
    my JDK 1.3 doesn't like it. Would be OK to
    remove this -classic option?

(2) Oracle JDBC driver

    Oracle driver is named classes12.zip and when
    I placed in /lib/ext the server doesn't find it.
    It's trivial to change the name to classes12.jar
    but I think is better to change this line in
    ClassPathExtension.java

Diff on file
-----------------------------------------------------
diff -r1.1.1.1 ClassPathExtension.java
68c68
<                if (files[i].endsWith(".jar"))
---
>                if (files[i].endsWith(".jar") || 
files[i].endsWith(".zip"))
-----------------------------------------------------

(3) Where to put the JNDI name of a datasource?

    I think is in jboss.conf file. I have added this
    to configure a Oracle datasource

<MLET CODE = "org.jboss.jdbc.DataSourceImpl" 
ARCHIVE="jboss.jar,classes12.jar" CODEBASE="../lib/ext/">
   <ARG TYPE="java.lang.String" 
VALUE="jdbc:oracle:thin:@evita:1521:orcl">
   <ARG TYPE="java.lang.String" VALUE="jdbc/DBMS">  <-- JNDI name here?
   <ARG TYPE="java.lang.String" VALUE="oracle.jdbc.driver.OracleDriver">
   <ARG TYPE="java.lang.String" VALUE="system">
   <ARG TYPE="java.lang.String" VALUE="manager">
</MLET>

    But starting the server shows this exception:

[DataSource] Starting
javax.naming.NameNotFoundException: jdbc not bound

    And the final question.
    Can I make a context.lookup("java:comp/env/jdbc/DBMS") ?

That's all. Thanks 
Pedro



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to