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

Similar Messages

  • How to migrate projects from sun one studio 5

    hi,
    can anybody tell me how to migrate existing projects from sun one studio 5 to sun java studio 8 projects?
    regards
    guenther

    Hi,
    It has been a while since I have had access to sun one studio 5. If I remember correctly, it was based on Netbeans 3.5.1. It turns out the Sun Java Studio Enterprise 7 release was based on Netbeans 3.6. Both of these Netbeans versions used mounted filesystems rather than the new project system. There is a migration guide from JSE 7 to JSE 8 available:
    http://developers.sun.com/prodtech/javatools/jsenterprise/reference/techart/jse8/intro_migration_jse8.html
    I think this migration guide will apply to your situation as well.
    Let me know if this helps.
    Thanks,
    George

  • 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

  • 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

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

    where 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

  • Migration of j2ee app from Sun one App Server 6.0  to Sun one 6.5 Server

    Hi all,
    Currently I am involved in "J2EE" ear (webapps) migration from Sun One 6.0 to Sun One 6.5 Application Server on solaris os.Since the version and functionlity itself is major change in Sun One Server, my team had decided to build the source file and decided to port to Sun one 6.5 App Server.On doing build and compiling all source files, EJB compiler is failing on Sun one server 6.5.
    Our findings on migration was as follows:
    Sun one server 6.0 and its EJB compiler internally uses "kfcjdk11.jar" which is the base library to generate ejbs for "Enterprise Archive or ear file " of the application.Hence our application is suceessfully getting compiled and built on Sun one server 6.0 and running pretty fine.
    However, "kfcjdk11.jar" still present in Sun One 6.5 server but its not been referred by SUN One 6.5 EJB compiler.So any successfully ear file deployed on 6.0 App Server, can be deployed on Sun One server 6.5. But to test applications/product's cycle, ear file deployed on SUN one 6.5 throws runtime errors and white screen is displayed to the user.
    I had already included kfcjdk11.jar file into classpath, still its failing to compile the files.
    The one of the error description is as follows:
    [exec] iPlanet Enterprise Java Beans(tm) Compiler (version 6.5)
    [exec]
    [exec] Unexpected compilation Error:
    [exec]
    [exec] ejb_fac_com_server_framework_ejb_ChannelManagerBean.java:9: Superclass com.kivasoft.eb.EBHomeFactoryBase of class com.server.framework.ejb.ejb_fac_com_server_framework_ejb_ChannelManagerBean not found.
    [exec] extends com.kivasoft.eb.EBHomeFactoryBase
    [exec] ^
    [exec] ejb_home_com_server_framework_ejb_ChannelManagerBean.java:8: Superclass com.kivasoft.eb.EBHomeBase of class com.server.framework.ejb.ejb_home_com_server_framework_ejb_ChannelManagerBean not found.
    [exec] public class ejb_home_com_server_framework_ejb_ChannelManagerBean extends com.kivasoft.eb.EBHomeBase implements com.server.framework.ejb.IChannelManagerHome
    [exec] ^
    [exec] ejb_kcp_skel_IChannelManagerHome.java:9: Superclass com.kivasoft.ebfp.EBKCPSkelBase of class com.server.framework.ejb.ejb_kcp_skel_IChannelManagerHome not found.
    [exec] extends com.kivasoft.ebfp.EBKCPSkelBase
    [exec] ^
    [exec] ejb_stub_IChannelManagerHome.java:9: Superclass com.kivasoft.eb.EBStubBase of class com.server.framework.ejb.ejb_stub_IChannelManagerHome not found.
    [exec] extends com.kivasoft.eb.EBStubBase
    [exec] ^
    [exec] ejb_kcp_stub_IChannelManagerHome.java:9: Superclass com.kivasoft.ebfp.EBKCPStubBase of class com.server.framework.ejb.ejb_kcp_stub_IChannelManagerHome not found.
    [exec] extends com.kivasoft.ebfp.EBKCPStubBase
    [exec] ^
    [exec] ejb_stub_IChannelManager.java:9: Superclass com.kivasoft.eb.EBStubBase of class com.server.framework.ejb.ejb_stub_IChannelManager not found.
    [exec] extends com.kivasoft.eb.EBStubBase
    [exec] ^
    [exec] ejb_kcp_stub_IChannelManager.java:9: Superclass com.kivasoft.ebfp.EBKCPStubBase of class com.server.framework.ejb.ejb_kcp_stub_IChannelManager not found.
    [exec] extends com.kivasoft.ebfp.EBKCPStubBase
    [exec] ^
    [exec] ejb_skel_com_server_framework_ejb_ChannelManagerBean.java:7: Package com.iplanet.ias.tools.monitor not found in import.
    [exec] import com.iplanet.ias.tools.monitor.*;
    [exec] ^
    [exec] ejb_skel_com_server_framework_ejb_ChannelManagerBean.java:11: Superclass com.kivasoft.eb.EBSkelDelegate of class com.server.framework.ejb.ejb_skel_com_server_framework_ejb_ChannelManagerBean not found.
    [exec] extends com.kivasoft.eb.EBSkelDelegate
    [exec] ^
    [exec] ejb_kcp_skel_IChannelManager.java:9: Superclass com.kivasoft.ebfp.EBKCPSkelBase of class com.server.framework.ejb.ejb_kcp_skel_IChannelManager not found.
    [exec] extends com.kivasoft.ebfp.EBKCPSkelBase
    [exec] ^
    [exec] 10 errors
    [exec]
    [exec] Result: 255
    Please guide us or suggest us to migrate our application to Sun one 6.5.
    Thanks in advance,

    Hi,
    web applciation uses some of platform specific API which are not portable to App server 7.0 like uda.framework etc.
    So to streamline process we are migrating applcaition to 6.5 server and also planning to rewrite whole archietecture to port it to another app server.
    Thanks,

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

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

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

  • 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

  • Migrating data from Sun ONE directory server into openLDAP

    Hi,
    I was to migrate the data from Sun ONE directory server into openldap. Has anybody done this or know about this. Can you please share the steps that needs to be done.
    NOTE: I have exported the data into LDIF file but when I run with ldapadd into the open ldap
    ldap_add: Invalid syntax (21)
    additional info: objectClass: value #1 invalid per syntax
    Are there specific schemas that i need. Where can I find them?
    Thanks

    Why would you want to migrate data into an OpenLDAP server ?Good Question, let me explain you my problem with Sun DS.
    No Question DS is the better product (even Red Hat realized this).
    Problem: DS is not a base Solaris 10 OS component, for patch support
    you need some additional plan, now sun marketing nightmare comes ;o)
    Every year service plans are changed (want a SJES or a DS or a DSEE ?)
    so use solaris with OpenLDAP, or linus with NSDS.
    Sun please give us a Solaris Core Component called LDAP Server (no need for trillions of entries).
    joe

  • Problems with xalan migrating from Sun One 7 to Sun One 8.1

    Hi!
    I'm migrating one application from Sun One 7 to Sun One 8.1, my problem is when I use xalan/xerces to transform XML/XSL appears the following error:
    javax.xml.transform.TransformerException: java.lang.NullPointerException
    I put my xalan/xerces version in my WEB-INF/lib but I think that the problem is that internally the server use its xalan that is a strange version, because in MANIFEST file put 2.6.0 version but I compared with 2.6.0 of xalan and it's different.
    How any idea to solve this?
    Thanks in advance
    Josep M

    As you have an existing portal installation, you will need to have the 9iAS Portal 3.0.8 Upgrade Scripts in order to upgrade to 3.0.8. We expect to have these 3.0.8 upgrade scripts available next week (April 23-27) for download from OTN.
    With regards to import/export, Import/Export Utilities currently will ONLY work between portal installations which are at the SAME VERSION LEVEL.
    The 3.0.8 upgrade process is an "in-place" upgrade, meaning that it upgrades an existing installation to the 3.0.8 release. You will need to have Portal 3.0.7 on your new box, and then upgrade "in place" to 3.0.8 there. I would advocate also doing a "cold backup" snapshot(backup all database data and log files) of your existing production database files as well.
    null

  • Migration from sun one to novell edirectory

    hello folks,
    please share info if anybody have an ideas on how to migrate data from sun one to novell edirectory. help wil be appriciated. thanks

    Does the documentation provide an upgrade path?
    Do you have existing data you need to preserve? If not you should be able to uninstall the old version and install the the one one. You should be able to use pkgrm to remove the old one IF it was a package based install.
    The changes you want to do (changing the directory tree and adding a UID) should not require an upgrade.
    It sounds like you need to reed the Sun/Oracle provided documentation.
    If you are new to LDAP you should probably look for a general purpose book about LDAP. The Sun/Oracle LDAP server is pretty complicated. You probably want to understand LDAP in general before tackling a Oracle's product.

  • Print from Sun ONE

    I am trying to print files from Sun ONE on my laptop running SuSE 8.0. Every time I try to do anything related to print, I get the message 'Print Service not found'. I am wondering if I am missing something or is printing from Sun ONE not supported in Linux environment. Thanks ..
    Shub Lahiri
    Sun ONE user

    What Sun ONE product are you actually using? Sun ONE is a brand that covers a range of products from a Java IDE to large-scale middleware.

  • 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

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

    where 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

  • 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

  • "Quick time version6.5.2 is installed, requires Quick time version 7.0.3"

    My itunes wont run because it says "Quick time version6.5.2 is installed, itunes requires Quick time version 7.0.3 or above............. then I tried to update my itunes but the Quicktimer player is failed to be install, and it shown error code: -3 I

  • IPhone 5 getting really really hot when plugged into MacBook Pro Retina?

    Hi I have had my Macbook for about 1 month and I recently discovered that my phone is getting extremely hot while charging through USB port. I was not sure if it was my phone as I was having issues with volume buttons, so was not sure if I had some d

  • What is BO Live Office

    Hi experts, Could anybody explain to me what is BO Live Office? I need to set up my crystal reports and webi and my admin asks me to download live office. on sap site, i found a link to free down load of live office, but in the list there is none. i

  • How to generate variable to receive name of database on B1if

    Hi Everyone, I need your help, I created a web service with B1if and I tried generate one variavel to receive a name of database to use work on my web service, but I could not. The client will set the name of database to receive to data from webservi

  • FCP 4.5 DV to DSR-11 to Analog Outs to TV?

    I got a DSR-11 recently and can't get this to happen. I want my playback from FCP (DV) to go through firewire to the DSR-11, then to the DSR-11's 3 RCA analog outputs (1 video, 2 audio L & R) and playback on my TV, which I hope to use as an NTSC moni