Subject Re: Please Help...
Author nomykk
I am using JRE 1.6.

and please give me a link to download mini-j2ee_16.jar, not finding on google.

--- In Firebird-Java@yahoogroups.com, Evgeny Putilin <evgeneyputilin@...> wrote:
>
> Please include mini-j2ee.jar or mini-j2ee_16.jar (for JRE 1.7) to classpath
>
>
> Tue, 21 Dec 2010 06:42:02 -0000 ÐÉÓØÍÏ ÏÔ "nomykk" <nomykk@...>:
>
>
> i am trying to get records from a firebird DB but getting this exception.
>
> Exception in thread "main" java.lang.NoClassDefFoundError: javax/resource/ResourceException
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Unknown Source)
> at com.tPOS.admin.database.DBConnection.getConnection(DBConnection.java:15)
> at com.tPOS.admin.businesslogic.AdminLogin.adminLogin(AdminLogin.java:16)
> at com.tPOS.admin.gui.Login$2.widgetSelected(Login.java:98)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
> at com.tPOS.admin.gui.Login.open(Login.java:47)
> at com.tPOS.admin.gui.Login.main(Login.java:32)
> Caused by: java.lang.ClassNotFoundException: javax.resource.ResourceException
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> ... 12 more
>
> this is my CODE
>
> Class.forName("org.firebirdsql.jdbc.FBDriver");
> conn = DriverManager.getConnection("jdbc:firebirdsql://localhost/3050//E:/tPOSFDB/tPOS.fdb", "SYSDBA", "password");
> Statement st = con.createStatement();
> ResultSet rs = st.executeQuery("Selet * from Login where userid = 'id' AND password = 'password' AND status = 'Active'");
>
> please help me...........
>
>
>
> WBR Evgeny Putilin
>
>
>
> [Non-text portions of this message have been removed]
>