Sun ONE Studio 5 evaluation. JDBC RowSet question.

I am accessing a MYSQL database using form wizard. I am also using the DataNavaigator. When I use RowSet type: NB CachedRowSet, I can bring in and scroll through existing data, add, change, and delete rows with no problem. When I use NB JDBC RowSet, I can not do any of these things. I do not receive an error, it just not work. It is my understanding that for larger rowsets, I should be using the JDBC RowSet. Also, when calling in a large row set, how do you get to an item without scrolling to it using the DataNavagator. Thank you in adavance for your time.

In the Sun One the is a ServerAdministrative menu by clicking on it u get a window to look that deployed application... check out the server cluster.. load balancing and stuffs like that in the same window there is a Database icon where u have to set the driver path and give the drive name.. with the max connection min connection that would solve your problem

Similar Messages

  • Firebird JDBC on Sun One Studio

    I am trying to use the Firebird JDBC with Sun One Studio. I put the firebirdsql.jar file on the \lib\ext directory, but when I run the JDBC wizard, It does not appear on the list of available drivers.
    So I put my connection string anyway but it shows an error message about Driver not Found.
    What am I doing wrong?
    Thanks

    Maybe a stupid question, but did you restart Sun One Studio after putting the driver in that directory?
    Are you sure Sun One Studio uses the same virtual machine as the folder where you've put the driver?
    And finally, try adding the jar file to the classpath.

  • Oracle.jdbc.driver.OracleDriver not found in Sun ONE Studio

    I get this message when I try to connect to the database while creating an EJB. I have tried adding the path to my CLASSPATH, and to adding it to the various CLASSPATHs within Sun ONE Studio. IDE_HOME is defined correctly but OracleDriver.class is still not found. Anyone know what my problem might be?
    Thanks,
    Michael A. Moran

    Hi Sujatha,
    Thanks for responding. My CLASSPATH is as follows:
    madonna% echo $CLASSPATH
    /export/oracle/jdbc/lib:/export/oracle/jlib:/export/oracle/jsp/lib:/export/oracle/sqlj/lib/runtime.zip:/export/oracle/oem_webstage:/export/oracle/lib/aurora_client.jar:/export/oracle/jdbc/lib/classes12.zip:/export/oracle/sqlj/lib/translator.zip:/export/oracle/sqlj/lib/runtime12.jar:/export/oracle/lib/vbjorb.jar:/export/oracle/lib/vbjapp.jar:/export/oracle/lib/mts.jar:/export/oracle/javavm/lib/aurora.zip:/export/oracle/javavm/utl/ejb/lib/vbj30ssl.jar:/export/oracle/jlib/javax-ssl-1_2.jar:/export/oracle/jlib/jssl-1_2.jar:/export/oracle/lib/servlet.jar:/export/oracle/lib/http_client.jar:/export/oracle/lib/http_server.jar:/export/oracle/oem_webstage/oracle/jdbc/OracleDriver.class:/export/oracle:/export/oracle/jdbc/lib/nls_charset12.jar
    Which as you can see includes classes12.zip and /export/oracle/oem_webstage/oracle/jdbc/OracleDriver.class
    I have also set all the IDE internal classpath variables to the same settings. It has no effect. I still get the same message.
    Michael

  • Starter question: ear created on sun one studio can't be redployed

    Just start learning sun one studio. Followed the tutorial of helloworld, test succeed on sun one studio's RI server. I tried to redeploy the ear file on sun one's application 7, got error message:
    Deployment Error -- Error while running ejbc -- Fatal Error from EJB Compiler -- -- Failed to load deployment descriptor for: hello cause: Error reading from file: C:\Sun\AppServer7\domains\domain1\server1\applications\j2ee-apps\hello_2\sun-EJBModule_Greeter.xml
    under hello_2 folder, the applicaiton server unzipped descriptor is named: EJBModule_Greeter.xml.
    shouldn't the ear file be able to redeploy without modification on any J2EE complied application server? what did I do wrong?
    Thanks for your help.
    regards.

    I'll answer my own question - for anyone else who may want to know. The tool is SUN ONE Migration tool for application servers, and it can be found at URL http://www.sun.com/migration/sunonetools.html.
    The migration is from J2EERI to S1AS. I haven't tried it out yet , but will soon.
    Earlier I asked ...
    Do I understand correctly - I must use a migration
    tool to migrate from SUN ONE to SUN ONE?

  • Java.lang.NoClassDefFoundError when opening Sun ONE Studio 4 CE

    Hi! I have installed Sun ONE Studio 4 CE with windows 2000 OS and when I open the runidew.exe, it's application I'm getting an error that says
    " A java.lang.NoClassDefFoundError" and ide.log messsage is this
    Log Session: Saturday, May 17, 2003 3:20:54 PM CST
    System Info: Product Version = Sun ONE Studio 4 update 1, Community Edition (Build 020923)
    IDE Versioning = IDE/1 spec=1.43.3.1 impl=020923
    Operating System = Windows 2000 version 5.0 running on x86
    Java; VM; Vendor = 1.4.0-beta; Java HotSpot(TM) Client VM 1.4.0-beta-b65; Sun Microsystems Inc.
    Java Home = C:\jdk1.4\jre
    System Locale; Encod. = en_US; Cp1252 (f4j_ce)
    Home Dir; Current Dir = C:\Documents and Settings\Administrator.ISSPG_07; e:\Program Files\s1studio\ce\bin
    IDE Install; User Dir = E:\Program Files\s1studio\ce; c:\ide-userdir
    CLASSPATH = E:\Program Files\s1studio\ce\lib\patches\openide-compat.jar;E:\Program Files\s1studio\ce\lib\locale\core_f4j.jar;E:\Program Files\s1studio\ce\lib\locale\core_f4j_ce.jar;E:\Program Files\s1studio\ce\lib\locale\openide_f4j.jar;E:\Program Files\s1studio\ce\lib\core.jar;E:\Program Files\s1studio\ce\lib\openide.jar;E:\Program Files\s1studio\ce\lib\ext\bsh-1_0-fj.jar;E:\Program Files\s1studio\ce\lib\ext\cmd.jar;E:\Program Files\s1studio\ce\lib\ext\crimson.jar;E:\Program Files\s1studio\ce\lib\ext\ddl.jar;E:\Program Files\s1studio\ce\lib\ext\fjscript.jar;E:\Program Files\s1studio\ce\lib\ext\jaas.jar;E:\Program Files\s1studio\ce\lib\ext\jaxp-api.jar;E:\Program Files\s1studio\ce\lib\ext\jh.jar;E:\Program Files\s1studio\ce\lib\ext\logger.jar;E:\Program Files\s1studio\ce\lib\ext\parser.jar;E:\Program Files\s1studio\ce\lib\ext\pbclient.jar;E:\Program Files\s1studio\ce\lib\ext\regexp.jar;E:\Program Files\s1studio\ce\lib\ext\terminalemulator.jar;E:\Program Files\s1studio\ce\lib\ext\xerces.jar;E:\Program Files\s1studio\ce\lib\ext\jdbc20x.zip;C:\jdk1.4\lib\dt.jar;C:\jdk1.4\lib\tools.jar
    Warning: the extension E:\Program Files\s1studio\ce\modules\autoload\ext\saaj-api.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\autoload\jaxrpc-ri-module.jar, E:\Program Files\s1studio\ce\modules\autoload\jaxr-ri-module.jar]
    Warning: the extension E:\Program Files\s1studio\ce\modules\autoload\ext\saaj-ri.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\autoload\jaxrpc-ri-module.jar, E:\Program Files\s1studio\ce\modules\autoload\jaxr-ri-module.jar]
    Warning: the extension E:\Program Files\s1studio\ce\modules\autoload\ext\xercesImpl.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\autoload\jaxrpc-ri-module.jar, E:\Program Files\s1studio\ce\modules\autoload\jaxr-ri-module.jar]
    Warning: the extension E:\Program Files\s1studio\ce\modules\autoload\ext\sax.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\autoload\jaxrpc-ri-module.jar, E:\Program Files\s1studio\ce\modules\autoload\jaxr-ri-module.jar]
    Warning: the extension E:\Program Files\s1studio\ce\modules\ext\jasper-runtime.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\tomcat40.jar, E:\Program Files\s1studio\ce\modules\jsp-parser.jar]
    Warning: the extension E:\Program Files\s1studio\ce\modules\ext\jasper-compiler.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\tomcat40.jar, E:\Program Files\s1studio\ce\modules\jsp-parser.jar]
    Existing modules:
         Ant [org.apache.tools.ant.module/2 2.7.3.1 020923]
         Applet [org.netbeans.modules.applet/1 1.7.4 020923]
         Auto Update [org.netbeans.modules.autoupdate/1 2.1.2.1 020923]
         Bean Patterns [org.netbeans.modules.beans/1 1.7.3.1 020923]
         Built-in CVS Client [org.netbeans.modules.cvsclient/1 1.4.3.1 020923]
         CSS Support [org.netbeans.modules.css/1 0.2.8.1 020923]
         CVS Command-Line Client Backward Compatibility [org.netbeans.modules.vcs.cmdline.compat/1 1.0.2.1 020923]
         Classfile Closure Compiler [com.sun.forte4j.modules.depclass/1 2.2 020923]
         Database Explorer [org.netbeans.modules.db/1 1.5.3.1 020923]
         Database Schema (JDBC Implementation) [com.sun.forte4j.modules.dbmodel.jdbcimpl/1 1.2.1.1 020923]
         Editor [org.netbeans.modules.editor/1 1.8.3.1 020923]
         External HTML Browser [org.netbeans.modules.extbrowser/1 0.3.4 020923]
         File Copy [org.netbeans.modules.filecopy/1 1.6.2.1 020923]
         Form Editor [org.netbeans.modules.form/2 1.7.3.1 020923]
         General Online Help [org.netbeans.modules.usersguide/1 1.9.3.1 020923]
         HTML [org.netbeans.modules.html/1 1.8.4 020923]
         HTTP Monitor [org.netbeans.modules.web.monitor/1 1.5.2 020923]
         HTTP Server [org.netbeans.modules.httpserver/1 1.7.4 020923]
         IDE Core [org.netbeans.core/1 1.1]
         Image [org.netbeans.modules.image/1 1.7.2.1 020923]
         Internationalization [org.netbeans.modules.i18n/1 1.9.3.1 020923]
         Internationalization of Form [org.netbeans.modules.i18n.form/2 1.8.3 020923]
         J2EE Common Library [com.sun.forte4j.j2ee.lib/1 1.2 020923]
         JAR Packager [org.netbeans.modules.jarpackager/2 1.9.3.1 020923]
         JDBC [org.netbeans.modules.jdbc/1 1.2.1.1 020923]
         JPDA Debugger [org.netbeans.modules.debugger.jpda/1 1.9.3.1 020923]
         JSP Parser [org.netbeans.modules.web.jspparser/1 1.0.3 020923]
         JSP Syntax Coloring [org.netbeans.modules.web.core.syntax/1 1.6.3 020923]
         JSP Tag Library Editor [org.netbeans.modules.web.taglibed/1 1.5.2 020923]
         JSP/Servlet [org.netbeans.modules.web.core/1 1.6.3 020923]
         JSP/Servlet (Advanced) [org.netbeans.modules.web.ie/1 1.6.4 020923]
         JSP/Servlet Breakpoint Support [org.netbeans.modules.web.debug/1 1.0.3 020923]
         JSP/Servlet Depl. Descriptor Editing [org.netbeans.modules.web.dd.editors/1 1.0.2 020923]
         Java Source Files [org.netbeans.modules.java/1 1.7.3.1 020923]
         Javadoc [org.netbeans.modules.javadoc/1 1.7.3.1 020923]
         Logger (TraceLogger) [org.netbeans.modules.logger/1 1.4.1.1 020923]
         PointBase Server [com.sun.forte4j.modules.pointbase/1 1.2.1.1 020923]
         Product Registration [com.sun.ffj.modules.registration/1 1.2 020923]
         Projects [org.netbeans.modules.projects/1 1.7.3.1 020923]
         Resource Bundle Syntax Coloring [org.netbeans.modules.properties.syntax/1 1.7.3 020923]
         Resource Bundles [org.netbeans.modules.properties/1 1.7.3.1 020923]
         Schema2Beans Library [org.netbeans.modules.schema2beans/1 1.2.1 020923]
         Sourceless Java Classes [org.netbeans.modules.clazz/1 1.8.3.1 020923]
         Sun ONE Studio Auto Update [org.netbeans.modules.autoupdateffj/1 1.0.1 020923]
         Text [org.netbeans.modules.text/1 1.7.3.1 020923]
         Tomcat 4.0 Server [org.netbeans.modules.web.tomcat.tomcat40/1 1.1.3 020923]
         Tomcat 4.0 Server Autocompilation Support [org.netbeans.modules.web.tomcat.tomcat40.autocompile/1 1.1.2 020923]
         Tools Debugger [org.netbeans.modules.debugger.debug/1 1.9.3.1 020923]
         User Utilities [org.netbeans.modules.utilities/1 1.7.3.1 020923]
         VCS Generic Command-Line Support [org.netbeans.modules.vcs.advanced/1 1.5.3.1 020923]
         Web module support for J2EE assembling [org.netbeans.modules.web.assemblee/1 1.0.2 020923]
         XML Backward Compatibility [org.netbeans.modules.xml/2 0.2.8 020923]
         XML Coloring Backward Compatibility [org.netbeans.modules.xml.editor.coloring/2 0.2.8 020923]
         XML Core [org.netbeans.modules.xml.core/1 0.2.8.1 020923]
         XML Entity Catalog [org.netbeans.modules.xml.catalog/1 0.2.8.1 020923]
         XML Productivity Tools [org.netbeans.modules.xml.tools/1 0.2.8.1 020923]
         XML Text Editor [org.netbeans.modules.xml.text/1 0.2.8.1 020923]
         XML Tree Editor [org.netbeans.modules.xml.tree/1 0.2.8.1 020923]
    [org.netbeans.core.modules] *********** Exception occurred ************
    Sat May 17 15:21:39 CST 2003: org.netbeans.core.modules.InvalidException: Module[org.netbeans.modules.debugger.debug]: Dependency failed on package sun.tools.debug[DebuggerCallback]
    org.netbeans.core.modules.InvalidException: Module[org.netbeans.modules.debugger.debug]: Dependency failed on package sun.tools.debug[DebuggerCallback]
         at org.netbeans.core.modules.ModuleManager.enable(ModuleManager.java:513)
    [catch] at org.netbeans.core.modules.ModuleList.installNew(ModuleList.java:474)
         at org.netbeans.core.modules.ModuleList.trigger(ModuleList.java:418)
         at org.netbeans.core.modules.ModuleSystem.scanForNewAndRestore(ModuleSystem.java:263)
         at org.netbeans.core.NonGui.run(NonGui.java:519)
         at org.netbeans.core.Main.run(Main.java:213)
         at org.openide.TopManager.initializeTopManager(TopManager.java:120)
         at org.openide.TopManager.getDefault(TopManager.java:81)
         at org.netbeans.core.Main.main(Main.java:346)
         at org.netbeans.core.TopThreadGroup.run(TopThreadGroup.java:87)
         at java.lang.Thread.run(Thread.java:579)
    *********** Exception occurred ************
    Sat May 17 15:23:06 CST 2003: java.lang.NullPointerException: <no message>
    java.lang.NullPointerException
         at java.awt.dnd.DropTarget.addNotify(DropTarget.java:454)
         at java.awt.Component.addNotify(Component.java:5271)
         at java.awt.Container.addNotify(Container.java:1949)
         at javax.swing.JComponent.addNotify(JComponent.java:4141)
         at java.awt.Container.addNotify(Container.java:1957)
         at javax.swing.JComponent.addNotify(JComponent.java:4141)
         at java.awt.Container.addNotify(Container.java:1957)
         at javax.swing.JComponent.addNotify(JComponent.java:4141)
         at java.awt.Container.addImpl(Container.java:486)
         at java.awt.Container.add(Container.java:368)
         at org.netbeans.core.ui.ModuleSelectionPanel.initComponents(ModuleSelectionPanel.java:145)
         at org.netbeans.core.ui.ModuleSelectionPanel.addNotify(ModuleSelectionPanel.java:74)
         at org.netbeans.core.ui.ModuleSelectionPanel.readSettings(ModuleSelectionPanel.java:221)
         at org.openide.WizardDescriptor.updateState(WizardDescriptor.java:450)
         at org.netbeans.core.ui.SetupWizard$InitializedWizardDescriptor.updateState(SetupWizard.java:403)
         at org.openide.WizardDescriptor$Listener.actionPerformed(WizardDescriptor.java:948)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1722)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1775)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:414)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:253)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:261)
         at java.awt.Component.processMouseEvent(Component.java:4906)
         at java.awt.Component.processEvent(Component.java:4732)
         at java.awt.Container.processEvent(Container.java:1337)
         at java.awt.Component.dispatchEventImpl(Component.java:3476)
         at java.awt.Container.dispatchEventImpl(Container.java:1399)
         at java.awt.Component.dispatchEvent(Component.java:3343)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3302)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3014)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2967)
         at java.awt.Container.dispatchEventImpl(Container.java:1373)
         at java.awt.Window.dispatchEventImpl(Window.java:1459)
         at java.awt.Component.dispatchEvent(Component.java:3343)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
    [catch] at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
         at java.awt.Dialog.show(Dialog.java:498)
         at org.netbeans.core.NbPresenter.superShow(NbPresenter.java:672)
         at org.netbeans.core.NbPresenter.run(NbPresenter.java:695)
         at org.openide.util.Mutex.doEventAccess(Mutex.java:917)
         at org.openide.util.Mutex.readAccess(Mutex.java:162)
         at org.netbeans.core.NbPresenter.show(NbPresenter.java:676)
         at org.netbeans.core.ui.SetupWizard.show(SetupWizard.java:287)
         at org.netbeans.core.ui.SetupWizard.showSetupWizard(SetupWizard.java:364)
         at org.netbeans.core.NonGui$2.run(NonGui.java:555)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:160)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:437)
         at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    *********** Exception occurred ************
    Sat May 17 15:23:17 CST 2003: java.lang.NullPointerException: <no message>
    java.lang.NullPointerException
         at org.netbeans.core.ui.ModuleSelectionPanel.storeSettings(ModuleSelectionPanel.java:236)
         at org.openide.WizardDescriptor.updateState(WizardDescriptor.java:439)
         at org.netbeans.core.ui.SetupWizard$InitializedWizardDescriptor.updateState(SetupWizard.java:403)
         at org.openide.WizardDescriptor$Listener.actionPerformed(WizardDescriptor.java:948)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1722)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1775)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:414)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:253)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:261)
         at java.awt.Component.processMouseEvent(Component.java:4906)
         at java.awt.Component.processEvent(Component.java:4732)
         at java.awt.Container.processEvent(Container.java:1337)
         at java.awt.Component.dispatchEventImpl(Component.java:3476)
         at java.awt.Container.dispatchEventImpl(Container.java:1399)
         at java.awt.Component.dispatchEvent(Component.java:3343)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3302)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3014)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2967)
         at java.awt.Container.dispatchEventImpl(Container.java:1373)
         at java.awt.Window.dispatchEventImpl(Window.java:1459)
         at java.awt.Component.dispatchEvent(Component.java:3343)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
    [catch] at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
         at java.awt.Dialog.show(Dialog.java:498)
         at org.netbeans.core.NbPresenter.superShow(NbPresenter.java:672)
         at org.netbeans.core.NbPresenter.run(NbPresenter.java:695)
         at org.openide.util.Mutex.doEventAccess(Mutex.java:917)
         at org.openide.util.Mutex.readAccess(Mutex.java:162)
         at org.netbeans.core.NbPresenter.show(NbPresenter.java:676)
         at org.netbeans.core.ui.SetupWizard.show(SetupWizard.java:287)
         at org.netbeans.core.ui.SetupWizard.showSetupWizard(SetupWizard.java:364)
         at org.netbeans.core.NonGui$2.run(NonGui.java:555)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:160)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:437)
         at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    *********** Exception occurred ************
    Sat May 17 15:23:22 CST 2003: java.lang.NullPointerException: <no message>
    java.lang.NullPointerException
         at org.netbeans.core.ui.ModuleSelectionPanel.storeSettings(ModuleSelectionPanel.java:236)
         at org.openide.WizardDescriptor.resetWizard(WizardDescriptor.java:662)
         at org.openide.WizardDescriptor.access$700(WizardDescriptor.java:49)
         at org.openide.WizardDescriptor$Listener.actionPerformed(WizardDescriptor.java:970)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1722)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1775)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:414)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:253)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:261)
         at java.awt.Component.processMouseEvent(Component.java:4906)
         at java.awt.Component.processEvent(Component.java:4732)
         at java.awt.Container.processEvent(Container.java:1337)
         at java.awt.Component.dispatchEventImpl(Component.java:3476)
         at java.awt.Container.dispatchEventImpl(Container.java:1399)
         at java.awt.Component.dispatchEvent(Component.java:3343)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3302)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3014)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2967)
         at java.awt.Container.dispatchEventImpl(Container.java:1373)
         at java.awt.Window.dispatchEventImpl(Window.java:1459)
         at java.awt.Component.dispatchEvent(Component.java:3343)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
    [catch] at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
         at java.awt.Dialog.show(Dialog.java:498)
         at org.netbeans.core.NbPresenter.superShow(NbPresenter.java:672)
         at org.netbeans.core.NbPresenter.run(NbPresenter.java:695)
         at org.openide.util.Mutex.doEventAccess(Mutex.java:917)
         at org.openide.util.Mutex.readAccess(Mutex.java:162)
         at org.netbeans.core.NbPresenter.show(NbPresenter.java:676)
         at org.netbeans.core.ui.SetupWizard.show(SetupWizard.java:287)
         at org.netbeans.core.ui.SetupWizard.showSetupWizard(SetupWizard.java:364)
         at org.netbeans.core.NonGui$2.run(NonGui.java:555)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:160)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:437)
         at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    *********** Exception occurred ************
    Sat May 17 15:23:29 CST 2003: java.lang.NoClassDefFoundError: java/awt/KeyEventPostProcessor
    java.lang.NoClassDefFoundError: java/awt/KeyEventPostProcessor
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:495)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:110)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:249)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:57)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:196)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:189)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:304)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:287)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:260)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:130)
         at org.netbeans.core.windows.frames.NbFocusManager.install(NbFocusManager.java:58)
         at org.netbeans.core.windows.frames.SplitContainerImpl.<init>(SplitContainerImpl.java:116)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:33)
         at sun.reflect.InflatableConstructorAccessorImpl.newInstance(InflatableConstructorAccessorImpl.java:38)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:273)
         at java.lang.Class.newInstance0(Class.java:290)
         at java.lang.Class.newInstance(Class.java:249)
         at org.netbeans.core.windows.frames.WindowTypesManager.createInstance(WindowTypesManager.java:179)
         at org.netbeans.core.windows.frames.WindowTypesManager.createInstance(WindowTypesManager.java:162)
         at org.netbeans.core.windows.frames.WindowTypesManager.createContainer(WindowTypesManager.java:64)
         at org.netbeans.core.windows.ModeImpl.createContainer(ModeImpl.java:1822)
         at org.netbeans.core.windows.ModeImpl.addToContainer(ModeImpl.java:1765)
         at org.netbeans.core.windows.ModeImpl.access$400(ModeImpl.java:77)
         at org.netbeans.core.windows.ModeImpl$1.performCommand(ModeImpl.java:396)
         at org.netbeans.core.windows.DeferredPerformer.processCommand(DeferredPerformer.java:186)
         at org.netbeans.core.windows.DeferredPerformer.putRequest(DeferredPerformer.java:83)
         at org.netbeans.core.windows.ModeImpl.dockInto(ModeImpl.java:377)
         at org.netbeans.core.windows.ModeImpl.dockInto(ModeImpl.java:357)
         at org.netbeans.core.windows.ModeImpl.dockInto(ModeImpl.java:345)
         at org.netbeans.core.windows.WindowManagerImpl$TopComponentManager.doOpen(WindowManagerImpl.java:1456)
         at org.netbeans.core.windows.WindowManagerImpl$TopComponentManager.open(WindowManagerImpl.java:1413)
         at org.openide.windows.TopComponent.open(TopComponent.java:212)
         at org.openide.explorer.ExplorerPanel.open(ExplorerPanel.java:88)
         at org.netbeans.core.NbMainExplorer$ExplorerTab.open(NbMainExplorer.java:536)
         at org.netbeans.core.NbMainExplorer$MainTab.open(NbMainExplorer.java:763)
         at org.netbeans.core.windows.layers.TCRefImpl.performCommand(TCRefImpl.java:163)
         at org.netbeans.core.windows.DeferredPerformer.processCommand(DeferredPerformer.java:186)
         at org.netbeans.core.windows.DeferredPerformer.stateChanged(DeferredPerformer.java:155)
         at org.netbeans.core.windows.StateManager.fireStateChanged(StateManager.java:117)
         at org.netbeans.core.windows.StateManager.setVisibilityState(StateManager.java:142)
         at org.netbeans.core.windows.StateManager.propertyChange(StateManager.java:164)
         at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
         at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:260)
         at java.awt.Component.firePropertyChange(Component.java:6476)
         at org.netbeans.core.windows.MainWindow.doShowWindow(MainWindow.java:232)
         at org.netbeans.core.windows.MainWindow.access$300(MainWindow.java:57)
         at org.netbeans.core.windows.MainWindow$4.run(MainWindow.java:207)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:167)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:437)
    [catch] at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    Log Session: Saturday, May 17, 2003 5:23:51 PM CST
    System Info: Product Version = Sun ONE Studio 4 update 1, Community Edition (Build 020923)
    IDE Versioning = IDE/1 spec=1.43.3.1 impl=020923
    Operating System = Windows 2000 version 5.0 running on x86
    Java; VM; Vendor = 1.4.0-beta; Java HotSpot(TM) Client VM 1.4.0-beta-b65; Sun Microsystems Inc.
    Java Home = C:\jdk1.4\jre
    System Locale; Encod. = en_US; Cp1252 (f4j_ce)
    Home Dir; Current Dir = C:\Documents and Settings\Administrator.ISSPG_07; e:\Program Files\s1studio\ce\bin
    IDE Install; User Dir = E:\Program Files\s1studio\ce; c:\ide-userdir
    CLASSPATH = E:\Program Files\s1studio\ce\lib\patches\openide-compat.jar;E:\Program Files\s1studio\ce\lib\locale\core_f4j.jar;E:\Program Files\s1studio\ce\lib\locale\core_f4j_ce.jar;E:\Program Files\s1studio\ce\lib\locale\openide_f4j.jar;E:\Program Files\s1studio\ce\lib\core.jar;E:\Program Files\s1studio\ce\lib\openide.jar;E:\Program Files\s1studio\ce\lib\ext\bsh-1_0-fj.jar;E:\Program Files\s1studio\ce\lib\ext\cmd.jar;E:\Program Files\s1studio\ce\lib\ext\crimson.jar;E:\Program Files\s1studio\ce\lib\ext\ddl.jar;E:\Program Files\s1studio\ce\lib\ext\fjscript.jar;E:\Program Files\s1studio\ce\lib\ext\jaas.jar;E:\Program Files\s1studio\ce\lib\ext\jaxp-api.jar;E:\Program Files\s1studio\ce\lib\ext\jh.jar;E:\Program Files\s1studio\ce\lib\ext\logger.jar;E:\Program Files\s1studio\ce\lib\ext\parser.jar;E:\Program Files\s1studio\ce\lib\ext\pbclient.jar;E:\Program Files\s1studio\ce\lib\ext\regexp.jar;E:\Program Files\s1studio\ce\lib\ext\terminalemulator.jar;E:\Program Files\s1studio\ce\lib\ext\xerces.jar;E:\Program Files\s1studio\ce\lib\ext\jdbc20x.zip;C:\jdk1.4\lib\dt.jar;C:\jdk1.4\lib\tools.jar
    Warning: the extension E:\Program Files\s1studio\ce\modules\autoload\ext\saaj-api.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\autoload\jaxrpc-ri-module.jar, E:\Program Files\s1studio\ce\modules\autoload\jaxr-ri-module.jar]
    Warning: the extension E:\Program Files\s1studio\ce\modules\autoload\ext\saaj-ri.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\autoload\jaxrpc-ri-module.jar, E:\Program Files\s1studio\ce\modules\autoload\jaxr-ri-module.jar]
    Warning: the extension E:\Program Files\s1studio\ce\modules\autoload\ext\xercesImpl.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\autoload\jaxrpc-ri-module.jar, E:\Program Files\s1studio\ce\modules\autoload\jaxr-ri-module.jar]
    Warning: the extension E:\Program Files\s1studio\ce\modules\autoload\ext\sax.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\autoload\jaxrpc-ri-module.jar, E:\Program Files\s1studio\ce\modules\autoload\jaxr-ri-module.jar]
    Warning: the extension E:\Program Files\s1studio\ce\modules\ext\jasper-runtime.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\tomcat40.jar, E:\Program Files\s1studio\ce\modules\jsp-parser.jar]
    Warning: the extension E:\Program Files\s1studio\ce\modules\ext\jasper-compiler.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\tomcat40.jar, E:\Program Files\s1studio\ce\modules\jsp-parser.jar]
    Existing modules:
         Ant [org.apache.tools.ant.module/2 2.7.3.1 020923]
         Applet [org.netbeans.modules.applet/1 1.7.4 020923]
         Auto Update [org.netbeans.modules.autoupdate/1 2.1.2.1 020923]
         Bean Patterns [org.netbeans.modules.beans/1 1.7.3.1 020923]
         Built-in CVS Client [org.netbeans.modules.cvsclient/1 1.4.3.1 020923]
         CSS Support [org.netbeans.modules.css/1 0.2.8.1 020923]
         CVS Command-Line Client Backward Compatibility [org.netbeans.modules.vcs.cmdline.compat/1 1.0.2.1 020923]
         Classfile Closure Compiler [com.sun.forte4j.modules.depclass/1 2.2 020923]
         Database Explorer [org.netbeans.modules.db/1 1.5.3.1 020923]
         Database Schema (JDBC Implementation) [com.sun.forte4j.modules.dbmodel.jdbcimpl/1 1.2.1.1 020923]
         Editor [org.netbeans.modules.editor/1 1.8.3.1 020923]
         External HTML Browser [org.netbeans.modules.extbrowser/1 0.3.4 020923]
         File Copy [org.netbeans.modules.filecopy/1 1.6.2.1 020923]
         Form Editor [org.netbeans.modules.form/2 1.7.3.1 020923]
         General Online Help [org.netbeans.modules.usersguide/1 1.9.3.1 020923]
         HTML [org.netbeans.modules.html/1 1.8.4 020923]
         HTTP Monitor [org.netbeans.modules.web.monitor/1 1.5.2 020923]
         HTTP Server [org.netbeans.modules.httpserver/1 1.7.4 020923]
         IDE Core [org.netbeans.core/1 1.1]
         Image [org.netbeans.modules.image/1 1.7.2.1 020923]
         Internationalization [org.netbeans.modules.i18n/1 1.9.3.1 020923]
         Internationalization of Form [org.netbeans.modules.i18n.form/2 1.8.3 020923]
         J2EE Common Library [com.sun.forte4j.j2ee.lib/1 1.2 020923]
         JAR Packager [org.netbeans.modules.jarpackager/2 1.9.3.1 020923]
         JDBC [org.netbeans.modules.jdbc/1 1.2.1.1 020923]
         JPDA Debugger [org.netbeans.modules.debugger.jpda/1 1.9.3.1 020923]
         JSP Parser [org.netbeans.modules.web.jspparser/1 1.0.3 020923]
         JSP Syntax Coloring [org.netbeans.modules.web.core.syntax/1 1.6.3 020923]
         JSP Tag Library Editor [org.netbeans.modules.web.taglibed/1 1.5.2 020923]
         JSP/Servlet [org.netbeans.modules.web.core/1 1.6.3 020923]
         JSP/Servlet (Advanced) [org.netbeans.modules.web.ie/1 1.6.4 020923]
         JSP/Servlet Breakpoint Support [org.netbeans.modules.web.debug/1 1.0.3 020923]
         JSP/Servlet Depl. Descriptor Editing [org.netbeans.modules.web.dd.editors/1 1.0.2 020923]
         Java Source Files [org.netbeans.modules.java/1 1.7.3.1 020923]
         Javadoc [org.netbeans.modules.javadoc/1 1.7.3.1 020923]
         Logger (TraceLogger) [org.netbeans.modules.logger/1 1.4.1.1 020923]
         PointBase Server [com.sun.forte4j.modules.pointbase/1 1.2.1.1 020923]
         Product Registration [com.sun.ffj.modules.registration/1 1.2 020923]
         Projects [org.netbeans.modules.projects/1 1.7.3.1 020923]
         Resource Bundle Syntax Coloring [org.netbeans.modules.properties.syntax/1 1.7.3 020923]
         Resource Bundles [org.netbeans.modules.properties/1 1.7.3.1 020923]
         Schema2Beans Library [org.netbeans.modules.schema2beans/1 1.2.1 020923]
         Sourceless Java Classes [org.netbeans.modules.clazz/1 1.8.3.1 020923]
         Sun ONE Studio Auto Update [org.netbeans.modules.autoupdateffj/1 1.0.1 020923]
         Text [org.netbeans.modules.text/1 1.7.3.1 020923]
         Tomcat 4.0 Server [org.netbeans.modules.web.tomcat.tomcat40/1 1.1.3 020923]
         Tomcat 4.0 Server Autocompilation Support [org.netbeans.modules.web.tomcat.tomcat40.autocompile/1 1.1.2 020923]
         User Utilities [org.netbeans.modules.utilities/1 1.7.3.1 020923]
         VCS Generic Command-Line Support [org.netbeans.modules.vcs.advanced/1 1.5.3.1 020923]
         Web module support for J2EE assembling [org.netbeans.modules.web.assemblee/1 1.0.2 020923]
         XML Backward Compatibility [org.netbeans.modules.xml/2 0.2.8 020923]
         XML Coloring Backward Compatibility [org.netbeans.modules.xml.editor.coloring/2 0.2.8 020923]
         XML Core [org.netbeans.modules.xml.core/1 0.2.8.1 020923]
         XML Entity Catalog [org.netbeans.modules.xml.catalog/1 0.2.8.1 020923]
         XML Productivity Tools [org.netbeans.modules.xml.tools/1 0.2.8.1 020923]
         XML Text Editor [org.netbeans.modules.xml.text/1 0.2.8.1 020923]
         XML Tree Editor [org.netbeans.modules.xml                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    I would suggest downloading the latest version of the IDE (v. 5.0) which is available at:
    http://wwws.sun.com/software/sundev/jde/index.html

  • Setup MySQL datasource for Sun ONE Studio

    Hello all,
    I've tried to post this message on the Sun ONE studio forum, however, there were compilation errors with JSP pages. As I needed the answer urgently, I decided to get some help here.
    I've successfully made connection to MySQL database during the CMP development. However, when I tried to run it, it said the JNDI Datasource can't be blank and provide username & password if necessary. I went back and gave it a name as jdbc/MySQL, and also provided the username & password. I then reran the app, and I got the following error
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.RemoteException: Unable to get JDBC DataSource for CMP ....
    I've mounted the mysql.jar and hacked some other things to no success. Please help.
    Thanks & regards,
    Thinh

    Hi,
    Try validating your data source using
    http://developer.iplanet.com/tech/tools/dbping_overview.jsp
    Get back in case of any issues

  • MySQL & Sun ONE studio problem

    hello all,
    It seemed like I've got the data source & database driver stuff setup to work with MySQL database in Sun ONE studio. However, when I tried to run the helloworld_TestApp (CMP App), I've got the SQL syntax error. I tried to look at the sun-j2ee-ri.xml, and it looked just fine to me.. please help.
    Here is the XML descriptor
    <?xml version="1.0" encoding="UTF-8"?>
    <j2ee-ri-specific-information>
    <server-name></server-name>
    <rolemapping/>
    <web>
    <display-name>helloworld_TestApp</display-name>
    <servlet>
    <servlet-name>dispatch</servlet-name>
    </servlet>
    <servlet>
    <servlet-name>error</servlet-name>
    </servlet>
    <servlet>
    <servlet-name>viewer</servlet-name>
    </servlet>
    <context-root>helloworld_TestApp</context-root>
    <ejb-ref>
    <ejb-ref-name>ejb/TestedEJB</ejb-ref-name>
    <jndi-name>helloworld</jndi-name>
    </ejb-ref>
    </web>
    <enterprise-beans>
    <unique-id>1</unique-id>
    <ejb>
    <ejb-name>helloworld</ejb-name>
    <jndi-name>helloworld</jndi-name>
    <ejb20-cmp>
    <sql-statement>
    <operation>loadRow</operation>
    <sql>SELECT "lastname" FROM "helloworld" WHERE "firstname" = ? </sql>
    </sql-statement>
    <sql-statement>
    <operation>storeRow</operation>
    <sql>UPDATE "helloworld" SET "lastname" = ? WHERE "firstname" = ? </sql>
    </sql-statement>
    <sql-statement>
    <operation>deleteRow</operation>
    <sql>DELETE FROM "helloworld" WHERE "firstname" = ? </sql>
    </sql-statement>
    <sql-statement>
    <operation>deleteTable</operation>
    <sql>DROP TABLE "helloworld"</sql>
    </sql-statement>
    <sql-statement>
    <operation>findByPrimaryKey</operation>
    <sql>SELECT "firstname" FROM "helloworld" WHERE "firstname" = ? </sql>
    </sql-statement>
    <sql-statement>
    <operation>createRow</operation>
    <sql>INSERT INTO "helloworld" ( "firstname" , "lastname" ) VALUES ( ? , ? )</sql>
    </sql-statement>
    <sql-statement>
    <operation>createTable</operation>
    <sql>CREATE TABLE "helloworld" ("firstname" VARCHAR(255) NOT NULL , "lastname" VARCHAR(255), CONSTRAINT "pk_helloworl" PRIMARY KEY ("firstname") )</sql>
    </sql-statement>
    <create-table-deploy>true</create-table-deploy>
    <delete-table-undeploy>false</delete-table-undeploy>
    </ejb20-cmp>
    <principal>
    <name></name>
    </principal>
    <ior-security-config>
    <transport-config>
    <integrity>supported</integrity>
    <confidentiality>supported</confidentiality>
    <establish-trust-in-target>supported</establish-trust-in-target>
    <establish-trust-in-client>supported</establish-trust-in-client>
    </transport-config>
    <as-context>
    <auth-method>username_password</auth-method>
    <realm>default</realm>
    <required>true</required>
    </as-context>
    <sas-context>
    <caller-propagation>supported</caller-propagation>
    </sas-context>
    </ior-security-config>
    </ejb>
    <cmpresource>
    <ds-jndi-name>jdbc/MySQL</ds-jndi-name>
    <default-resource-principal>
    <name>root</name>
    <password>root</password>
    </default-resource-principal>
    </cmpresource>
    </enterprise-beans>
    </j2ee-ri-specific-information>
    And here is the error message:
    The exception java.rmi.ServerException was thrown when invoking findByPrimaryKey with parameters:
    thinh
    Following is the stack trace:
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.RemoteException: nested exception is: java.sql.SQLException: Syntax error or access violation: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '"helloworld" WHERE "firstname" = 'thinh'' at line 1; nested exception is: java.sql.SQLException: Syntax error or access violation: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '"helloworld" WHERE "firstname" = 'thinh'' at line 1 at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.wrapException(Util.java:345) at javax.rmi.CORBA.Util.wrapException(Util.java:277) at ..
    ...more and more..

    Where are you running your application? I assume you
    are running your application on RI. Are you running
    on RI or S1AS?I am running my application on R1, is there a problem with it? can the S1AS solve the problem?
    Thanks & regards,
    Tim

  • Connecting to MySQL from Sun One Studio

    Hi,
    I am trying to connect to the MySQL from the Sun One Studio 5. I followed these steps.
    1. I downloaded the MySQL software and installed on my local computer, it was successful.
    2. I got the drivers [b][b][b]mysql-connector-java-3.0.8-stable-bin.jar and placed it in the <stdudio5>/lib/ext/ directory.
    3. And I successfully got through that one also, and in the database section it showed me the icon for connecting to mysql database. I gave the url, username, and password. It worked fine.
    4. Then I created the connection pool, JDBC resource, and Persistence manager for my server instance. It was also successful.
    5. When I built a cmp bean accessing the table in mySQL database, it is giving me these errors.
    If you notice these error, it is asking for vendor type. But i don't have any option to choose the vendor type when i configured the database resources.
    Can soem body suggest some other method and clear this error. I am struggling with this since a week.
    Thank you.
    [[b]09/Oct/2003:11:12:31] WARNING ( 3476): Cannot get database metadata: database product name.
    java.sql.SQLException: com.sun.enterprise.repository.J2EEResourceException
    java.lang.ClassNotFoundException: org.gjt.mm.mysql.jdbc2.optional.MysqlDataSource
    at com.sun.enterprise.resource.SystemJdbcDataSource.internalGetConnection(SystemJdbcDataSource.java:252)
    at com.sun.enterprise.resource.SystemJdbcDataSource.getConnection(SystemJdbcDataSource.java:154)
    at com.sun.jdo.spi.persistence.support.sqlstore.ejb.TransactionHelperImpl.getConnection(TransactionHelperImpl.java:171)
    at com.sun.jdo.spi.persistence.support.sqlstore.ejb.EJBHelper.getConnection(EJBHelper.java:169)
    at com.sun.jdo.spi.persistence.support.sqlstore.impl.SQLPersistenceManagerFactory.getDBName(SQLPersistenceManagerFactory.java:781)
    at com.sun.jdo.spi.persistence.support.sqlstore.impl.SQLPersistenceManagerFactory.getFromPool(SQLPersistenceManagerFactory.java:709)
    at com.sun.jdo.spi.persistence.support.sqlstore.impl.SQLPersistenceManagerFactory.getPersistenceManager(SQLPersistenceManagerFactory.java:598)
    at com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:770)
    at com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:660)
    at JAdminEntityBeans.JobinfoBean_1956195957_ConcreteImpl.jdoGetPersistenceManager(JobinfoBean_1956195957_ConcreteImpl.java:1479)
    at JAdminEntityBeans.JobinfoBean_1956195957_ConcreteImpl.ejbFindByTitle(JobinfoBean_1956195957_ConcreteImpl.java:541)
    at JAdminEntityBeans.JobinfoBean_1956195957_ConcreteImpl_RemoteHomeImpl.findByTitle(JobinfoBean_1956195957_ConcreteImpl_RemoteHomeImpl.java:175)
    at JAdminEntityBeans._JobinfoHome_Stub.findByTitle(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.forte4j.j2ee.ejbtest.webtest.InvocableMethod$MethodIM.invoke(InvocableMethod.java:231)
    at com.sun.forte4j.j2ee.ejbtest.webtest.EjbInvoker.getInvocationResults(EjbInvoker.java:96)
    at com.sun.forte4j.j2ee.ejbtest.webtest.DispatchHelper.getForward(DispatchHelper.java:189)
    at jasper.dispatch_jsp._jspService(_dispatch_jsp.java:136)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:552)
    at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:368)
    at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:287)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
    at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
    at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
    at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)
    [09/Oct/2003:11:12:31] INFO ( 3476): Bean Jobinfo method ejbFindByTitle: problems running JDOQL query.
    com.sun.jdo.api.persistence.support.JDOFatalInternalException: Failed to get the vendor type for the data store.
    NestedException: java.sql.SQLException: com.sun.enterprise.repository.J2EEResourceException
    java.lang.ClassNotFoundException: org.gjt.mm.mysql.jdbc2.optional.MysqlDataSource
    at com.sun.jdo.spi.persistence.support.sqlstore.impl.SQLPersistenceManagerFactory.getDBName(SQLPersistenceManagerFactory.java:802)
    at com.sun.jdo.spi.persistence.support.sqlstore.impl.SQLPersistenceManagerFactory.getFromPool(SQLPersistenceManagerFactory.java:709)
    at com.sun.jdo.spi.persistence.support.sqlstore.impl.SQLPersistenceManagerFactory.getPersistenceManager(SQLPersistenceManagerFactory.java:598)
    at com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:770)
    at com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:660)
    at JAdminEntityBeans.JobinfoBean_1956195957_ConcreteImpl.jdoGetPersistenceManager(JobinfoBean_1956195957_ConcreteImpl.java:1479)
    at JAdminEntityBeans.JobinfoBean_1956195957_ConcreteImpl.ejbFindByTitle(JobinfoBean_1956195957_ConcreteImpl.java:541)
    at JAdminEntityBeans.JobinfoBean_1956195957_ConcreteImpl_RemoteHomeImpl.findByTitle(JobinfoBean_1956195957_ConcreteImpl_RemoteHomeImpl.java:175)
    at JAdminEntityBeans._JobinfoHome_Stub.findByTitle(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.forte4j.j2ee.ejbtest.webtest.InvocableMethod$MethodIM.invoke(InvocableMethod.java:231)
    at com.sun.forte4j.j2ee.ejbtest.webtest.EjbInvoker.getInvocationResults(EjbInvoker.java:96)
    at com.sun.forte4j.j2ee.ejbtest.webtest.DispatchHelper.getForward(DispatchHelper.java:189)
    at jasper.dispatch_jsp._jspService(_dispatch_jsp.java:136)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:552)
    at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:368)
    at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:287)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
    at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
    at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
    at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)

    The AS7 error suggests that you have not set up the server startup classpath to include the driver jar. The steps to do this are included in the article mentioned in Chris's reply, namely:
    http://developers.sun.com/tools/javatools/tips/tip03-08-22.html
    Note especially the part starting with Step 3 under the section "Enabling the JDBC Driver in the IDE."
    -Jane

  • Sun ONE Studio vs. NetBeans IDE 3.5

    Now that IBM's VisualAge for Java is dead, I have been looking for a replacement IDE. I have been totally frusturated by the lack of basic information on IBM's Websphere -- their own specialists had a hard time answering elementary questions -- and the "upgrade" for VA 4, which cost $100 originally, could be $1000 to $3500 depending on what piece of Websphere you get.
    Well, so I looked at Sun ONE Studio 5.0 -- then noticed that SDK 1.4.2 was out (i had the beta). I'm doing the trial period of ONE Studio, then I get NetBeans 3.5 as part of the SDK download. NetBeans is FREE and Sun ONE Studio 5.0 is $695, and "based on NetBeans."
    "Based on?" Looking at NetBeans 3.5 IDE, I don't see what Studio offers that you don't get in NetBeans. Is there any paper or comparison anybody has written comparing the two packages?
    Both are great pieces of software, but what do I pay $695 for?

    you got integration with more wizards, deployment tools and application server for both J2SE & J2EE development.
    But it's a real shame and even scandal that this tool becomes commercial and so expensive.
    So now, you don't have the choice and you have to pay for the Sun branded tool ! (except the J2ME one)
    I had the weakness to believe that Sun and its Java wanted to have a important place in the open source or at least free software world !(clearly, it's the future ). But this aggressive(695$ !!!) commercial U-turn awakes me from my dream.
    That's it for now, I return on my beloved Eclipse Platform and its plugins, digusted ...

  • Sun ONE Studio 4 aka Forte: How to set the output path for classes ?

    Help !
    Beginner's question:
    Sun ONE Studio 4 aka Forte:
    How to set the output path for classes ?
    As default, the class files are created in the same directory as the
    sources.
    In opposite, both JBuilder and Together support that there is a tree
    with the sources and another tree with the classes.
    The first answer I got was "not possible with Forte, but just if you write your own "ANT Build script" !
    a) Please point me to a ready-to-use ANT script for this purpose, if such is available
    b) Is using ANT instead of the MAKE as comfortable ? Besides the separation of sourcecode and classes, I would like to keep everything else to be the same, i.e. I don�t want to edit the ANT file if I enlarge the project by directories or files.
    Tia
    Sincerely
    Rolf

    You can set S1S's options to place newly created .class files in a specific location.
    Identify the compiler that is being used - Open the S1S's Tools/Options window, expand Editing and select Java Sources. Note the Default Compiler value. (If it's one if the Ant options, you use Ant to specify this option, not S1S.)
    Open the S1S's Tools/Options window, expand Building/Compiler Types and select the appropriate compiler.
    The Properties tab of the compiler has the property Target, which sets the filesystem where the compiler output is directed. If you choose <not set>, the .class files are written to their source directory.
    When you set the Target, your change affects all classes that use this compiler.
    Very few options can't be set in S1S; the challenge is finding out where they're set!

  • Setting output-path in Sun One Studio

    Hi
    I didnt find a forum to fit my question, therefor I posted it here.
    My problem is that I cant set the output-path for my class-files when I�m using Sun ONE Studio 4. I go to Tools-Options-Building-Compiler Types-Internal Compilator and there I find a field named Target. There is no way I can change this since it is only a Compobox with two options: My working directory and -Not Set-
    Does anyone know if it is possible to fix this?
    /Pontus

    Hi, PonLin
    try to mount your output directory, as you did with your working directory.
    I think the Target field of "Tools-Options-Building-Compiler Types-Internal Compilator", only shows the current mounted file systems.
    Bye!!

  • Q: How to setting the Sun ONE Studio JDK and Class(and file) Path.

    1.I'll use two JDK version.
    2.I'll add the Oracle JDBC driver.
    3.In my city, I'm didn't find the Sun ONE Studio book.(Forte for Java 4).
    need help.
    Thank you.

    Dear javaunter20000,
    I'm used the Windows XP Professional(SP1),
    I'm use the
    Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    String url="jdbc:oracle:thin:@127.0.0.1:1521:netcob";
    String user="***"; String password="***";
    Connection conn= DriverManager.getConnection(url,user,password);
    connect Orcale, compiler return:
    ***[34:1] unreported exception java.lang.ClassNotFoundException; must be caught or declared to be thrown
    Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    ^
    ***[34:1] unreported exception java.lang.InstantiationException; must be caught or declared to be thrown
    Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    ^

  • Sun ONE Studio 4 update 1

    Hi,
    i am new with J2Me. I have some experience with "normale" Java, JSP and Servlet technology.
    Now i want to build an application for Handys.
    I downloaded the Toolkit and build some of the demo Apps. Now my question: Wich IDE is good for J2ME?
    I am an eclipse user. But as it seems there is no Plugin for J2ME Development. Now i have found this:
    http://java.sun.com/j2me/docs/j2meconwizard/install.html
    So sun advises to use theri own IDE. Ok but the link on that page is down. And i can only find "Sun ONE Studio 11" searching sun.com :-(
    Wich IDE would you advise?
    thx
    magnet
    PS: Sorry for my english.

    NetBeans plus Mobility Pack
    <http://www.netbeans.org/products/mobility/>
    It's free Sun's IDE.

  • Adding CMP-fields to a EJB in sun ONE studio 5

    I have a CMP EJB, and initialized its fields against a table in a database (PointBase). When I later try adding additional fields, these fields naturally doesnt exist in the database.
    Then i make a test-module for the CMP EJB. When I try mapping the CMP-fields, I get in trouble with the field that doesnt exist in the database-table.
    How can I get around this problem, must I really manually update the database schema, or can I somehow "tell" SUN ONE studio to make the field for me.

    yes, but is there a way of letting J2EE handle all
    this "Under the hood", so i dont even have to worry
    about the internal datastructure in the database?You could drop the table from the database and then have Studio or deploytool create the tables (now with the additional fields) on deployment.
    -Ian Evans
    Sun Microsystems
    J2EE Tutorial team

  • Read-Only error in Sun One Studio IDE 4

    I have been using Sun One Studio IDE 4 for months, and updated it for several time. Today I mounted a directory and wanted to create a new plain java class under this directory, but it always reported: Error: File in D:\..... is read-only. It never happened before. I am confused. Then I tried to mount other direcotries and create new java files, always got the same error. Could anyone please kindly tell me what�s wrong with the Sun One Studio? Thank you very much.
    Ellen

    Nobody familiar with Sun One Studio here? I don�t want to change IDE and could anyone please kindly help?

  • Using JMF API with Sun One Studio v4 update 1 (community ed.)

    Having great difficulty trying to utilise the JMF API I've just downloaded with Sun One Studio v4, update 1 (community edition).
    After installing the API, I tried copying the the .jar files under the lib folder of JMF to the lib folder of sun one studio.
    Although admittedly a novice in the field of adding API's I have attempted to add the .jar files into the libary of recognised modules but made no progress.
    The problem is that although JMF API is installed, Sun One Studio does not seem to be aware of this and so does not recognise any associated libraries e.g. java.media or JMFApplet.
    I would appreciate advice from anyone who knows how to configure Sun One Studio to utilise the JMF API.
    Mark

    All right, I think I may have solved it. After mounting jmf.jar I needed to update the parser database. All the libraries seem to be there.
    Can someone clarify though, the trial program i'm using makes reference to: java.media
    I don't have this module. I do instead have javax.media which I believe includes all the methods of the java version. Am I right or am I missing this crucial module??

Maybe you are looking for

  • How do I change the Transparency Settings in ACR 8.7.1?

    I work on three different computers, one at home and two at work. In Camera Raw on my home computer the transparency section of an image where I have done a major perspective correction will have the checkerboard rendering of the transparency section

  • How can I change the order of iCal calendars listed ON MY MAC?

    After upgrading to Lion the order of calendars listed on the left in iCal changed from my previous choice. I cannot modify the order by dragging a calendar to a different position in the list. I shall appreciate any suggestion to be able to have the

  • Validation and Subtitution for accounting document (FB01) by EXIT method

    hi experts,   i want to modify the bseg-vbund field while posting in FB01. for this i  need to insert my logic to find out the vbund value and i need to subtitute  the new value for  posting the document. for this requirement i wriiten my logic in ex

  • Terminal/Unix Command to Mount External USB Drive?

    I am having a probelm with the directory on an external HDD. The "device" is showing up in the utility software (DRIVE GENIUS/DISK UTILITY) but not the "volume," so it can't affect any repairs except INTIALIZE. So, I'm presuming the drive is physical

  • I keep getting a virus alert

    My home page keeps changing back to a strange search engine http://search-quick.com/?si=85680&channel=DP2701 and then a virus alert pops up with a phone number to call.  It won't let me use the internet.  Help!