This doesn't look like a Torque problem. I assume you've configured the JndiDataSourceFactory to get your connection from? The stack trace goes through the BasePeer then into what to me looks like JNDI (I'm guessing), and then this com.sun.enterprise.iiop stuff is trying to init/find JNDI and fails on that FileNotFoundException.
So I'm going to assume this generated code would work if you had it inside your EJB container because it could find the JNDI (I'm guessing again), but for test cases, try using one of the different DataSource factories, e.g. Jdbc2PoolDataSourceFactory as detailed in: http://jakarta.apache.org/turbine/torque/jdbc2pool-howto.html It should run just fine from the command-line/JUnit classes. - Stephen > [junit] ------------- Standard Error ----------------- > [junit] java.io.FileNotFoundException: > C:\kinaseprofiler\config\security.pro > perties (The system cannot find the path specified) -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
