Installation sun one studio ver. 5 fail in mandrake
I download sun one studio ver.5 in my mandrake linux ver. 9.0 and I have jsdk1.4.1_03. When I tried install it I received this message:
To install sun one studio 5 you need to log in a superuser or a user with administrator privileges.
I login in a term with root user and also start X session with root user but received this error also.
any sugestion??
I finally solved the problem by modifying the java source code of the installer. It did unnecessary checks for supported distributions and their versions. After removing these checks, SUN ONE Studio 5 installed and ran properly.
Here is how to do it in short:
1. Unzip the downloaded binary installation file into some folder. I will refer to this folder as "setuproot".
2. Starting from the "setuprot" folder, find the file com/ibm/wizard/platform/linux/LinuxRedHatCommands.class.
3. Decompile this file using the "Jad" Java decompiler. You can find it at http://kpdus.tripod.com/jad.html .
4. Rename the resulting LinuxRedHatCommands.jad file to LinuxRedHatCommands.java.
5. Modify LinuxRedHatCommands.java in the following way: Find the method "isValidDistribution()" and replace its whole body with the following line: "return true;" Save the modified file.
5. Compile the modified java file by executing the following command from the "setuproot" folder: "javac com/ibm//wizard/platform/linux/LinuxRedHatCommands.java"
6. Now start the installation with the "java run" command from the "setuproot" folder.
Now it should not complain about insufficient administrative privileges.
(A properly installed java1.4.1_02 or above SDK is a requirement for both the Studio5 and for the above instructions to work.)
I still was not able to install the bundled Application Server7, because it's check box was disabled with a comment about my incompatible platform. I guess this will be the next step to resolve...
Cheers,
George
Similar Messages
-
Installing Sun One Studio on Linux Mandrake 9.1
I try to install the Sun One Studio 5 on my mandrake 9.1 Linux.
I am using the jdk 1.4.2 and I am logged as root.
When running the command:
./s1s5se-linux-en.bin -isjavahome /home/products/j2sdk1.4.2
I get the error message:
The installation cannot continue for the following reason(s):
To install Sun ONE Studio 5 you need to log in as superuser or a user with administrator privileges.Yep I agree this is very disapointing, however I have got Sun One Studio 5 Standard Edition working on Mandrake 9.1
Fortunatley I am lucky enough to have a spare hard drive and RedHat7.2, another pc networked up and the following is what I did....
Installed Redhat7.2, j2sdk1.4.2, then ran the SunOneStudio install as root, tested and works fine.
The Studio gets installed into /opt there are 2 dirs which are needed from what I can tell 1 is the ide "studio5_se" itself and the other called "imq"
cd into the root dir and create a tar file of the opt dir
tar -cf opt.tar opt
gzip opt.tar
I then copied the opt.tar.gz to a place I could download to the other machine, so I downloaded it, then shutdown RedHat,
re-installed my original Mandrake9.1 Hard Drive, and booted up.
logged in as root, and then transferred my opt.tar.gz to Mandrake,
untared it into the opt dir and then moved the imq and studio5_se dirs into /opt
installed j2sdk1.4.2 rpm on Mandrake9.1
then command line I
1, cd /opt/studio5_se/bin
2, ./runide.sh -jdkhome /usr/java/j2sdk1.4.2
and HEY PRESTO
The only reason why I can see that the IDE will not install under mandrake is possible the coding under the Installsheild, maybe it looks for a file or someting that RedHat has and not mandrake, or just tests the OS to see if it is in the supported list, and if not then throws the error
If that is the case then it's proberly likely that it was setup like this because RedHat gives money to sun and not Mandrake????!!!?????
maybe I don't know3 just my observation, but 1 thing I do know is that due to this error I shall not be buying it, until sun change the way to install it or they go back to the old way the Forte installed
Just my thoughts,
and I hope this helps someone -
Installation of Sun ONE Studio 5 SE 60 days trial
It's supposed that a standard installation includes Sun ONE Studio and Sun ONE Application Server 7 with PointBase.
I installed twice, in both installations the IDE works fine. But despite the installation completes without any error message neither Sun ONE Application Server 7 nor PointBase are installed.
My OS is Windows XP.
Could someone help me to find why this happens?
Thanks!!!I read now the log generated during the installation. It shows a lot of error lines. But I'm not able to know the cause of the problem. The IDE is installed OK, but there is not any evidence of PointBase and Sun One Server installation.
It follows the log file content:
(Aug 20, 2004 3:51:51 PM), Setup.product.install, com.installshield.product.actions.Files, err, java.util.zip.ZipException: incorrect data check
STACK_TRACE: 16
java.util.zip.ZipException: incorrect data check
at com.installshield.archive.index.ISInflaterInputStream.read(CompressedURLConnection.java:147)
at java.io.FilterInputStream.read(FilterInputStream.java:90)
at com.installshield.product.actions.Files.copy(Files.java:700)
at com.installshield.product.actions.Files.copyFileWithFileService(Files.java:737)
at com.installshield.product.actions.Files.install(Files.java:378)
at com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction(PureJavaProductServiceImpl.java:1868)
at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getResultForProductAction(PureJavaProductServiceImpl.java:4649)
at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(InstallableObjectVisitor.java:365)
at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(InstallableObjectVisitor.java:325)
at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(InstallableObjectVisitor.java:135)
at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(PureJavaProductServiceImpl.java:4276)
at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(PureJavaProductServiceImpl.java:3652)
at com.installshield.wizard.service.AsynchronousOperation.run(AsynchronousOperation.java:40)
at java.lang.Thread.run(Thread.java:534)
(Aug 20, 2004 3:51:56 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, err, java.lang.NullPointerException
STACK_TRACE: 14
java.lang.NullPointerException
at com.sun.installer.RunCommand.flush(RunCommand.java:170)
at com.sun.installer.InstallApplicationServerAction.runCommand(InstallApplicationServerAction.java:260)
at com.sun.installer.InstallApplicationServerAction.install(InstallApplicationServerAction.java:146)
at com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction(PureJavaProductServiceImpl.java:1868)
at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getResultForProductAction(PureJavaProductServiceImpl.java:4649)
at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(InstallableObjectVisitor.java:365)
at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(InstallableObjectVisitor.java:325)
at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(InstallableObjectVisitor.java:135)
at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(PureJavaProductServiceImpl.java:4276)
at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(PureJavaProductServiceImpl.java:3652)
at com.installshield.wizard.service.AsynchronousOperation.run(AsynchronousOperation.java:40)
at java.lang.Thread.run(Thread.java:534) -
Sun ONE Studio 5 Installation problem
Hi,
I have problems to install Sun ONE Studio 5.
I download it from the download center (my username is nicola80) and I can't
install it in my Linux Mandrake 8.2 version. The problem is that when the
InstallShield start, I have the error message: "To install Sun ONE Studio 5
you need to log in as superuser or a user with administrator privileges".
Thank you!
Nicola.I am getting the same problem. and I have tried loggin in as root. I am guessing it's checking access to some file....anyone know which one?
-
Fail to run my first Servlet with Sun ONE Studio 4 Update 1 (+ bi Tomcat)
Hello !
I failed to run my first Servlet with Sun ONE Studio 4 update 1 ( with built in Tomcat)
I think that I followed most of the online instructions,
so I successfully run a JSP file,
but I failed with my first servlet:
The error message is:
"Standard Wrapper[:MyServlet]: Marking servlet MyServlet as unavailable
javax.servlet.ServletException: Wrapper cannot find servlet class com.hemmerling.myservlet.MyServlet
or a class it depends on
So please don�t ask me for the code of the servlett ( simply taken from a book),
but tell me why the one-and-only servlett was not found. what might I have done wrong, if I did everything I did to run the JSP file, too ?
Of couse I copied the file into the "Classes" directory of the Webmodule ( WEB-INF ) and "processed" it, so that I was able to execute it.
Any suggestions ?
Tia
Sincerely
RolfTough to say, but try:
1. Put the servlet in a package. If you're using the default package (class file in WEB-INF/classes directory, then Tomcat may not find it.
2. Check out web.xml to ensure the <servlet> and <servlet-mapping> entries are correct.
3. Make the servlet as simple as possible so you're sure that it is the servlet itself that cannot be found and not some other class that it uses.
Good Luck -
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.xmlI 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 -
Bug Database for Sun ONE Studio 8
Is there an online bug database for the Sun ONE Studio 8 Compiler Collection, like there is for all of the Java related tools? I know we have product support, but I don't want to go through the overhead of 4 or 5 layers of people to report a minor problem I have found.
The minor problem is that the er_src utility will open files in the current working directory in preference to an absolute pathname specified on the command line. I used it from my home directory, giving it an executable name and source file name each about 5 levels deep in directories below my home -- with absolute paths. I was shocked to see the source from a six year old version of the file in the output. The 'truss' utility revealed that the source was being opened from my current directory -- ignoring the absolute path. This version of the file is one I have kept for reference, being the initial port of the program from a different language.
It appears that er_src attempts the unqualified file name first, then the absolute path if it fails to find the unqualified name.The er_src man page does say the .er.rc files are processed, which implies that the setpath/addpath handling is done, at least to me. So the behavior reported is what I would have expected, but the manpage could, and should be more explicit.
The er_print man page is more specific, and does say that the compiled-in path is used only if the file is not found searching the current path mappings, which do contain "."
Can you tell me exactly what you'd like us to do? We did it this way because users complained about using the compiled in path, rather than finding the file in . or the experiments, where we explicitly tell people to copy files for archival purposes.
If you want us to change the behavior, please tell us EXACTLY what the desired behavior is. We could define a special symbol, like $EXPTS, to refer to the compiled-in path, $COMPPATH, perhaps, and then it could be put before or after . or $EXPTS.
Another issue is which name to use when. er_src has two referents for a path, one for "object", the thing whose source is being dumped, and a second for "item", specifying which item contained in the object should be dumped. For item, I believe we always only use the
base name, even if an absolute name is given. It is used to match against the names contained in object's symbol tables. All of this is complicated by NFS -- the present functionality is intended to behave gracefully when a file is examined on a machine other than the one on which
it was compiled. -
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 -
I am beginner to sun one studio and sun one application server
How can i access a cmp from a jsp page.
in sun one application server.
thanx in advancewhere do you get the weblogic plugin from ?
i am intrested in doing the same thing
thanx
prem
"Ivan" <[email protected]> wrote in message
news:[email protected]..
>
Dear all,
My boss require me to use Sun One Studio 4 update 1 to do the development,but
I find it's a nightmare to deploy the EJB/ application to the WebLogic6.1.
>
I've already installed the weblogic plug-in in the Sun One Studio.
During deploying I could not find any setting that ask me for theweblogic-ejb-jar.xml.
So I think the deployment will fail.
Is there any others tutorial or e-book that can help me to familiar withthe deployment
process?
Many Thanks for all of you.
Ivan -
Superuser without privileges installing Sun One Studio in Debian Linux
i am trying to install Sun One Studio in my Debian Linux and when i launch the setup application it tells me that i must log in as superuser to install. Well, the thing is that i launch the installer as root, but the program doesn't seem to think the same :)
Surprisingly, the log file doesn'l show any related error; it only shows a warning about some widgets... so this seems to be a simple bug in the installer.
Here's the log:
file type: 5
file id: 0
length: 1009
offset: 624320
file name: Verify.jar
file type: 0
file id: 1
length: 145
offset: 625329
file name: instructions.txt
file type: 2
file id: 2
length: 728
offset: 625474
file name: launch.txt
file type: 1
file id: 3
length: 347
offset: 626202
file name: path.jvm
file type: 1
file id: 4
length: 542
offset: 626549
file name: sunjdk14.jvm
file type: 1
file id: 5
length: 584
offset: 627091
file name: sunjre14.jvm
file type: 1
file id: 6
length: 485
offset: 627675
file name: sunjdk131.jvm
file type: 1
file id: 7
length: 461
offset: 628160
file name: sunjre131.jvm
file type: 1
file id: 8
length: 423
offset: 628621
file name: blackdownjdk131.jvm
file type: 1
file id: 9
length: 418
offset: 629044
file name: blackdownjre131.jvm
file type: 1
file id: 10
length: 548
offset: 629462
file name: sunjdk13.jvm
file type: 1
file id: 11
length: 432
offset: 630010
file name: blackdownjdk13.jvm
file type: 1
file id: 12
length: 433
offset: 630442
file name: blackdownjre13.jvm
file type: 1
file id: 13
length: 461
offset: 630875
file name: ibmjdk13.jvm
file type: 1
file id: 14
length: 468
offset: 631336
file name: ibmjre13.jvm
file type: 1
file id: 15
length: 449
offset: 631804
file name: sunjre13.jvm
file type: 6
file id: 16
length: 210451841
offset: 632253
file name: s1s5u1se-linux-en.jar
Finding a JVM
Initiating JVM search based on hints...
Searching for Sun Microsystems Java Development Kit (JDK) 1.4.X for Linux in PATH variable using platform hints
Searching for Sun Microsystems Java Development Kit (JDK) 1.4.X for Linux in PATH variable using path hints
Searching for Sun Microsystems Java Development Kit (JDK) 1.4.X for Linux in PATH variable using platform specific JVM Path hints
Checking JVM at /mnt/local/j2sdk1.4.2_04/ which was resolved from the platform JVM path /mnt/local/j2sdk1.4.2_04/bin
Verifying JVM at /mnt/local/j2sdk1.4.2_04/bin/java
for JVM: Sun Microsystems Java Development Kit (JDK) 1.4.X for Linux in PATH variable
Executing launch script command: "/mnt/local/j2sdk1.4.2_04/bin/java" -cp "/tmp/isjbAAjZc/Verify.jar" "Verify" java.vendor java.version in working directory /mnt/local/lalala/.
Output from the launch script execution
StdOut:
1739021872
Sun Microsystems Inc.
1.4.2_04
ErrOut:
Found matching JVM at /mnt/local/j2sdk1.4.2_04/
Matching JVM home is /mnt/local/j2sdk1.4.2_04/
Matching JVM file is /tmp/isjwSPfK2
Executing launch script command: "/mnt/local/j2sdk1.4.2_04//bin/java" -cp "/tmp/isjxGApzS/s1s5u1se-linux-en.jar" -Dtemp.dir="/tmp" -Dis.jvm.home="/mnt/local/j2sdk1.4.2_04/" -Dis.jvm.temp="0" -Dis.media.home="/tmp/isjxGApzS/s1s5u1se-linux-en.jar" -Dis.launcher.file="/mnt/local/lalala/./s1s5u1se-linux-en.bin" -Dis.jvm.file="/tmp/isjwSPfK2" -Dis.external.home="/mnt/local/lalala/." run in working directory /mnt/local/lalala/.
Output from the launch script execution
StdOut:
ErrOut:
Warning:
Name: scrollbar
Class: XmScrollBar
The scrollbar page increment is less than 1.
Warning:
Name: scrollbar
Class: XmScrollBar
The scrollbar page increment is less than 1.
Any idea? thanks for reading!The error you report is not causing the problem.
Try : http://swforum.sun.com/jive/thread.jspa?forumID=128&threadID=29443
-Alexis -
Build a EJB/ Application with Sun One Studio and deploy to Weblogic
Dear all,
My boss require me to use Sun One Studio 4 update 1 to do the development, but
I find it's a nightmare to deploy the EJB/ application to the WebLogic 6.1.
I've already installed the weblogic plug-in in the Sun One Studio.
During deploying I could not find any setting that ask me for the weblogic-ejb-jar.xml.
So I think the deployment will fail.
Is there any others tutorial or e-book that can help me to familiar with the deployment
process?
Many Thanks for all of you.
Ivanwhere do you get the weblogic plugin from ?
i am intrested in doing the same thing
thanx
prem
"Ivan" <[email protected]> wrote in message
news:[email protected]..
>
Dear all,
My boss require me to use Sun One Studio 4 update 1 to do the development,but
I find it's a nightmare to deploy the EJB/ application to the WebLogic6.1.
>
I've already installed the weblogic plug-in in the Sun One Studio.
During deploying I could not find any setting that ask me for theweblogic-ejb-jar.xml.
So I think the deployment will fail.
Is there any others tutorial or e-book that can help me to familiar withthe deployment
process?
Many Thanks for all of you.
Ivan -
Sun ONE Studio 4 Update 1 does not allow to deploy a module
I have created CMP entity beans based on a database schema captured using the jdbcodbc driver.Each one with its primary key and correctly validate.
Then I have created a module and added to the module all CMP beans. Then when I attempt to deploy the module I got the following error: Conents are not valid for Sun ONE Application Server and in the log: Validation failed for EntityBeans.XConnectTableBean. Verify that all fields are mapped.
The I went to the SUN ONE AS entity properties within the module. I changed the defualt value of Mapped Schema to the correct schema, but when I tryed to change the Mapped Primary Table to the correct table the OK button was grayed out with the following status message: Table CTPTable does not have a primary key. This is of course not true.
Did I something wrong or this is a bug on Sun ONE Studio 4 Update 1?
Is there any work around?
Thanks in AdvanceYes,
It was a known bug and fixed with the newer realeses. Try to use the capture schema utility of the appserver (Install directory>/bin/capture-schema). -
Create a portlet by using Sun One Studio 5
Hi,
I am having Sun One Studio 5 and Portlet Builder 2.0, however I do not know how to create a portlet and deploy it into war. Please help me create a portlet using Sun One Studio 5.
Thanks in advance.
[email protected]Liferay has a forum and you should use it - http://forums.liferay.com/ :-)
btw, I have used the liferay portal 3.2.0 with jboss/tomcat with inbuilt and custom portlets and never had such an issue. Note that you application user is not the login user to the portal. by default you have to use [email protected]/test and id/pwd.
Check the installation, dev instructions at
http://www.liferay.com/web/guest/documentation/installation/jboss_tomcat
http://www.liferay.com/web/guest/documentation/development -
Can not add the Palm Emulator to Sun ONE Studio 5 ME
I am trying to add the Palm Emulator (version 3.5) to the list of emulation devices within the Sun ONE Studio 5 ME.
First, it seems like Studio 5 requires that the emulator resides in a bin subdirectory. Second and here where the problem is. Once the emulator is identified by Studio 5 (as a "Standard UEI Emulator" and after I click on "Next", Studio 5 tries to get information about the configuration of the emulator and its profiles.
I, immediately get an error (generated by the Palm OS Emulator) stating: "Don't understand the command line parameter "-version"." within a message box. Once I click OK, the Studio 5 says that the operation failed.
This is as far as I could go.
I would like to mention that I am running Windows XP Professional with Service Pack 1. I am also working with a ROM image that I downloaded from my PalmVx PDA.Hello Hassan,
I've done the following: I've used Palm emulator that's included with WTK 1.0.4_01 provided with Sun ONE Studio 5, ME. If you try to execute application using this 'device' you'll be asked to point to directory with Palm Emulator 3.5 (the one you have), emulator.exe. Then it takes over and asks for skins, ROMs and other stuff.
Hope this helps,
Peter -
Creating JAR of an ejb from sun one studio 5.0
I�ve got the following error when I�m trying to generate the jar of and ejb from sun one studio 5.0. What�s the problem?
org/w3c/dom/Document.java [0:0] No file named org/w3c/dom/Document.java exists on disk in src.zip.
Therefore it may not be compiled with an external compiler.
You may need to check it out from version control or save some changes to it.
com/ssos/ejb/information/EJBModule_InformationEJB.ejbmodule [0:0] Problem compiling class: "org/w3c/dom/Document" reason: Compile failed
Called From: com/iplanet/services/util/XMLParser
Called From: com/iplanet/services/ldap/DSConfigMgr
Called From: com/iplanet/services/util/I18n
Called From: com/iplanet/sso/SSOTokenManager
Called From: com/iplanet/am/sdk/AMCommonUtils
Called From: com/iplanet/am/sdk/AMException
Called From: com/iplanet/dpro/session/service/SessionService
Called From: com/iplanet/services/naming/WebtopNaming
Called From: com/iplanet/dpro/session/SessionID
Called From: com/iplanet/dpro/session/Session
Called From: com/iplanet/am/util/Locale
Called From: com/iplanet/sso/SSOException
Called From: com/iplanet/sso/SSOToken
Called From: com/ssos/ejb/information/LocalInformationEJB
Errors compiling EJBModule_InformationEJB.Hep, we have the same problem. I am still trying to figure out why. I have some idea about the reason but I am testing my founding. It seems to me that the problem shows up when I add my database driver in Runtime/Databases/drivers tree (IBM DB2 driver: db2jcc.jar)
Like I am saying I am still checking the connection. When I am convinced that indeed that is the problem, I will then try to find out why and what to do to make my life easier.
clogon
Maybe you are looking for
-
Call FM in a workflow step.
Hi all, I would like call the FM bbp_pdh_wfl_start_now in a step. How I can do it? What paramaters are filled in this function? Which values? Many thanks. Regards, David.
-
hi Collection is interface we know about that, in wrox publication book they has give colletion is object, and it groups all other objects. how is it? pls give reply. thank u venkatp
-
Problem with Mac OS X install archive.
I'm having a problem unpacking the file macosx_920_dev_rel.tar.gz. I get the error message: gunzip: macosx_920_dev_rel.tar.gz: invalid compressed data--format violated The MD5 finger print for the downloaded file is: MD5 (macosx_920_dev_rel.tar.gz) =
-
Storeproc error help...any help appreciated...
Error Executing Database Query. [Macromedia][Oracle JDBC Driver]Internal error: Net8 protocol error. The error occurred in C:\Inetpub\wwwroot\Denemeler\Kara_tahta\RMS\NewHire.cfm: line 16 14 : 15 : <cfprocresult 16 : name="NewHire" result
-
Hello Folks, I usually use xfce or kde...I want to be objective so I decided to give Gnome a spin. Gnome 2.6* and the new 2.8* (from testing) both throw up errors that they cannot initialize xkb on startup. None of the other WM's that I've installed,