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?

Similar Messages

  • Sun ONE Studio 8 problem

    Hi All
    we have been facing problem in Sun ONE Studio 8 installed on solaris 10.problem is as follows
    path: /opt5/SUNWspro/bin/analyzer
    I am trying to use analyzer in the following way.
    1. "/opt5/SUNWspro/bin/collect /dvobs/fp/rhythm/rhythm_server -dir . -custom_dir . -port 3434 -timer -progress -debug noabort"
    2. This command should create a file "test.1.er" in the current directory. but instead of that it creates a directory with the same name.
    3. Next when i try to analyze using command "/opt5/SUNWspro/bin/analyzer test.1.er" it gives error "This product cannot find a valid serial number."
    thanks in advance
    kanki

    Sun ONE Studio 8 is very old, and not recommended.
    The command should create a directory, not a file. The format was changed from
    a file and a hidden directory, to be a visible directory.
    To use the analyzer, you need a "Sun ONE Studio 4u1 EE" license.
    But really, you should be using a much later version, preferably Studio 11,
    the last FCS version.
    Marty Itzkowitz

  • SUN One & J2EE Installation Problems

    Every time I run the setup program for Sun One and J2EE I get the following error message before setup even get's going (ie when setup.exe hides the command prompt it returns with the following error message:)
    "Error writing native components to disk. Aborting wizard"
    I'm running WinXP Pro ..
    I've asked around for a solution to this problem. At the moment my last resort solution is to do a format of my machine and try again =) because all my mates have had no bother so far.
    If anyone could give me a hint as to what's wrong I'd be utterly grateful.
    Regards,
    Shaun

    As wierd as it sounds, one of the things that will trigger this behaviour is if you have a file called Documents on the drive where your %USERPROFILE% directory is. For instance, if %USERPROFILE% is c:\documents and settings\username, the existance of c:\Documents will break native toolkit bootstrap process.
    Workaround is to temporarily rename the file and run the installation...

  • 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

  • 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)

  • Problem Installing Sun One Studio ce on Linux RedHat 8.0

    I have a problem installinh Sun One Studio CE on a machin with Linux RedHat 8.0.
    The installation starts but at about 80% of its ther is an error and install stops.
    Does anybody help me?
    I don't know what error stop the install

    I'm having the same problem.
    The Sun One Studio CE starts up fine then towards the end it says:
    "installing... this my take a few minutes"
    But it doesn't, in fact it freezes there and doesn't do anything else.
    (I left it running over night and it was still there with the same message)
    Need help.

  • 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

  • Problem installing Sun ONE Studio 4 update 1, Community Edition

    I recently downloaded the Sun ONE Studio 4 update 1, Community Edition and tried to install it. At one point it searches for a valid JAVA 2 SDK. This seems to go on forever. I quit after 5 hours of waiting. I already have Java 2 standard edition v1.4.1 installed. Can someone please help?

    Well thanks Chuck!
    With a bit of messing around and a LOT of patience I finally installed Sun ONE Studio update 1 on my laptop pc, running Windows ME.
    The trick was (I think) to apply both of the above fixes, but also a couple of things that was not quite as evident.
    1 - Do NOT install the SDK in "C:\Program Files\" or any directory path that contains spaces in the name! Apparently that causes problems, and is noted in one of the Knowledge Base articles.
    2- When making the file noted in the Knowledge Base:
    ( http://forte.sun.com/cgi-bin/WebX?[email protected]@.ee815f4 )
    - It says: Contents of this new file should be:.
    jh=<jdk Home Path> (for example, jh=c:\j2sdk1.4.0_01)
    Well it does NOT mention that there should be 2 lines in that file!
    Make sure you include a carriage return and a second "blank" line!
    OK, that's it. GO ahead & loose yourself in the IDE.
    I hope this does not cause undue traffic in the forums but what the heck...
    -- HSC --

  • 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

  • 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

  • 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??

  • 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.

  • 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

  • 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

  • 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

Maybe you are looking for

  • Target Mode with multiple partitions??? Also file sharing

    I am trying to connect my MacBook Pro to my older G4 using a firewire cable. My G4 has 2 hard drives, and one is divided in to 2 partitions. When I restart my G4 in target mode only the drive that is my start-up disk shows up. Is there any way around

  • No data delivered via RFC

    Hello, I´d like to know if there are is anything particular I have to keep in mind when creating a function module which is to be called by a Web Dynpro? I´ve experienced the problem of having no result in my Web Dynpro table, although everything sho

  • "complete check box" in version management

    Dear Gurus, User has entered values for version change, and he forgot to click the "complete" check box and saves the document. So release is not get effected. I want this "complete" check box to be mandatory, in the case of purchase order. please gu

  • How to read a RMS file

    Is it possible to read a RMS file from my pc written by a Midlet application? I need to find a way to read the rms file and convert it to any format supported by SQL or MS Access. Thnx!

  • How to create a link between database schema?

    Hi, I have created database link between two database schema (From DBSchema2 i have created database link for DBSchema1). From DBSchema2, i have quried one table (This table is present in DBSchema1). But it throws an error says that Table or View doe