Jpeg to gif ( too many color exception !)

Dear all :
I want to convert a jpeg file to gif file (no need to animation's one ) using java . I have found a source program (GIFEncoder ) that convert the image to the gif file . But when i using the class to convert a jpeg to gif, a ' too many color exception ' has return . It is not diffcult to think why the exception happen , it is because the jpeg is always represent in true color (24 bits) , while the gif can only display 256 color (8 bits) . so , i have no ideas that how to create a 256 color jpeg using java ? because the JPEGEncoder package provided by sun will create a 24 bits jpeg file .The JAI can't create the gif files as the animation features of gif files .
So anyone can teach me the ways of how to create a 256 color jpeg using java , or a suggestions that create gif file using java ?
Thanks in advance !

Here's how I do it (it's not based on a color theory or anything, it's just the first thing that came to my mind when I needed this functionality in one of my applications):
I set up a table with the 256 most frequently appearing colors in the image. Sometimes, these colors are too similar, so I use a little algorithm that makes sure that the colors are satisfyingly different. The algorithm takes a parameter (the color dispersion parameter) and works according to the following pseudocode:
for all colors in the palette do:
differential = 0;
differential = abs(oldColor.red - newColor.red) + abs(oldColor.green - newColor.green) + abs(oldColor.blue - newColor.blue);
if differential < color dispersion parameter
don't add new color
If the new color passes this test, it is added to the palette. Depending on your needs, you may want to let the user select the degree of "color dispersion". If the palette doesn't contain 256 colors after this first pass, I decrease the color dispersion parameter by one and loop over the colors again (keeping the palette from the first pass of course). When this parameter reaches 0, there must be 256 colors in the palette, or the picture wouldn't need to be converted.
Then make an IndexColorModel from your palette data and set up a MemoryImageSource. From this you can create your image and do whatever you want with it.
Hope this helps!

Similar Messages

  • Acme GiFEncoder: java.io.IOException: too many colors for a GIF

    I have been using the Acme GifEncoder to save images as gifs. I have been using this quite successfully until today. For some reason it now gives an error when I try to use this in some circumstances. The exception is:
    java.io.IOException: too many colors for a GIF
    I am not sure why it will work in some situations and not others. If anyone can give any insight on this problem then I would appreciate it.
    Thanks

    Thanks for the reference to the quantizer. I will try it out and see if it works.
    That is going to lead me on to have a bit of a rant about GifEncoders. I realise that gifs are limited to 256 colours. It is ridiculous that a GifEncoder would not limit the number of colours for you. If you have an image in another format such as jpg that does not have a limit the number of colours, the encoder is not able to convert it into gifs unless it has the number of colours reduced. As far as can tell this should be an essential function of the encoder, unless anyone can tell me differently.
    Also if anyone can advise me on the Acme JpegEncoder I would appreciate it. It does not seem to work in any shape or form. I am not trying to do anything in particular with it now, so I have no code to show. I did try to use it before and it did not seem to work, so if anyone knows how to get it to work that would be great.
    Once again, thanks for your help.

  • ADF problem... too many objects exception

    Dear sirs...
    i created a custom method that loads data from a binary file and insert these data into a number of tables.
    the problem: when i insert a row into a specific view object i get too many objects exception , i am sure the table is empty and there is no duplicate in the primary key but i still have the problem.
    these information might help you...
    1- the project contains about 15 tables in two schemas
    2- i have one application module
    3- more than 50 view objects
    thanks for help in advance
    best regards

    There are multiple ways to do good the. You can put a button on the page bind it to the rollback operation. Or you catch the jbo exception and show it in a dialog. When the user closed the dialog you call rollback.
    Timo

  • Too Many Color Correctors

    I added the color corrector effect to a piece of video on my timeline. I wanted to compare that to another color idea I had, so I added another color corrector effect on the same piece of video. Now, when I click on the video clip, color corrector and "color corrector - 2" are in the filter tabs. How can I eliminate "Color corrector - 2"? If I add another color corrector, it's called "Color Corrector - 3". Now that I decided which color I like, I want to clean up my tabs.

    Thanks, Tom. To be more specific for future users, just go into the Filters tab. Right click on the filter you want to remove and click "cut". This will remove the filter.

  • Hue saturation changing too many colors

    I have some yellow flowers that I want to change the colors of.
    I am also noticing that whether I choose Master or Yellows from the drop down in a hue/saturation adjustment layer, it is still changing the color of some other items in the background that I do not want to change.
    I tried using the history brush over those rocks, and items in the background, though it does not seem to do anything.
    1. Why is it doing this?
    2. What is the best way to have it not change the items in the background?
    Thanks.

    You could also select the stuff you want to change before running the Hue/Saturation function.
    c.pfaffenbichler's advice is good regarding adjusting the color range.
    -Noel

  • How to catch 'too-many-rows' exception for the SELECT ... INTO statement?

    Given The following SQL statement:
    SELECT COLUMN1, COLUMN2
    INTO ITEM1, ITEM2
    FROM TABLE1
    WHERE COLUMN1 = X AND
    COLUMN2 = Y;
    As I know, NO_DATA_FOUND error will be generated when nothing is found. However, if more than 1 row is returned, what is the reserved error word should i use?
    Thanks for any help!

    Bearing in mind exception names have underscores rather than hyphens, you have answered your own question!

  • Exception too many rows...

    Hi
    I am getting two different outputs with following code depending upon i declare the variable in first or second way...
    when i declare the variable v_empno as number(10) and too many rows exception is raised....and after that i dbms this variable..it is null...
    but when i declare the same variable as table.column%type....and the similar scenario happens and i dbms the value of variable...it is not null...rather the first value from output of the query...
    declare
    --v_empno number(10);
    v_empno emp.empno%type;
    begin
    dbms_output.put_line('before '||v_empno );
    select empno into v_empno from emp;
    dbms_output.put_line('first '||v_empno);
    exception when too_many_rows then
    dbms_output.put_line('second '||v_empno);
    dbms_output.put_line('exception'||sqlerrm);
    end;
    is there any specific reason for this....
    ur comments plz
    Thanks
    Sidhu

    In 9i:
    SQL> declare
      2  --v_empno number(10);
      3  v_empno emp.empno%type;
      4  begin
      5  dbms_output.put_line('before '||v_empno );
      6  select empno into v_empno from emp;
      7  dbms_output.put_line('first '||v_empno);
      8  exception when too_many_rows then
      9  dbms_output.put_line('second '||v_empno);
    10  dbms_output.put_line('exception'||sqlerrm);
    11  end;
    12  /
    before
    second 7369
    exceptionORA-01422: exact fetch returns more than requested number of rows
    PL/SQL procedure successfully completed.
    SQL> declare
      2  v_empno number;
      3  --v_empno emp.empno%type;
      4  begin
      5  dbms_output.put_line('before '||v_empno );
      6  select empno into v_empno from emp;
      7  dbms_output.put_line('first '||v_empno);
      8  exception when too_many_rows then
      9  dbms_output.put_line('second '||v_empno);
    10  dbms_output.put_line('exception'||sqlerrm);
    11  end;
    12  /
    before
    second
    exceptionORA-01422: exact fetch returns more than requested number of rows
    PL/SQL procedure successfully completed.
    SQL> edit
    Wrote file afiedt.buf
      1  declare
      2  v_empno number(10);
      3  --v_empno emp.empno%type;
      4  begin
      5  dbms_output.put_line('before '||v_empno );
      6  select empno into v_empno from emp;
      7  dbms_output.put_line('first '||v_empno);
      8  exception when too_many_rows then
      9  dbms_output.put_line('second '||v_empno);
    10  dbms_output.put_line('exception'||sqlerrm);
    11* end;
    SQL> /
    before
    second 7369
    exceptionORA-01422: exact fetch returns more than requested number of rows
    PL/SQL procedure successfully completed.In 10G:
    SQL> declare
      2  v_empno number(10);
      3  --v_empno emp.empno%type;
      4  begin
      5  dbms_output.put_line('before '||v_empno );
      6  select empno into v_empno from emp;
      7  dbms_output.put_line('first '||v_empno);
      8  exception when too_many_rows then
      9  dbms_output.put_line('second '||v_empno);
    10  dbms_output.put_line('exception'||sqlerrm);
    11  end;
    12  /
    before
    second 7369
    exceptionORA-01422: exact fetch returns more than requested number of rows
    PL/SQL procedure successfully completed.
    SQL> edit
    Wrote file afiedt.buf
      1  declare
      2  v_empno number;
      3  --v_empno emp.empno%type;
      4  begin
      5  dbms_output.put_line('before '||v_empno );
      6  select empno into v_empno from emp;
      7  dbms_output.put_line('first '||v_empno);
      8  exception when too_many_rows then
      9  dbms_output.put_line('second '||v_empno);
    10  dbms_output.put_line('exception'||sqlerrm);
    11* end;
    SQL> /
    before
    second 7369
    exceptionORA-01422: exact fetch returns more than requested number of rows
    PL/SQL procedure successfully completed.
    SQL> edit
    Wrote file afiedt.buf
      1  declare
      2  --v_empno number;
      3  v_empno emp.empno%type;
      4  begin
      5  dbms_output.put_line('before '||v_empno );
      6  select empno into v_empno from emp;
      7  dbms_output.put_line('first '||v_empno);
      8  exception when too_many_rows then
      9  dbms_output.put_line('second '||v_empno);
    10  dbms_output.put_line('exception'||sqlerrm);
    11* end;
    SQL> /
    before
    second 7369
    exceptionORA-01422: exact fetch returns more than requested number of rows
    PL/SQL procedure successfully completed.Anyhow you should not rely on the fact Oracle fetches the first value into variable
    and keeps it when the excaprion is raised.
    Tom Kyte discusses the SELECT INTO issue here:
    http://asktom.oracle.com/pls/ask/f?p=4950:8:7849913143702726938::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:1205168148688
    Rgds.

  • Pl/Sql block returning too many values

    Hi
    Below is simple pl/sql block.while excecuting this i'm getting too many values exception
    declare
    attrib QW_ACCT_ATTR%ROWTYPE;
    begin
    SELECT ATTR_END_DATE, ATTR_NM, ATTR_VAL INTO attrib FROM (SELECT ATTR_END_DATE, ATTR_NM, ATTR_VAL FROM QW_ACCT_ATTR where CUST_ACCT_ID='5158660414' AND ATTR_NM = 'SS' ORDER BY ATTR_END_DATE DESC) where rownum = 1;
    DBMS_OUTPUT.PUT_LINE('end daate is...'||attrib.ATTR_END_DATE);
    end;
    could anybody please help me how to rewrite this qwery to get only one record.
    we are not supposed to use cursors here,
    thanks

    I am just changing your logic,
    declare
    attrib QW_ACCT_ATTR%ROWTYPE;
    begin
    SELECT ATTR_END_DATE, ATTR_NM, ATTR_VAL INTO attrib FROM (SELECT ATTR_END_DATE, ATTR_NM, ATTR_VAL FROM QW_ACCT_ATTR where CUST_ACCT_ID='5158660414' AND ATTR_NM = 'SS' ORDER BY ATTR_END_DATE DESC where rownum = 1) ;
    DBMS_OUTPUT.PUT_LINE('end daate is...'||attrib.ATTR_END_DATE);
    end;

  • Weblogic Server Switch over automatically due to too many open files error.

    Hi,
    I am facing problem in production environment. I am using Weblogic 8.1 SP4 application.
    Weblogic Server automatically switch over every 3 weeks due to few reasons.
    1. out of memorry error.
    2. Too many open files error.
    Please see my below portalserver. log files. Kindly provide some good solution to solve this problem.
    The following log is portalserver.log file
    ###<May 6, 2009 8:28:15 PM ICT> <Notice> <WebLogicServer> <ebizdr> <portalServer> <ListenThread.Default> <<WLS Kernel>> <> <BEA-000205> <After having failed to listen, the server is now listening on port 9001.>
    ####<May 6, 2009 8:28:15 PM ICT> <Critical> <WebLogicServer> <ebizdr> <portalServer> <ListenThread.Default> <<WLS Kernel>> <> <BEA-000204> <Failed to listen on port 9001, failure count: 1, failing for 0 seconds, java.net.SocketException: Too many open files>
    ####<May 6, 2009 8:28:15 PM ICT> <Error> <HTTP> <ebizdr> <portalServer> <ExecuteThread: '5' for queue: 'default'> <<WLS Kernel>> <> <BEA-101019> <[ServletContext(id=18480784,name=NBIAProject,context-path=)] Servlet failed with IOException
    java.io.FileNotFoundException: /var/opt/weblogic/user_projects/domains/eBizPortalDomain/portalServer/.wlnotdelete/NBIAPortalApp/NBIAProject/images/go.gif (Too many open files)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at weblogic.utils.classloaders.FileSource.getInputStream(FileSource.java:23)
         at weblogic.servlet.FileServlet.sendFile(FileServlet.java:563)
         at weblogic.servlet.FileServlet.service(FileServlet.java:206)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:293)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6724)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    >
    ####<May 6, 2009 8:28:16 PM ICT> <Notice> <WebLogicServer> <ebizdr> <portalServer> <ListenThread.Default> <<WLS Kernel>> <> <BEA-000205> <After having failed to listen, the server is now listening on port 9001.>
    ####<May 6, 2009 8:28:16 PM ICT> <Critical> <WebLogicServer> <ebizdr> <portalServer> <ListenThread.Default> <<WLS Kernel>> <> <BEA-000204> <Failed to listen on port 9001, failure count: 1, failing for 0 seconds, java.net.SocketException: Too many open files>
    ####<May 6, 2009 8:28:16 PM ICT> <Error> <HTTP> <ebizdr> <portalServer> <ExecuteThread: '5' for queue: 'default'> <<WLS Kernel>> <> <BEA-101019> <[ServletContext(id=18480784,name=NBIAProject,context-path=)] Servlet failed with IOException
    java.io.FileNotFoundException: /var/opt/weblogic/user_projects/domains/eBizPortalDomain/portalServer/.wlnotdelete/NBIAPortalApp/NBIAProject/images/search_right.gif (Too many open files)
    Thanks & Regards,
    Suriyaprakash.V

    Sorry for the late resp. Here's what dev suggests be investigated:
    I would want to know:
    Can they do a "$ORACLE_HOME/bin/dmstool -dump" and
    save/compress/send the results?
    Are there any errors printed in the Apache error_log while this leak occurs?
    The customer could/should re-check their TCP settings, especially the TCP time wait interval and generally follow the TCP settings recommended in Chapter 5 of the iAS Performance Guide for 9.0.2.
    Is there anything else interesting/unusual about the site?
    Let us know how it goes.

  • "Too many open files" Exception on "tapestry-framework-4.1.1.jar"

    When a browser attempts accessing to my webwork, the server opens a certain number of file descriptors to "tapestry-framework-4.1.1.jar" file and don't release them for a while.
    Below is the output from "lsof | grep tapestry":
    java 26735 root mem REG 253,0 62415 2425040 /usr/local/apache-tomcat-5.5.20/my_webwork/WEB-INF/lib/tapestry-portlet-4.1.1.jar
    java 26735 root mem REG 253,0 2280602 2425039 /usr/local/apache-tomcat-5.5.20/my_webwork/WEB-INF/lib/tapestry-framework-4.1.1.jar
    java 26735 root mem REG 253,0 320546 2425036 /usr/local/apache-tomcat-5.5.20/my_webwork/WEB-INF/lib/tapestry-contrib-4.1.1.jar
    java 26735 root mem REG 253,0 49564 2424979 /usr/local/apache-tomcat-5.5.20/my_webwork/WEB-INF/lib/tapestry-annotations-4.1.1.jar
    java 26735 root 28r REG 253,0 2280602 2425039 /usr/local/apache-tomcat-5.5.20/my_webwork/WEB-INF/lib/tapestry-framework-4.1.1.jar
    java 26735 root 29r REG 253,0 2280602 2425039 /usr/local/apache-tomcat-5.5.20/my_webwork/WEB-INF/lib/tapestry-framework-4.1.1.jar
    java 26735 root 30r REG 253,0 2280602 2425039 /usr/local/apache-tomcat-5.5.20/my_webwork/WEB-INF/lib/tapestry-framework-4.1.1.jar
    These unknown references are sometimes released automatically, but sometimes not.
    And I get "Too many open files" exception after using my application for a few hours.
    The number of the unknown references increases as I access to my webwork or just hit on "F5" key on my browser to reload it.
    I tried different types of browsers to see if I could see any differences in consequence, and in fact it differed by the browser I used.
    When viewed by Internet Explorer it increased by 3 for every access.
    On the other hand it increased by 7 for each attempt when accessed by FireFox.
    I have already tried optimizing the max number of file discriptors, and it solved the "Too many open files" exception.
    But stil I'm wondering who actually is opening "tapestry-framework-4.1.1.jar" this many.
    Could anyone figure out what is going on?
    Thanks in advance.
    The following is my environmental version info:
    - Red Hat Enterprise Linux ES release 4 (Nahant Update 4)
    - Java: 1.5.0_11
    - Tomcat: 5.5.20
    - Tapestry: 4.1.1

    Hi,
    Cause might The server got an exception while trying to accept client connections. It will try to backoff to aid recovery.
    The OS limit for the number of open file descriptor (FD limit) needs to be increased. Tune OS parameters that might help the server to accept more client connections (e.g. TCP accept back log).
    http://e-docs.bea.com/wls/docs90/messages/Server.html#BEA-002616
    Regards,
    Prasanna Yalam

  • Too many objects match the primary key oracle.jbo.Key[......]Exception

    Hi,
    When I run the search page 1st time its run fine and I can able to update the record.
    But when I run the search page 2nd time I am getting following error,
    Exception Details.
    oracle.apps.fnd.framework.OAException: oracle.jbo.TooManyObjectsException: JBO-25013: Too many objects match the primary key oracle.jbo.Key[CDV_WATER_SUPPLY_SOURCE_SIZE ]. at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1223) at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1408) at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2364) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1717) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423) at OA.jspService(OA.jsp:40) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803) at java.lang.Thread.run(Thread.java:534)
    Already I have gone through other thread related to this issue but I didn't get exact solution.
    How to solve this issue?
    Please suggest.
    Thanks & Regards,
    Sagarika

    Hi Sumit,
    I run the following query in SQL worksheet and its retrieving three rows,
    select * from (SELECT LpgConnEO.CITIZEN_ID,
    LpgConnEO.LPG_CONNECTION_NUMBER,
    LpgConnEO.LPG_CONNECTION_AGENCY
    FROM LPG_CONNECTION_AGENCY LpgConnEO)
    QSRLT where (CITIZEN_ID=(SELECT JGZZ_FISCAL_CODE FROM HZ_PERSON_PROFILES per
    WHERE per.EFFECTIVE_END_DATE IS NULL AND per.PARTY_ID=65632))
    Result,
    CITIZEN_ID LPG_CONNECTION_NUMBER LPG_CONNECTION_AGENCY
    101016210900001     मन्दाकनी गैस ऐजेन्सी     2789674
    101016210900001     27896     मन्दाकनी गैस ऐजेन्सी
    101016210900001     036227     मन्दाकनी गैस ऐजे
    and the primary key marked Attributes in the EO are in sync with the ones in the actual DB table.
    I am getting above exception when the query is retrieving more than one row and its working fine if the query retrieve one row.
    In this case how can we resolve the issue if the primary key attribute retrieve more than one row?
    Thanks & Regards,
    Sagarika

  • Too many exception"ACCESS.ERROR: Authorization check"

    We found there are too many Exception "ACCESS.ERROR: Authorization check for caller assignment to J2EE security role" occur in our Portal System with a 10 seconds interval after  checking the defalutTrace file. Can anyone help us to resolve the problem?
    thanks in advance.
    Date : 10/29/2007
    Time : 15:29:58:057
    Message : ACCESS.ERROR: Authorization check for caller assignment to J2EE security role [service.jms.default.authorization : administrators] referencing J2EE security role [SAP-J2EE-Engine : administrators].
    Severity : Error
    Category : /System/Security/Audit/J2EE
    Location : com.sap.engine.services.security.roles.SecurityRoleReference
    Application : sap.com/irj
    Thread : Thread[Thread-54,5,SAPEngine_Application_Thread[impl:3]_Group]
    Datasource : 1193643286133:/usr/sap/EP0/DVEBMGS00/j2ee/cluster/server0/log/defaultTrace.trc
    Message ID : 001125C013B40061000030D50071607A00043D9CAAE34B57
    Source Name : com.sap.engine.services.security.roles.SecurityRoleReference
    Argument Objs : ACCESS.ERROR,service.jms.default.authorization,administrators,SAP-J2EE-Engine,administrators,
    Arguments : ACCESS.ERROR,service.jms.default.authorization,administrators,SAP-J2EE-Engine,administrators,
    Dsr Component :
    Dsr Transaction : 0c229a6085c811dc8856001125c013b4
    Dsr User :
    Indent : 0
    Level : 0
    Message Code :
    Message Type : 1
    Relatives : /System/Security/Audit/J2EE
    Resource Bundlename :
    Session : 3572
    Source : com.sap.engine.services.security.roles.SecurityRoleReference
    ThreadObject : Thread[Thread-54,5,SAPEngine_Application_Thread[impl:3]_Group]
    Transaction :
    User : J2EE_GUEST
    Date : 10/29/2007
    Time : 15:29:38:017
    Message : ACCESS.ERROR: Authorization check for caller assignment to J2EE security role [SAP-J2EE-Engine : administrators].
    Severity : Error
    Category : /System/Security/Audit/J2EE
    Location : com.sap.engine.services.security.roles.SecurityRoleImpl
    Application : sap.com/irj
    Thread : Thread[Thread-54,5,SAPEngine_Application_Thread[impl:3]_Group]
    Datasource : 1193643286133:/usr/sap/EP0/DVEBMGS00/j2ee/cluster/server0/log/defaultTrace.trc
    Message ID : 001125C013B40061000030C70071607A00043D9CA9B17F21
    Source Name : com.sap.engine.services.security.roles.SecurityRoleImpl
    Argument Objs : ACCESS.ERROR,SAP-J2EE-Engine,administrators,
    Arguments : ACCESS.ERROR,SAP-J2EE-Engine,administrators,
    Dsr Component :
    Dsr Transaction : 0c229a6085c811dc8856001125c013b4
    Dsr User :
    Indent : 0
    Level : 0
    Message Code :
    Message Type : 1
    Relatives : /System/Security/Audit/J2EE
    Resource Bundlename :
    Session : 3570
    Source : com.sap.engine.services.security.roles.SecurityRoleImpl
    ThreadObject : Thread[Thread-54,5,SAPEngine_Application_Thread[impl:3]_Group]
    Transaction :
    User : J2EE_GUEST

    Hi Jan,
    I have implemented these patches usage Type EP.
    CAF 13.1
    SAP-JEE 13.1
    SAP-JEECOR 13.3
    SAP_JTECHF 13.1
    SAP_JTECJS 13.1
    UMEADMIN 13.2
    Take a look at:
    Support Packages and Patches -> SAP NetWeaver -> SAP NETWEAVER -> SAP NETWEAVER 7.0 (2004S) -> Entry by Component -> Development Infrastructure
    Uwe

  • MS ACCESS EXCEPTION TOO MANY CLIENT TASKS

    hi all
    i am developing an application in jsp for calll center users.
    there are 4 types of users who can interact with the appl
    in that 100 users of one type are interacting with it.
    i am using MS ACCESS for the database connection.
    it is working well when 10 users simultaneously logs in
    but when users increases its capacity degrades and it throws an exception TOO MANY CLIENT TASKS
    i have surfed through net and diffrent forums in that the soln is to switch to Mysql or SQL SERVER
    i had talked to the PM
    he needs in MS ACCESS itself
    i am using tomcat version 5 jdk 1.5

    LOVECODING wrote:
    hi all
    i am developing an application in jsp for calll center users.
    there are 4 types of users who can interact with the appl
    in that 100 users of one type are interacting with it.
    i am using MS ACCESS for the database connection.
    it is working well when 10 users simultaneously logs in
    but when users increases its capacity degrades and it throws an exception TOO MANY CLIENT TASKS
    i have surfed through net and diffrent forums in that the soln is to switch to Mysql or SQL SERVER
    i had talked to the PM
    he needs in MS ACCESS itselfSounds like your PM is screwed.
    i am using tomcat version 5 jdk 1.5Irrelevant.
    %

  • I bought and legally own PS CS3. Installed on a desktop and the machine died completely. Downloaded a trial of CS3 from Adobe site. Went to activate and said too many activations. Activate over the phone. EXCEPT Adobe does not handle activation issues ove

    I bought and legally own PS CS3. Installed on a desktop and the machine died completely. Downloaded a trial of CS3 from Adobe site. Went to activate and said too many activations. Activate over the phone. EXCEPT Adobe does not handle activation issues over the phone. Adobe doesn't care about their older products - they don't care that I spent hundreds of dollars for CS3. This is truly disgusting corporate behavior. Is there anything I can do? We aren't all rich photographers. I paid a great deal of money for this product. Is it now useless?Thank you,
    James Scott

    HI James please contact the Adobe Chat Team for activation issue
    kindly do the mentioned steps as follow in order to get hold of chat rep of adobe
    Go to www.adobe.com/getsupport
    select the product as adobe creative suite - then select the issue as adobe id and sign in - and then click on still need help contact us then you will be able to find chat option and they will help you with the chat issue

  • Java exception "Too many rows" when launching

    Hi,
    I'm trying to run SQLDeveloper on AIX 5.2
    The Java software is the JAVA 1.5 :
    $ ./java -version
    java version "1.5.0"
    Java(TM) 2 Runtime Environment, Standard Edition (build pap64devifx-20070725 (SR5a))
    IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc64-64 j9vmap6423-20070426 (JIT enabled)
    J9VM - 20070420_12448_BHdSMr
    JIT - 20070419_1806_r8
    GC - 200704_19)
    JCL - 20070725
    When launching sqldeveloper, I get more than 3000 error lines...
    Here are the beginning :
    java.io.FileNotFoundException: <INSTALLATION-PATH>/jdev/extensions/oracle.jdeveloper.db.sqlplus.jar (Too many open files)
    at java.io.RandomAccessFile.<init>(RandomAccessFile.java:243)
    at oracle.ide.boot.JarDirs.getDirsImpl(JarDirs.java:75)
    at oracle.ide.boot.JarDirs.<init>(JarDirs.java:63)
    at oracle.ide.boot.SharedJarByPackage.<init>(SharedJarByPackage.java:19)
    at oracle.ide.boot.IdeSharedCodeSourceFactory.createCodeSource(IdeSharedCodeSourceFactory.java:30)
    at oracle.classloader.SharedCodeSourceFactory.create(SharedCodeSourceFactory.java:43)
    at oracle.classloader.SharedCodeSourceSet.subscribe(SharedCodeSourceSet.java:315)
    at oracle.classloader.SharedCodeSourceSet.subscribe(SharedCodeSourceSet.java:174)
    at oracle.classloader.SharedCodeSourceSet.subscribe(SharedCodeSourceSet.java:148)
    at oracle.classloader.SharedCodeSourceSet.subscribe(SharedCodeSourceSet.java:215)
    at oracle.classloader.PolicyClassLoader.addCodeSource(PolicyClassLoader.java:874)
    at oracle.ideimpl.extension.ExtensionManagerImpl.addToPolicyClassLoader(ExtensionManagerImpl.java:1464)
    at oracle.ideimpl.extension.ExtensionManagerImpl.addURLToClassPath(ExtensionManagerImpl.java:1401)
    at oracle.ideimpl.extension.ExtensionManagerImpl.mav$addURLToClassPath(ExtensionManagerImpl.java:116)
    at oracle.ideimpl.extension.ExtensionManagerImpl$4.addToClasspath(ExtensionManagerImpl.java:690)
    at javax.ide.extension.spi.BaseExtensionVisitor.addExtensionSourceToClasspath(BaseExtensionVisitor.java:278)
    If it could help you, the splash screen is display a short time and the progression bar is beginning but for a short time only, after what the process is dying.
    Thanks,
    Christian

    java.io.FileNotFoundException: <INSTALLATION-PATH>/jdev/extensions/oracle.jdeveloper.db.sqlplus.jar (Too many open files)
    You have exceeded your max open files limit as determined by your operating system. You need to talk to your system administrators.

Maybe you are looking for