Problem with SUN ONE STUDIO Update 4

Hi,
I created a simple entity bean with finder methods and business methods.
But when I am trying to test the entity bean by generating the New EJB Client, and at the time executing the EJB client test client the following error as occured.
[b][b]Deploying... EAR Unable to deploy theC:/developer/JavaProject/test/test.earApplication
Deployment Error -- Error while running ejbc -- Fatal Error from EJB Compiler -- -- Error while processing CMP beans.
Please help me
Thank you

Hi ,
To know the reasons for deployment failure , you
could run your application using the Sun One verifier tool. Right click your application node and select Sun one verifier under the tools category.
Please post the results of the verifier tool in case you are not able to resolve the problem.
-Amol

Similar Messages

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

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

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

    Tough 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

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

  • Debug RMI - Service with Sun One Studio

    Hi, I'm trying to debug an rmi - service with sun one studio 4u1 (win nt 4.0). To do so I start the rmid daemon via
    rmid -J-Xdebug -J-Xnoagent -J-Djava.compiler=NONE -J-Xrunjdwp:transport=dt_shmem,server=y,address=dime,suspend=n -J-Djava.security.policy=%POLICY% -log %RUNDIR% >%RUNDIR%\server.log
    Then I register the service to the daemon and attach the debugger in the studio to the address "dime". This seems to work, but the service does not stop at breakpoints set in the debugger.
    Can someone help?

    I set the breakpoints at false line numbers (method heads). Now It works fine (breakpoints, watches, ...). The only thing is, that the current line is not visible in the source (although the line number is displayed correctly).

  • 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

  • Are there serious bugs with SUN one studio

    sometimes when I an trying to perform some particular type of operations in SUN one studio community edition on my pentium III 600MHz 256MB RAM system, SUN one studio vapourises from the deskop even faser than it does when u exit normally, i changed platform to Linux installing the linux binaries..the same problem also occurs..I heppens usually when i right click on a package trying to add new bean, or JSP or some other features
    Well i hope it is not my own machine that is bugging SUN studio
    Thanks

    I do but it still retains the same problem. I have jdk1.4.1 and yet it just vaporises from my desktop. Do SUN one studio have serious memory conflict with certain processes or what.

  • DB lookup problem with Sun One App. Server 7.0,MySQL3.x - Red hat linux 7.2

    Hi Group,
    I have deployed my project in sun one application server 7.0 installed in red hat linux 7.2 and database is mysql. Its working in fine in normal conditions. I could not able to get connection from datasource after I kept my server 10 hours ideal. Again its working fine once I restarted the server. Please give me any solution to prevent this.
    The same project is working fine under all conditions in Sun one app server 7.0 installed in windows 2000 server without any look up probem. I Got this problem only in linux OS.
    mysql datasource class com.mysql.jdbc.jdbc2.optional.MysqlDataSource
    please find the below code..
    Context ctx = new InitialContext();
    Datasource testDS = (javax.sql.DataSource)ctx.lookup( "jdbc/testDS");
    Connection con = testDs.getConnection();
    connection pool settings
    <jdbc-connection-pool steady-pool-size="8" max-pool-size="32" max-wait-time-in-millis="0" pool-resize-quantity="2" idle-timeout-in-seconds="0" is-isolation-level-guaranteed="false" is-connection-validation-required="false" connection-validation-method="auto-commit" fail-all-connections="false" datasource-classname="com.mysql.jdbc.jdbc2.optional.MysqlDataSource" name="testCP">
    <property value="localhost" name="serverName"/>
    <property value="3306" name="portNumber"/>
    <property value="root" name="user"/>
    <property value="test" name="databaseName"/>
    </jdbc-connection-pool>
    Regards,
    Hari haran

    My team solved the problem and I thought that we would share.
    The version of Xalan that was packaged with the JRE, that is installed by the Sun One app server, was at least 2 versions out of date. Updating the Xalan package solves the issue and the WAR file now works.
    Again, this appears to be only on the Linux version as the package deploys and works perfectly on the Windows version.

  • Problem with Sun ONE Assembly Tools

    I try to start "Sun ONE Assembly Tools" but it gives me the error as the following:
    "Another copy of AssemblyTool maybe running with the same userdir.
    Please exit from previous session or remove the lock file."
    I used to run this tool before and it worked without any problem. But now it cannot run properly and there isn't have any running session.
    Please give me the suggestion of how to solve this problem and I'd like to know where is the lock file of this tool.
    Thanks very much...
    Worawisut

    I cannot wait for reply any more :-)
    I try to de compile "com.sun.enterprise.tools.deployment.main.DeployTool.class" in "appserv-assemblytool.jar"
    and see that when Assembly Tool start ,it will create filename "lock" in the folder "C:\Documents and Settings\<User>\.assemblytool".
    This file is used to lock the tool's session.
    I delete it and then run the tool again.
    Fortunately,it works fine.
    Thanks.

  • Problems with Sun One Web Server  6.1 with SP1

    I get errors while compiling my JSP files on SUN one Web Server which is deployed on Solaris 9. it states that cannot compile JSP pages. here is the stack trace that i get.
    [03/Feb/2007:19:11:17] warning (  354): CORE3283: stderr: java.lang.NoClassDefFoundError: com/sun/tools/javac/Main
    [03/Feb/2007:19:11:17] warning (  354): CORE3283: stderr:      at org.apache.jasper.compiler.SunJava14Compiler$JavacTask.run(SunJava14Compiler.java:207)
    [03/Feb/2007:19:11:17] failure (  354): for host 192.168.123.2 trying to GET /reports1/jsp/common/ClientInstall.jsp, service-j2ee reports: StandardWrapperValve[jsp]: WEB2792: Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: WEB4000: Unable to compile class for JSP
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)
         at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.loadJSP(JspServlet.java:756)
         at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.access$000(JspServlet.java:616)
         at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:401)
         at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:363)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
         at com.iplanet.ias.web.WebContainer.service(WebContainer.java:586)Please help. The Java version i am using is j2sdk1.4.2_08.

    It looks like the Web Server has somehow been configured to use a JRE. Web Server requires a JDK. The following message in particular indicates that a JRE, not a JDK, is being used:java.lang.NoClassDefFoundError: com/sun/tools/javac/MainAre you using the JDK that shipped with Web Server, or did you attempt to configure Web Server to use a different JDK?

  • Problems with Sun One Web Server 6.1 javax.xml.xpath package not found

    I used myeclipse to build an xml app and tested on jboss. it worked perfectly. However when i deployed it to our solaris sun one web server the app fell apart completely with the following error. I m unable to figure out what went wrong. Any help will be much appreciated.
    Thanks.
    [11/Dec/2007:22:12:37] failure (13539):      for host 121.247.233.169 trying to GET /feeds/rss.jsp, service-j2ee reports: StandardWrapperValve[jsp]: WEB2792: Servlet.service() for servlet jsp threw exception
         org.apache.jasper.JasperException: WEB4000: Unable to compile class for JSP
         /opt/SUNWwbsvr/test/ClassCache/test/_jsps/_feeds/_rss_jsp.java:8: package javax.xml.xpath does not exist
         import javax.xml.xpath.*;
         ^

    Thanks for the response. I tried to use xalan package which resolved the javax.xml.xpath package not found error (xalan.jar in WEB-INF/lib folder). However I m now getting the following error. Probably incompatible version is the reason. Please advise!
    [11/Dec/2007:23:46:28] failure (17028):      for host 121.247.233.169 trying to GET /feeds/rss.jsp, service-j2ee reports: StandardWrapperValve[jsp]: WEB2792: Servlet.service() for servlet jsp threw exception
         javax.servlet.ServletException: org.apache.xpath.XPathContext.<init>(Z)V
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:536)
         at _jsps._feeds._rss_jsp._jspService(_rss_new_jsp.java:627)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:687)
         at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:459)
         at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:375)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
         at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)
         ----- Root Cause -----
         java.lang.NoSuchMethodError: org.apache.xpath.XPathContext.<init>(Z)V
         at org.apache.xpath.jaxp.XPathImpl.eval(XPathImpl.java:207)
         at org.apache.xpath.jaxp.XPathImpl.evaluate(XPathImpl.java:281)
         at _jsps._feeds._rss_new_jsp._jspService(_rss_jsp.java:165)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:687)
         at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:459)
         at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:375)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
         at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)

  • Tellp() problems with Sun Complier 6 Update 1

    Hi,
    I am a sysadm and I am a newbie to programming. I am using Sun Complier 6 Update 1 on solaris 7
    tellp() returns a negative in the following sample program. I have complied the same on AIX and it returns the expected value. Can anybody please let me know if I need to do modifications to this program to get the right value or is there a patch for the complier if it is a known problem.
    # include <fstream>
    using namespace std;
    int main () {
    long pos;
    ofstream outfile;
    outfile.open ("test.txt");
    outfile.write("APPLE",1048576);
    pos=outfile.tellp();
    printf("%i",pos);
    outfile.close();
    return 0;
    Thanks
    Sam Kanas

    The expression outfile.write("APPLE", 1048576) says to write 1048576 bytes starting at the address of the literal string "APPLE", which is located at an unpredictable location in the program address space. Writing stops when 1048576 bytes are written, or some sort of error occurs.
    You certainly cannot depend on 1048576 consecutive bytes being available starting at the address of "APPLE", so this program does not have predictable behavior. You can depend only on being able to write "APPLE" followed by the null byte. I'm surprised you did not get a memory fault due to accessing memory at an invalid address.
    If you explain what you actually want to do, perhaps I can suggest a way to accomplish it using valid and portable C++ code.

  • Read-only problem with sun one

    hello
    i have mounted yestarday a file in which i have created an ejb call Client. Today i have unmounted the file with the ejb Client and i have mounted an other file in which i have created an ejb called Client. Now i can't no more manipulate the first ejb and the second ejb (adding method for example). The error message is: the ejb is read-only !
    I don't know if this is a bug or a protection but how i can desctivate that please ?

    ok i find it. There was hidden mounted jar in the
    option of filesystem ... why, i don't know exaclty at
    this moment but now it's ok. If somebody knows
    something about that.
    thank'a lotWere you working with an application client module, specifically executing them? This can cause files to be mounted.

  • 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

Maybe you are looking for