Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Pomocy - jBuilder x i mysql 2 etap

0 views
Skip to first unread message

Tomasz Ceremuga

unread,
Jan 8, 2004, 11:45:18 AM1/8/04
to
Witam!
Mam juz stera MySql + JDbTable + QueryDataSet
Ja odpalam aplikacje to mam takie komunikaty:
"Need to specify class name in environment or system property, or as an
applet parameter, or in an application resource file:
java.naming.factory.initial"
o co mu biega?? jak aplikacja jest w trybie tworzenia (Design) to widze dane
a jak odpale to mam wlasnie takie komunikaty
Prosze o pomoc :)

pozdr.
Tomek

(stackTrace)
ee com.borland.dx.dataset.DataSetException error code: BASE+47

com.borland.dx.dataset.DataSetException: Chain of 2 or more Exceptions
occurred

at com.borland.dx.dataset.DataSetException.a(Unknown Source)

at com.borland.dx.dataset.DataSetException.throwExceptionChain(Unknown
Source)

at com.borland.dx.sql.dataset.q.a(Unknown Source)

at com.borland.dx.sql.dataset.Database.openConnection(Unknown Source)

at com.borland.dx.sql.dataset.Database.createPreparedStatement(Unknown
Source)

at com.borland.dx.sql.dataset.o.a(Unknown Source)

at com.borland.dx.sql.dataset.o.d(Unknown Source)

at com.borland.dx.sql.dataset.o.f(Unknown Source)

at com.borland.dx.sql.dataset.QueryProvider.e(Unknown Source)

at com.borland.dx.sql.dataset.JdbcProvider.provideData(Unknown Source)

at com.borland.dx.dataset.StorageDataSet.a(Unknown Source)

at com.borland.dx.dataset.DataSet.a(Unknown Source)

at com.borland.dx.dataset.DataSet.open(Unknown Source)

at com.borland.dbswing.JdbTable.bindDataSet(JdbTable.java:2749)

at com.borland.dbswing.JdbTable.addNotify(JdbTable.java:2733)

at java.awt.Container.addNotify(Container.java:2049)

at javax.swing.JComponent.addNotify(JComponent.java:4291)

at java.awt.Container.addNotify(Container.java:2049)

at javax.swing.JComponent.addNotify(JComponent.java:4291)

at java.awt.Container.addImpl(Container.java:658)

at java.awt.Container.add(Container.java:518)

at sklep.PrzyjeciaPZ.jbInit(PrzyjeciaPZ.java:73)

at sklep.PrzyjeciaPZ.<init>(PrzyjeciaPZ.java:32)

at sklep.Zakupy.zakupyPZ_menu_actionPerformed(Zakupy.java:70)

at sklep.Zakupy_zakupyPZ_menu_actionAdapter.actionPerformed(Zakupy.java:87)

at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)

at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButto
n.java:1839)

at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:4
20)

at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)

at javax.swing.AbstractButton.doClick(AbstractButton.java:289)

at
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113)

at
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Basic
MenuItemUI.java:943)

at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)

at java.awt.Component.processMouseEvent(Component.java:5100)

at java.awt.Component.processEvent(Component.java:4897)

at java.awt.Container.processEvent(Container.java:1569)

at java.awt.Component.dispatchEventImpl(Component.java:3615)

at java.awt.Container.dispatchEventImpl(Container.java:1627)

at java.awt.Component.dispatchEvent(Component.java:3477)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)

at java.awt.Container.dispatchEventImpl(Container.java:1613)

at java.awt.Window.dispatchEventImpl(Window.java:1606)

at java.awt.Component.dispatchEvent(Component.java:3477)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)

at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:201)

at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:151)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

Chained exception:

javax.naming.NoInitialContextException: Need to specify class name in
environment or system property, or as an applet parameter, or in an
application resource file: java.naming.factory.initial

at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:640)

at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)

at
javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:280)

at javax.naming.InitialContext.lookup(InitialContext.java:347)

at com.borland.dx.sql.dataset.q.a(Unknown Source)

at com.borland.dx.sql.dataset.Database.openConnection(Unknown Source)

at com.borland.dx.sql.dataset.Database.createPreparedStatement(Unknown
Source)

at com.borland.dx.sql.dataset.o.a(Unknown Source)

at com.borland.dx.sql.dataset.o.d(Unknown Source)

at com.borland.dx.sql.dataset.o.f(Unknown Source)

at com.borland.dx.sql.dataset.QueryProvider.e(Unknown Source)

at com.borland.dx.sql.dataset.JdbcProvider.provideData(Unknown Source)

at com.borland.dx.dataset.StorageDataSet.a(Unknown Source)

at com.borland.dx.dataset.DataSet.a(Unknown Source)

at com.borland.dx.dataset.DataSet.open(Unknown Source)

at com.borland.dbswing.JdbTable.bindDataSet(JdbTable.java:2749)

at com.borland.dbswing.JdbTable.addNotify(JdbTable.java:2733)

at java.awt.Container.addNotify(Container.java:2049)

at javax.swing.JComponent.addNotify(JComponent.java:4291)

at java.awt.Container.addNotify(Container.java:2049)

at javax.swing.JComponent.addNotify(JComponent.java:4291)

at java.awt.Container.addImpl(Container.java:658)

at java.awt.Container.add(Container.java:518)

at sklep.PrzyjeciaPZ.jbInit(PrzyjeciaPZ.java:73)

at sklep.PrzyjeciaPZ.<init>(PrzyjeciaPZ.java:32)

at sklep.Zakupy.zakupyPZ_menu_actionPerformed(Zakupy.java:70)

at sklep.Zakupy_zakupyPZ_menu_actionAdapter.actionPerformed(Zakupy.java:87)

at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)

at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButto
n.java:1839)

at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:4
20)

at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)

at javax.swing.AbstractButton.doClick(AbstractButton.java:289)

at
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113)

at
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Basic
MenuItemUI.java:943)

at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)

at java.awt.Component.processMouseEvent(Component.java:5100)

at java.awt.Component.processEvent(Component.java:4897)

at java.awt.Container.processEvent(Container.java:1569)

at java.awt.Component.dispatchEventImpl(Component.java:3615)

at java.awt.Container.dispatchEventImpl(Container.java:1627)

at java.awt.Component.dispatchEvent(Component.java:3477)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)

at java.awt.Container.dispatchEventImpl(Container.java:1613)

at java.awt.Window.dispatchEventImpl(Window.java:1606)

at java.awt.Component.dispatchEvent(Component.java:3477)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)

at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:201)

at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:151)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)


0 new messages