How to deal with 500 Servlet Exception ?

500 Servlet Exception
Resin can't load sun.tools.javac.Main. Usually this means that the JDK tools.jar is missing from the classpath, possibly because of using a JRE instead of the JDK. You can either add tools.jar to the classpath or change the compiler to an external one with <java compiler='javac'/> or jikes.
java.lang.ClassNotFoundException: sun.tools.javac.Main
Resin 2.0.4 (built Thu Nov 15 17:56:24 PST 2001)
get these messages(win98,apache1.3,jdk1.3,resin2.0)
how to add tool.jar to the classpath?please detail.thanks!!

Hi,
You can just give a search for the directory contains the file tools.jar. And add the classpath like this
SET CLASSPATH=c:\jdk1.3\lib\tools.jar
You can double check the CLASSPATH in command prompt like this
echo %CLASSPATH%
If the CLASSPATH is set properly, you should see the tools.jar file in the CLASSPATH.
Hope this helps.
Best Luck!
Senthil Babu J

Similar Messages

  • How to deal with IO Exception: Not  Enough Space

    I always get the error message like IO Exception: Not Enough Space, following is the information on my desk , is not suppose have this happy is that right ?
    why ? and how to deal with ?? I use solars 10 with NetBean 6.9
    # df -k
    Filesystem kbytes used avail capacity Mounted on
    rpool/ROOT/s10x_u8wos_08a
    239468544 7338765 229954672 4% /
    /devices 0 0 0 0% /devices
    ctfs 0 0 0 0% /system/contract
    proc 0 0 0 0% /proc
    mnttab 0 0 0 0% /etc/mnttab
    swap 610684 348 610336 1% /etc/svc/volatile
    objfs 0 0 0 0% /system/object
    sharefs 0 0 0 0% /etc/dfs/sharetab
    /usr/lib/libc/libc_hwcap1.so.1
    237293437 7338765 229954672 4% /lib/libc.so.1
    fd 0 0 0 0% /dev/fd
    swap 610484 148 610336 1% /tmp
    swap 610360 24 610336 1% /var/run
    rpool/export 239468544 23 229954672 1% /export
    rpool/export/home 239468544 63960 229954672 1% /export/home
    rpool 239468544 34 229954672 1% /rpool
    #

    Thank you for all the replies.
    Just have time come to this forum:
    think you are running out of swap space.Google surge this too,
    at first I install solaria I give 512M out of totally 2G in memory,
    then I run
    # zfs create -V 512M rpool/additionalswap
    # swap -a /dev/zvol/dsk/rpool/additionalswap
    on meantime
    swapfile dev swaplo blocks free
    /dev/zvol/dsk/rpool/swap 181,3 8 1048568 1048568
    # df -k
    Filesystem kbytes used avail capacity Mounted on
    rpool/ROOT/s10x_u8wos_08a
    239468544 7280779 230012901 4% /
    /devices 0 0 0 0% /devices
    ctfs 0 0 0 0% /system/contract
    proc 0 0 0 0% /proc
    mnttab 0 0 0 0% /etc/mnttab
    swap 392944 352 392592 1% /etc/svc/volatile
    objfs 0 0 0 0% /system/object
    sharefs 0 0 0 0% /etc/dfs/sharetab
    /usr/lib/libc/libc_hwcap1.so.1
    237293680 7280779 230012901 4% /lib/libc.so.1
    fd 0 0 0 0% /dev/fd
    swap                  392760     168  392592     1%    /tmp
    swap                  392616      24  392592     1%    /var/run
    rpool/export 239468544 23 230012901 1% /export
    rpool/export/home 239468544 63989 230012901 1% /export/home
    rpool 239468544 34 230012901 1% /rpool
    /vol/dev/dsk/c7t0d0/unnamed_rmdisk:c
    15618080 1985728 13632352 13% /rmdisk/unnamed_rmdisk
    Edited by: Hjava on Nov 25, 2010 8:40 PM
    Edited by: Hjava on Dec 9, 2010 2:09 AM
    this link is useful
    http://docs.sun.com/app/docs/doc/817-5093/gizet?l=zh_TW&a=view

  • How to deal with hindi lang

    I am storing text messages in a PropertyResourceBundle as follows
    txt_EmailAdd = {mel ADres
    txt_Password = pasvDR
    I made the above file in MSword using hindi fonts
    The folllowing text is supposed to be in hindi
    {mel ADres
    pasvDR
    but it does not show the text in hindi it still shows in English but when I open the above text file in MSword it shows the text in hindi
    Please tell me how to deal with this problem . I hope you people reply as eaarly as possible.
    I also have another prob, I am developing a website using jsp+servlet now I have made the above mentioned property file and stored it in c:\tomcat5.0\webapps\emailreadersevice\IndexMessagesBundle.properties
    but when I access it from my application's index.jsp file Tomcat gives me following exception
    java.lang.NullPointerException
         java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:714)
         java.util.ResourceBundle.getBundle(ResourceBundle.java:579)
         org.apache.jsp.index_jsp._jspService(index_jsp.java:55)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    My index.jsp file is stored in c:\tomcat5.0\webapps\emailreaderservice\index.jsp
    In my index.jsp file i have written the following statement to get the IndexMessagesBundle but tomcat gives me the above exception.
    ResourceBundle IndexMessages = ResourceBundle.getBundle("IndexMessagesBundle",currentLocale);  
    Please guide me abt how to go abt it. Also tell me whether I am doing the right thing or not. If no then please tell me the right steps to follow                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi one_dane
    I have made the property file using hindi fonts to type the following thing
    { m e l A D r e s
    p a s v D R
    No the above values are not place holders Infact in order to type EmailAddress and Password in hindi I had to type the above keys. so when I put system.out.println in my jsp page it does not display any hindi text but the above keys which i used to type in order to display hindi text in my txt file.
    But I think i am not going on the right track should i type the unicode values for hindi text which is of the form \udddd in my property file. I have the unicode chart for hindi fonts so I can look up the chart and type appropriate unicodes(\udddd) to display Email Address and Password in hindi. Or am i still not getting how to do it? If not then please tell me how did you create your hindi property file. Is the following that you typed in your property file or is it the output of converting your property file into unicode using native2ascii
    title=\u090f\u0926\u0938\u093e \u092a\u0917\u0932\u094d\u0917 \u0942\u093e\u0902\u0942JSP i18n issues
    Please reply as soon as possible and hanks a lot for your help.
    Eagerly waiting for a reply,
    Heti shah

  • How to deal with conflict and potential conflict classes?

    Some classes are marked as conflict and potential conflict classes in the Classloader Analysis Tool.
    How to deal with them?
    How to use suggested solutions?

    Not double load them.
    Conflicting classes can lead to weird exceptions. One obvious example would be if you package
    an older servlet.jar version into your application and use the weblogic classloading features, such
    as prefer-web-inf-classes, to tell weblogic to use this class instead of the one provided in the
    system classpath. This one example which leads to weird exceptions, such as connot process jsp tag...
    If you really need a the version of the jar for your application, you have to test it through and through
    so that you know you do not run into weird production errors.

  • Can somebody Pls Help 500 Servlet Exception:

    I am rather new to java prog and have the following problem.
    How do I resolve?All I knw is that the resource bundle is not been read.Where do i go from there.Help!!!
    500 Servlet Exception
    java.lang.NullPointerException
    at ui.error__jsp._jspService(/SSO/ui/error.jsp:14)
    at com.caucho.jsp.JavaPage.service(JavaPage.java:74)
    at com.caucho.jsp.Page.subservice(Page.java:485)
    at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:179)
    at com.caucho.server.http.Invocation.service(Invocation.java:288)
    at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:132)
    error.jsp contains the following:
    <%@page language="java" session="false" import="com.infy.bbu.sso.common.SSOConstants, java.util.ResourceBundle, com.infy.bbu.sso.utils.SSOResourceManager, com.infy.bbu.sso.config.SSOConfig"%>
    <%@ page contentType="text/html; charset=utf-8" %>
    <%
    String langCode = request.getParameter(SSOConstants.PARAM_LANG);
    SSOResourceManager manager = new SSOResourceManager();
    if(SSOConfig.isEmpty()) SSOConfig.loadConfig();
    ResourceBundle rb = manager.getResourceBundle(application, SSOConfig.get(SSOConstants.SSO_RB_APP_NAME),langCode);
    %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
    <title><%=rb.getString("SSO_ERROR_PAGE_TITLE")%></title>
    <script type='text/javascript' src='javascripts/ssodomain.js'></script>
    <script type='text/javascript' src='javascripts/SSOUIProperties_<%=langCode%>.js'></script>
    <link rel="stylesheet" href="sso.css">
    </head>
    <body>
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="dummy" vspace="0" hspace="0">
    <tr bgcolor="#000000">
    <td height="22"><img src="images/adminbanner.jpg" width="353" height="52" vspace="0" hspace="0" border="0"></td>
    </tr>
    </table>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td>
    <h1> </h1>
    </td>
    <td>
    <h1><br>
    </h1>
    <span class="tabletext"> <%= request.getParameter(SSOConstants.PARAM_ERROR_MSG)%><BR>
    <BR><a href="INFENG/LoginPage.jsp?<%=SSOConstants.PARAM_LANG%>=<%=langCode%>">Login</a>
    </span></td>
    </tr>
    </table>
    </body>
    </html>
    at com.caucho.server.http.ServletServer.serviceTop(ServletServer.java:937)
    at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:213)
    at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:158)
    at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
    at java.lang.Thread.run(Thread.java:534)
    Resin 2.0.5 (built Fri Jan 11 08:29:05 PST 2002)
    line 14 is in bold.

    sorry about that.It's just that I need to resolve
    this problem and need whatever help I can get.No. That is no reason for you to multipost.
    Do try and think about others sometimes. I mean really. Are you paying for support from this site? No. Then just be fucking patient please.

  • How to deal with special character in source file

    Hi experts,
                      i am doing a file to file scenario in which my source file contains many special characters when i am puting this file into moni its going with the special character .My source file is a fixed length file so in content conversion i have specified the file length but due to these special charcters these field lenght is also varing.So please guide me how to deal with these special characters in sender adapter
    regards,
    Saurabh

    you could try using a Java Mapping to change the encoding manually. For that, set the encoding of the OutputFormat of the XML you'll serialize. Try the following code piece for the mapping (inside a try/catch declaration):
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder documentBuilder = factory.newDocumentBuilder();
    Document input = documentBuilder.parse(in);
    OutputFormat format = new OutputFormat(XML, "ISO-8859-1", false);
    XMLSerializer serializer = new XMLSerializer(out, format);
    For more details check this guide:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42

  • How to deal with validation errors from DAO layer.

    I have been pondering on how to deal with validation errors from DAO layer.
    Lets say you have a DAO that can save a car object. A car has a year, make, model, vin and so on. During the save operation of this DAO, it validates the car attributes to see if they pass some business rules. If it does not it throws some validation exception that contains all the validation errors. These validation errors know nothing about jsf or my components it just knows what attributes on the object are invalid and why.
    If I just want to show those errors at the top of the page that would be no problem I could just create some FacesMessage objects and add them to the FacesContext messages. But if the DAO layer is telling me that the make attribute is invalid it would be nice to map it to the make field on the screen. I am wondering if any of you have tackled this problem or have some ideas on how to tackle it?
    Brian

    Let it throw an exception with a self explaining message, then catch it and embed that message in a FacesMessage.
    Or let it throw more specific exception types (InvalidCarMakeException extends CarDAOException and so on) and let JSF handle it with own FacesMessage message.

  • How to deal with this problem while Flex Integration   SSH

    Error creating bean with name '_messageBroker': Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: flex/messaging/AbstractFlexSessionProvider……
    Caused by: java.lang.ClassNotFoundException: flex.messaging.AbstractFlexSessionProvider
    I have  exist project used  SSH ,and now need flex to be use in some new unint.
    I hava follow these step to write my code , please help me to pickup the misstake  i had token.
    (flex4.0  spring 3.6 strust2.2 **)
    1. download the Blazeds file  and spring-flex-core-1.5.2.RELEASE.jar
    (org.springframework.integration-1.0.3.RELEASE.jar also include)
    2. unpack the Blazeds copy the flex folder to WEB-INF 
    3.add the lib/*  to my project lib folder
    4.add some declaration in the web.xml
    5.new a flex-application-config.xml 
    ^^^^ and so on.  I don't know how  to deal with this problem!!!
    Waitting for help!

    The information you provided is totally useless for determining the problem.
    If it helps, I think the message you are getting is related to BlazeDS not being able to find the service class you are calling. You either have a typo somewhere, or you didn't set up a secure channel in your service config (I am assuming you meant SSL and not SSH).

  • Move of mailbox with over 30K of folders fails, how to deal with this.

    Hello all,
    I'm in the process of moving all Exchange 2010 mailboxes to newly created databases located on new storage.
    Every mailbox except one moved successfully, the "problem" mailbox keeps failing and I need some advise on how to deal with this.
    The mailbox that keeps failing is only 4 GB but has over 30K of folders that the users created manually over the years.
    They are unable to easelly delete folders as they have created many sub folders within the folders.
    I posted a part of the failed move request log below.
    Can anyone advise on how to solve this?
    Thanks in advance.
    21-2-2015 18:15:13 [EXHUB1] Fatal error MapiExceptionMaxSubmissionExceeded has occurred.
    Error details: MapiExceptionMaxSubmissionExceeded: Unable to save changes. (hr=0x80004005, ec=1242)
    Diagnostic context:
        Lid: 55847   EMSMDBPOOL.EcPoolSessionDoRpc called [length=7574]
        Lid: 43559   EMSMDBPOOL.EcPoolSessionDoRpc returned [ec=0x0][length=360][latency=0]
        Lid: 23226   --- ROP Parse Start ---
        Lid: 27962   ROP: ropWriteStream [45]
        Lid: 27962   ROP: ropSetProps [10]
        Lid: 27962   ROP: ropSaveChangesMessage [12]
        Lid: 17082   ROP Error: 0x4DA     
        Lid: 18273  
        Lid: 21921   StoreEc: 0x4DA     
        Lid: 27962   ROP: ropExtendedError [250]
        Lid: 1494    ---- Remote Context Beg ----
        Lid: 26426   ROP: ropSaveChangesMessage [12]
        Lid: 27420   dwParam: 0xE1F000B
        Lid: 36537   dwParam: 0xE1F000B
        Lid: 5587    StoreEc: 0x8004010F PropTag: 0xE1F000B 
        Lid: 33375   StoreEc: 0x8004010F
        Lid: 27420   dwParam: 0x806684B0
        Lid: 36537   dwParam: 0x806684B0
        Lid: 5587    StoreEc: 0x8004010F PropTag: 0x806684B0
        Lid: 64931   StoreEc: 0x8004010F
        Lid: 46509  
        Lid: 40193   StoreEc: 0x8004010F
        Lid: 5587    StoreEc: 0x8004010F PropTag: 0x30130102
        Lid: 21970   StoreEc: 0x8004010F PropTag: 0x668F0040
        Lid: 64319   dwParam: 0x5000
        Lid: 39743   dwParam: 0x6730
        Lid: 45016   StoreEc: 0x4DA     
        Lid: 57304  
        Lid: 5041    StoreEc: 0x4DA     
        Lid: 4465    StoreEc: 0x4DA     
        Lid: 6926    StoreEc: 0x4DA     
        Lid: 1750    ---- Remote Context End ----
        Lid: 31418   --- ROP Parse Done ---
        Lid: 21457  
        Lid: 19665   StoreEc: 0x4DA     
       at Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, SafeExInterfaceHandle iUnknown, Exception innerException)
       at Microsoft.Mapi.MapiProp.SaveChanges(SaveChangesFlags flags)
       at Microsoft.Exchange.MailboxReplicationService.MoveObjectInfo`1.CreateMessage(T obj, GetAdditionalProperties getAdditionalPropertiesCallback)
       at Microsoft.Exchange.MailboxReplicationService.MoveObjectInfo`1.CreateMessage(T obj)
       at Microsoft.Exchange.MailboxReplicationService.LocalMailbox.Microsoft.Exchange.MailboxReplicationService.IMailbox.SaveSyncState(Byte[] key, String syncStateStr)
       at Microsoft.Exchange.MailboxReplicationService.MailboxWrapper.<>c__DisplayClass57.<Microsoft.Exchange.MailboxReplicationService.IMailbox.SaveSyncState>b__56()
       at Microsoft.Exchange.MailboxReplicationService.ExecutionContext.Execute(GenericCallDelegate operation)
       at Microsoft.Exchange.MailboxReplicationService.MailboxWrapper.Microsoft.Exchange.MailboxReplicationService.IMailbox.SaveSyncState(Byte[] key, String syncState)
       at Microsoft.Exchange.MailboxReplicationService.MailboxCopierBase.SaveSyncState(SaveStateFlags flags)
       at Microsoft.Exchange.MailboxReplicationService.BaseJob.SaveSyncState(SaveStateFlags flags)
       at Microsoft.Exchange.MailboxReplicationService.BaseJob.SaveState(SaveStateFlags flags, UpdateRequestDelegate updateRequestDel)
       at Microsoft.Exchange.MailboxReplicationService.MoveBaseJob.SortMessages(Object[] wiParams)
       at Microsoft.Exchange.MailboxReplicationService.CommonUtils.CatchKnownExceptions(GenericCallDelegate del, FailureDelegate failureDelegate)
    Error context: --------
    Operation: IMailbox.SaveSyncState
    OperationSide: Target
    Primary (a4966c13-778a-4d70-9087-f077e2523f66)
    Key: FEF1D04E070AB74A99B809B7797674AE000000000000000000000000000000009B5540B45B37774CAB84806C1964B598
    SyncStateLength: 27050362
    21-2-2015 18:15:13 [EXHUB1] Relinquishing job.

    Hi,
    Based on the description, please run the following commands to check if there are any message limit size. Try to increase the limit size then move this mailbox.
    Get-mailbox –identity “user name” | fl MaxSendSize,MaxReceiveSize
    Get-transportconfig | fl MaxSendSize,MaxReceiveSize
    Get-transportrule | fl MessageSizeOver
    Get-sendconnector | fl MaxMessageSize
    Get-receiveconnector | fl MaxMessageSize
    Note: Once we increased the value we need to wait for the AD replication and cache to be cleared and then test the move mailbox.
    If this doesn’t work, please try to move mailbox with the skip corrupted items. This will skip the corrupted items and move only the good items to the target mailbox.
    Similar thread:
    https://social.technet.microsoft.com/Forums/en-US/5383a826-4383-4b26-a503-2c3bb635f9d2/mailbox-move-to-exchange-2010-fails-for-mailboxes-over-23-gb?forum=exchangesvrdeploylegacy
    Best Regards.

  • How to deal with relation

    Hi
    I am trying to import two beans(TestBean and HelperBean)into my Web Dynpro project to create a model. These beans are dealing with a List(ArrayList). This List is considered as a Relation. I am facing problem in handling this relation.
    I am having both the TestBean and HelperBean in the same package. Below is the code of TestBean. This bean is in turn calling HelperBean ,which is returning a List.
    I am getting an error while creating model -
    <b>[Error]: There are one or more relations unresolved. Importing the model without resolvoing the relations might result in erratic output.</b>
    <u><b>Code For TestBean</b></u>
    public class TestBean implements Serializable{
         private List customerList= null;
         HelperBean helper = new HelperBean();
              public void execute(){
              try{
                                            customerList = (ArrayList)helper.getCustomerList();
                   catch(Exception ex){
                        ex.printStackTrace();
          * @return
         public List getCustomerList() {
              return customerList;
          * @param list
         public void setCustomerList(List list) {
              customerList = list;
    I am new to Web Dynpro and don't know how to deal with relation.Please inform if there is some solution.
    regards,
    Sujit

    Sujit,
    Not every bean becomes model class during import. So your HelperBean is irrelevant here. But you miss other bean, namely Customer bean. You must add it as model class during import, then select problematic 0..n relation and resolve it to model class Customer.
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • How to deal with deadlock on wwv_flow_data table when http server times out

    There are some threads about a deadlock on the wwv_flow_data table. None of them contain a real explanation for this behaviour. In my case I will try to explain what I think is happening. Maybe it helps somebody who is hitting the same matter.
    In my case with APEX 3.2.1 I am navigating from one page to another. Doing this APEX will lock the table wwv_flow_data. As soon as the other page is shown the lock will be released. But now this other page contains a bad performing query (standaard report region). After 5 minutes the http server (modplsql) will time out and present the message "No response from the application server" on the screen. In the meanwhile the query is still running on the database server and the lock stays on the wwv_flow_data table.
    Normal user behaviour will be that the user will use the back button to return to the previous page and tries it again to navigate to the other page or
    the user will try to refresh the page with the bad performing query.
    And voila now you will have a deadlock on the wwv_flow_data table since a second session is trying to do the same thing while the first hasn't finished yet.
    How to deal with it?
    First of all. Have a good look at the bad performing query. Maybe you can improve it that it will succeed before the http server will timeout.
    In my case the 11gr1 optimizer couldn't handle a subquery factoring clause in the best way. After changing it back to a classical inline query the problem was solved.
    Secondly you could increase the timeout parameter of the http server. Although this not the best way.
    Maybe it would better if APEX in a next version would release the lock on the table wwv_flow_date earlier or do a rollback just before the moment that the http server is timing out.
    regards,
    Mathieu Meeuwissen

    Hello Shmoove,
    I saw your reply here and you probably understand the problems the HTTP 100 response may cause.
    I am trying to send image that was taken by getSnapshot. The problem is that the server respond with this HTTP 100 message.
    I suspect that the reason that my server doesn't recognize the file that I'm sending from J2me is that the "server to client" response to the 100 message comes after the second message of (see what the TCPIP viewer shows down here):
    POST /up01/up02.aspx HTTP/1.1
    Content-Type: multipart/form-data; boundary=xxxxyyyyzzz
    Connection: Keep-Alive
    Content-length: 6294
    User-Agent: UNTRUSTED/1.0
    Host: szekely.dnsalias.com:80
    Transfer-Encoding: chunked
    400: Client to Server (126 bytes)
    78
    --xxxxyyyyzzz
    Content-Disposition: form-data; name="pic"; filename="david.jpg"
    Content-Type: application/octet-stream
    400: Connected to Server
    400: Server to Client (112 bytes)
    HTTP/1.1 100 Continue
    Server: Microsoft-IIS/5.1
    Date: Wed, 23 Mar 2005 00:47:02 GMT
    X-Powered-By: ASP.NET
    Any help will be appreciated,
    David

  • How to deal with OpenCL grey out issue.

    First off, I'm not native english speaker.
    I have Nvidia GeForce 550 Ti video card, and its support OpenCL v1.1.
    I'm also face a "random" OpenCL grey out issue like other people here, but I found the "issue" and how to deal with.
    open a command windows (using WinKey + R, and type cmd <enter>)
    type "cd C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)" <enter>
    type "sniffer_gpu" <enter>  -->> to check your GPU has OpenCL in Photoshop?
    When GPU is in power-saving mode (core running in 51Mhz, using MSI Afterburner monitor), I running sniffer_gpu, got this report
    C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)>sniffer_gpu
    Device: 0000000000328D68 has video RAM(MB): 1023
    Vendor string:    NVIDIA Corporation
    Renderer string:  GeForce GTX 550 Ti/PCIe/SSE2
    Version string:   3.0.0
    OpenGL version as determined by Extensionator...
    OpenGL Version 3.0
    Has NPOT support: TRUE
    Has Framebuffer Object Extension support: TRUE
    OpenGL ok
    Return code: 1
    C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)>
    No OpenCL support
    Then, I switch GPU back to normal status (core running at 900Mhz)
    C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)>sniffer_gpu
    Device: 00000000001F8D68 has video RAM(MB): 1023
    Vendor string:    NVIDIA Corporation
    Renderer string:  GeForce GTX 550 Ti/PCIe/SSE2
    Version string:   3.0.0
    OpenGL version as determined by Extensionator...
    OpenGL Version 3.0
    Has NPOT support: TRUE
    Has Framebuffer Object Extension support: TRUE
    OpenGL ok
    OpenCL ok, version=1.1 CUDA 4.2.1
    Return code: 3
    C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)>
    OpenCL support !!
    Nowadays, most of new GPUs were support power-saving, but when sniffer_gpu running at GPU power-saving state, the OpenCL computing report maybe "time-out", cause the detector "guess" the GPU does not support OpenCL. This is why many people says "OpenCL" sometimes work, sometimes grey-out.
    I hope this bug can be fixed, or at least people can understand how to "enable OpenCL everytime when you launch photoshop".
    Bye.

    Do check the following link
    http://blogs.oracle.com/soabpm/2010/01/soa_suite_11g_weblogictransact.html

  • How to deal with "Error 1001. The specified service already exists" when install a service using installer package?

    Hi everybody,
    I wrote a "Class Library" project which is a service using Visual Stodio 2008 recently, then tried to use a Visual Studio 2008
    Setup Project to install it.
    Here is what I did for the "Class Library":
    1. Finish the program.cs, Service.cs
    2. Add Installer
    3. Change the serviceInstaller so that "StartType" to be Aotumatic
    4. Change the ServiceProcessInstaller2 so that "Account" to be LocalSystem
    5.
    6. Click in F5 (Start Debugging)
    Here is what I did for the Setup Project:
    1. Add the exe file built from the "Class Library" project to the Application Folder
    2. On the Custom Action Editor, add the exe file from 1 to Install and Commit
    3. Change the property of the project so that "RemovePreviousVersion" to be true
    4. Click on F6(Build Solution)
    Then I tried to run the msi file from the built of the Setup Project. Because I modified the two projects serveral times, I uninstalled the Class Library using "Control Panel->Add or Remove Programs" before I reinstall. Two things I notived:
    1. After unstall, the registry was not cleaned up about the installed program
    2. After several rounds install/uninstall, I got "Error 1001. The specified service already exists"
    My questions are:
    1. How to cleanup the registry when uninstall a program?
    2. How to deal with the "Error 1001. The specified service already exists"?
    3. Did I do anytbing wrong with the "Class Library" or the "Setup Project"?
    Thanks a lot!
    Helen

    Hi Simon, not a problem!
    I spent some more time on this and here are few more notes:
    it is called Major Upgrade, when you are installing new version of the product upon a previous one and
    MSI supports 2 strategies:
    Strategy 1. Install a new version and uninstall previous one. (Install a new version right upon previously installed version (file merging is performed based on dll version number) and the delete previously
    installed files)
    Strategy 2. Uninstall previous version and install a new one (Delete all previous files and install from scratch new files.)
    From the first look it seems that 1st strategy is weird and buggy. But, remember, MSI is great because it's transactional!!! That means that if once some of the phases (Installation, Uninstallation, Rollback, Comit) fails, your machine
    will be reverted to the previous state and it'll be still functional. 
    Let's consider both strategies:
    Consider you have installed product_v1.msi and you want to install product_v2.msi.
    Strategy 1
    1. MSI engine copies files from Product_v1 directory to TEMP directory
    2. MSI engine merges files based on the assembly version (between v1 and v2)
    3. Once merging is completed successfully it removes files in TEMP (RemoveExistingProducts  action triggers it) and you got product_v2 installed, otherwise if it fails MSI engine revert machine to V1 and copies previous files from TEMP.
    Strategy 2
    1. MSI engine tottaly removes all files from v1.
    2. MSI engine installs v2 files and if something goes wrong you cannot revert back, because RemoveExistingProducts  allready worked out and MSI doesn't have files to revert machine back
    I recommend to everybody to use Strategy 1 and leverage MSI transaction functionality. And you can set this strategies by defining sequence of RemoveExistingProducts action. See more info
    here.  So, I think it's not even a bug in VS as I said in the upper post it is default recommened behaviour.
    AND, you got "Error 1001. The specified service already exists"
    because if we follow Strategy 1 MSI engine tries to install Windows Service on top of the existing service and OF COURSE it fails MSI engine (StopServices, DeleteServices actions are executed before actual
    installation and  they look at ServiceControl table). In order to stop service first and delete them you have to fill ServiceContol table of the MSI (and then StopServices, DeleteServices actions will recognize what to they have to stop
    and delete), like this:
    *clip*clip*clip*
    ' see http://msdn.microsoft.com/en-us/library/windows/desktop/aa371634(v=vs.85).aspx for more info
    ' Update the Service Entry to stop and delete service while uninstalling
    query = "INSERT INTO ServiceControl (ServiceControl, Name, Event, Arguments, Wait, Component_) VALUES ('MAD_Service', 'Service name', '160', '', '1', '"
    + componentName + "')"
    Set view = database.OpenView(query)
    : CheckError
    view.Execute : CheckError
    ' Update the Service Entry to stop and delete service while installing
    query = "INSERT INTO ServiceControl (ServiceControl, Name, Event, Arguments, Wait, Component_) VALUES ('MAD2_Service', 'Service name', '10', '', '1', '"
    + componentName + "')"
    Set view = database.OpenView(query)
    : CheckError
    view.Execute : CheckError
    *clip*clip*clip*
    We can uninstall service first by following Strategy 2, but then we lose transactional support.
    So, Simon did I encourage you to change your code a bit?:)
    And, btw, if you don't want to change the strategy, please don't rely on SequenceID in MSI table, it can be change, you have to get the at the runtime.
    Hope it will help to everybody!
    See also more advanced explanation of how MSI works
    here.
    Truly yours, Marat

  • How to deal with credentials for external applications using a Java Client/

    Hi Guys,
    This is the case. I am integrating an external application with an ADF Application. I have implemented some programmatic ViewObjects that are being filled up by a REST Java Client Wrapper. Everything is working fine but the issue is that the credentials the wrapper is using are hard coded inside the java class. I am thinking to ask for the credentials at the beginning of my taskflow and then store them somewhere and use them then to create my client wrapper (passing them in the constructor).
    However, I don't know if my approach is good and I would like you to share your experiences or how to deal with this.
    Regards

    You can use Credential Store Framework to store the credentials securely in the weblogic server instead of hardcoding in the java class.
    The Credential Store Framework:
    - enables you to manage credentials securely
    - provides an API for storage, retrieval, and maintenance of credentials in different back-end repositories
    Check the documentation on CSF API -
    http://docs.oracle.com/cd/E29505_01/core.1111/e10043/devcsf.htm
    Major Steps -
    1. Create a credential map and key in em console to store the password (http://docs.oracle.com/cd/E25054_01/core.1111/e10043/csfadmin.htm)
    2. Use CSF API to retrieve the stored password
    3. In jazn-data.xml give permissions to access CSF key and map

  • How to deal with payment of vendor to us (credit notes I guess)

    Normally I use F07 for outgoing payments, it's linked to vendors, but how to deal with incoming payments of vendors?
    We got paid two invoices(credit notes I guess) and I want to put them under the right vendor, but how do I do it?
    I can't use F07 I think because I need to use positive amounts (for normal purchase invoices) and can't use negative amounts in this transaction. F08 is for ingoing payment but that session is linked to customers I thought..not for vendors?
    How to deal with this kind ot transactions? What transaction can I use the best for payments like this
    (we got paid an amount , no invoices yet, but I know the vendor).

    whith F-02 it is possible I noticed.

Maybe you are looking for

  • Can't move files in finder windows (!)

    When I drag a file, such as an image, from a folder to the desktop, (or to another folder) it creates an alias instead. I can no longer move any files on my computer, after installing Lion. What the ?! (This behavior is the same whether I use my Appl

  • Problem when printing Alv Tree Report in back ground

    Hi, I am using SUBMIT ...TO SAP-SPOOL WITHOUT SPOOL DYNPRO with GET_PRINT_PARAMETERS FM.Its working fine. My problem is that my SUBMIT report have TREE STRUCTURE as output so when i am running my program one blank screen is coming with heading DISPLA

  • Plan cost of Valuated Sales order

    Hello, I am using Valuated Sales order and wanted to see the Plan cost is sales order report KKBC_KUN. a) When i use a costing variant in the Requirement class with automatic marking, i am able to see the plan costs in the sales order report. b) Howe

  • Problema memoria con Database Connection Toolkit

    Aprendo e chiudendo una connessione verso una banca dati tipo MySQL viene incrementata la memoria occupata da LabVIEW fino a saturare la memoria. (vedi esempio allegato) Attachments: bug_sql.zip ‏178 KB

  • Updating a flag !!

    Hi, I have a file which contains some FLAGS for oracle sid's. , as shown below ,in which I want to modify a FLAG's value through script. Can anybody help me in writing that command which will do the real updation based on the SID's value. SID1:Y:Y:N