Urgent: Servlets -- property change error

          I am new to Servlets and I have the following problem
          I installed web logic server 5.1 on win 98, the installation was successful and the web server is up and running.
          I wrote a small servlet and saved in the weblogic/myserver/servletclasses directory.
          I started the server console and tried to load the Servlet and got the following error:
          Property change error for property "Load"
          Unable to load servlet.
          Please help me resolving this issue.
          Please let me know if I need to set some properties.
          Thanks
          

Basically how can I get the property change to run only after the app is visible?Add the PropertyChangeListener to the tabbed pane after the JFrame is visible.
If you need further help then you need to create a "Short, Self Contained, Compilable and Executable, Example Program (SSCCE)",
see http://homepage1.nifty.com/algafield/sscce.html,
that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided.

Similar Messages

  • Property change listener error with jtabbedpane

    Greetings
    I have a property change listener on my jtabbedpane (2 panes (index 0 of course and index 1). my problem is when i want to run my app it gives me a java null pointer exception. I believe it is b/c it is starting the app and it see the property change of the first tab at index 0 which is the first tab it sees and tries to run the method that makes the buttons visibility to true. but the buttons are already true. Basically how can I get the property change to run only after the app is visible? I made the buttons visibility false on startup to see if it can run the app but I still got the same error. I hope I am clear enough, if I am not please and I will attempt to reiterate the situation better. thanks for anyones help.
    tabs = new JTabbedPane();
              tabs.addChangeListener(this);
              tabs.setPreferredSize(new java.awt.Dimension(800, 400));
              tabs.addTab("Q", tab1.getMa());
              tabs.addTab("R", tab2);
      public void stateChanged(ChangeEvent changeEvent) {
                JTabbedPane sourceTabbedPane = (JTabbedPane) changeEvent.getSource();
               int index = sourceTabbedPane.getSelectedIndex();
               //System.out.println("Tab changed to: " + sourceTabbedPane.getTitleAt(index)+"  Index: "+index);
               if (index==1){
                         changeButtonsF();
                             ///makes buttons false on side panel
               else if (index==0){
                    changeButtonsT();
                     //makes buttons true on side panel
           }

    Basically how can I get the property change to run only after the app is visible?Add the PropertyChangeListener to the tabbed pane after the JFrame is visible.
    If you need further help then you need to create a "Short, Self Contained, Compilable and Executable, Example Program (SSCCE)",
    see http://homepage1.nifty.com/algafield/sscce.html,
    that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided.

  • PCD inspector (Mass property change)

    Hi!
    We encountered strange "problem".
    We have a role with lots of KM iviews, those iviews are pointing to a different places in KM.
    In some of them path property is like "/documents/Public Documents/...", in other ones it's like "/documents/Public%20Documents/...". It happened because initial error in path, that then was reproduced by delta links (and those links were then edited, so it's not possible to chenge only initial object).
    So, the question is... Is it possible to somehow mass-change only a part of 'path' property? Something like "change all 'Public%20Documents' to 'Public Documents' in all iViews in a given folder".
    Am I describing question clear?
    Thanks in advance for help!
    Regards,
    DK

    Hi Dennis,
      Please go thru the  PDF<a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4ee6d3ee-0901-0010-658f-d9b21cdebce4">PCD inspector</a>.
    It describes how to do the mass property change.The change which u are refering is possible. An example is given for the same under the section 'Mass property change' under 'General PCD Inspector capabilities'.
    Hope this helps.
    Regards,
    Sharadha

  • Property List error: Unexpected character b at line 1 / JSON error: JSON text did not start with array or object and option to allow fragments not set.

    Hi,
    I have a MBP 13' Late 2011 and Yosemite 10.10.2 (14C1514).
    Until yesterday, I was using Garmin ConnectIQ SDK and all was working fine.
    Yesterday, I've updated my system with latest security updates and Xcode updates too (Version 6.2 (6C131e)).
    Since, I can't launch the ConnectIQ simulator app, I have this message in console :
    8/04/2015 15:19:04,103 mds[38]: There was an error parsing the Info.plist for the bundle at URL Info.plist -- file:///Volumes/Leto/connectiq-sdk-mac-1.1.0_2/ios/ConnectIQ.bundle/
    The data couldn’t be read because it isn’t in the correct format.
    <CFBasicHash 0x7fa64f44e9a0 [0x7fff7dfc7cf0]>{type = immutable dict, count = 2,
    entries =>
      0 : <CFString 0x7fff7df92580 [0x7fff7dfc7cf0]>{contents = "NSDebugDescription"} = <CFString 0x7fa64f44f0a0 [0x7fff7dfc7cf0]>{contents = "Unexpected character b at line 1"}
      1 : <CFString 0x7fff7df9f5e0 [0x7fff7dfc7cf0]>{contents = "kCFPropertyListOldStyleParsingError"} = Error Domain=NSCocoaErrorDomain Code=3840 "The data couldn’t be read because it isn’t in the correct format." (Conversion of string failed.) UserInfo=0x7fa64f44eda0 {NSDebugDescription=Conversion of string failed.}
    I have looked at this file and it looks like a binary plist
    bplist00ß^P^V^A^B^C^D^E^F^G^H
    ^K^L^M^N^O^P^Q^R^S^T^U^V^W^X^Y^Z^[^\^]^^^_ !"$%&'()'+,^[\CFBundleNameWDTXcodeYDTSDKName_^P^XNSHumanReadableCopyrightZDTSDKBuild_^P^YCFBundleDevelopmentRegion_^P^OCFBundleVersi    on_^P^SBuildMachineOSBuild^DTPlatformName_^P^SCFBundlePackageType_^P^ZCFBundleShortVersionString_^P^ZCFBundleSupportedPlatforms_^P^]CFBundleInfoDictionaryVersion_^P^RCFBundleE    xecutableZDTCompiler_^P^PMinimumOSVersion_^P^RCFBundleIdentifier^UIDeviceFamily_^P^QDTPlatformVersion\DTXcodeBuild_^P^QCFBundleSignature_^P^ODTPlatformBuildYConnectIQT0611[iph    oneos8.1o^P-^@C^@o^@p^@y^@r^@i^@g^@h^@t^@ ^@©^@ ^@2^@0^@1^@5^@ ^@G^@a^@r^@m^@i^@n^@.^@ ^@A^@l^@l^@ ^@r^@i^@g^@h^@t^@s^@ ^@r^@e^@s^@e^@r^@v^@e^@d^@.V12B411RenQ1V14C109Xiphoneos    TBNDLS1.0¡#XiPhoneOSS6.0YConnectIQ_^P"com.apple.compilers.llvm.clang.1_0S8.1_^P^Tcom.garmin.ConnectIQ¡*^P^AW6A2008aT????^@^H^@7^@D^@L^@V^@q^@|^@<98>^@ª^@À^@Ï^@å^A^B^A^_^A?^AT^    A_^Ar^A<87>^A<96>^Aª^A·^AË^AÝ^Aç^Aì^Aø^BU^B\^B_^Ba^Bh^Bq^Bv^Bz^B|^B<85>^B<89>^B<93>^B¸^B¼^BÓ^BÕ^B×^Bß^@^@^@^@^@^@^B^A^@^@^@^@^@^@^@-^@^@^@^@^@^@^@^@^@^@^@^@^@^@^Bä
    I guess it is a normal format but my system seems to be unable to read binary plist ?
    I tried some stuff with plutil
    plutil -lint Info.plist
    Info.plist: Unexpected character b at line 1
    Same for convert
    plutil -convert xml1 Info.plist
    Info.plist: Property List error: Unexpected character b at line 1 / JSON error: JSON text did not start with array or object and option to allow fragments not set.
    I also try to download a fresh version of the connectIQ SDK and no changes.
    Any idea ?
    Thanks

    Step by step, how did you arrive at seeing this agreement?

  • BUG: Changing "alpha" with AS breaks other property changes on timeline

    I've discovered a bug in AS3 where a Movie Clip that spans 2 different frames, but its properties are different in each frame (i.e. it has been repositioned on the 2nd frame but the instance name is the same), and the MC's alpha is changed using ActionScript prior to moving the timeline from one frame to the other, the timeline moves, but the MC does NOT actually move.
    I'm experiencing this error in a professional project that I'm working on so I cannot post the actual FLA, but here is a little mock up that I made:
    stop()
    currentFrameTxt.text = currentLabel
    var alphaChange:Number = .1
    var alphaMax:Number = 1
    var alphaMin:Number = 0
    alphaUpBtn.addEventListener(MouseEvent.CLICK, alphaUp)
    function alphaUp(evt:MouseEvent) {
        box.alpha += alphaChange
        if (box.alpha > alphaMax) {
            box.alpha = alphaMax
    alphaDownBtn.addEventListener(MouseEvent.CLICK, alphaDown)
    function alphaDown(evt:MouseEvent) {
        box.alpha -= alphaChange
        if (box.alpha < alphaMin) {
            box.alpha = alphaMin
    leftBtn.addEventListener(MouseEvent.CLICK, gotoLeft)
    function gotoLeft(evt:MouseEvent) {
        if (currentLabel != "left") {
            gotoAndStop("left")
        currentFrameTxt.text = currentLabel
    rightBtn.addEventListener(MouseEvent.CLICK, gotoRight)
    function gotoRight(evt:MouseEvent) {
        if (currentLabel != "right") {
            gotoAndStop("right")
        currentFrameTxt.text = currentLabel
    On Frame 1 (labeled "left") is an MC with the instance name "box" and the box's position is on the left side of the stage. On Frame 11 (labeled "right") is the same instance "box", but its position has been moved to the right side of the stage.
    I have a pair of buttons ('leftBtn" and "rightBtn") that toggle the timeline between the "left" frame and the "right" frame.
    I also have a pair of buttons ("alphaUpBtn" and "alphaDownBtn") that change the box's "alpha" property.
    If you click "leftBtn" or "rightBtn" before you click the "alphaUp" or "alphaDown" buttons, the box moves left or right as one would expect. BUT if you click either "alphaUpBtn" or "alphaDownBtn", the box does NOT move if you then click "leftBtn" or "rightBtn" even though the timeline is indeed moving (which I am confirming using the "currentFrameTxt" dynamic text box).
    I have tried this example by changing other properties on the 2 frames and they too stop working once you change the "alpha" using AS. I have also tried change other propeties using AS, but alpha is the only property to breaks the other properties changed by moving the timeline.
    Why would changing the "alpha" property suddenly break all other property changes on the timeline?
    Now I know that one work-around for this bug is to simply change the box's position dynamically by setting the x and y positions, but this is NOT an option for this project because it is very important that the client be able to manually position the artwork on each frame by hand.
    This is a serious bug and I'm wondering if anyone else has encountered it before and if they know of a viable workaround.

    I did some more testing by changing other properties of the box with AS and it appears that for most properties, like alpha, x, y, rotation, width, height, etc, if they are changed with AS, then the properties of the MC can no longer be changed by the timeline settings. Changing the "visible" property has no effect, however.
    It seems that this "bug" is not really bug so much as it is a fundamental misunderstanding on my part about the fact that you CANNOT change the properties of a symbol using BOTH ActionScript and timeline properties. I can only change the properties of using either the timeline OR ActionScript because as soon as I change the properties using AS, the MC becomes an AS-controlled object and can no longer be controlled via the timeline. I guess that makes sense, but it is frustrating nonetheless.
    Colin, your suggestion to nest the MC inside another MC is indeed a successful workaround, at least for this little box example (see fixed FLA attached with the "left" and "right" timeline property changes nested inside the box itself) and I will see if it is a viable solution for my actual application. I'm guessing it will not be a problem for my client to simply navigate inside a parent MC in order to adjust the positions of the now-nested MC in question.
    Thanks for the help.

  • IllegalStateException: Internal Servlet Session Process Error Found!

              I keep getting the annoying error as listed, and the server also keeps reporting
              that I can only connect from 0 unique ip addresses. Has anybody else seen these
              type of frustrations on 8.1 sp2, or can explain them.
              With as much detail omitted for simplicity;
              Frustration 1.
              I have a 8sp2 server running all ok, occasionally after a redeploy of an ear file
              I attempt to load a jsp file, and the error below is thrown.
              The JSP has a bean which is session based, and as from following the stack trace
              it is around some weblogic code which tests if my license allows access to the
              http session (on a developer license). I then have to start another server instance
              and do a deployment of a v.simple war, and access this, then deploy the same war
              to the broken server and access that, then the initial jsp works fine. no code
              changes just environment stops, starts and redeploys!
              Frustration 2
              Server runs ok, tray and connect from two machines (I have an ldap server that
              wants to 'broadcast' messages to my server), error of too many connections.
              The ip connection issues can in most cases be removed with a server restart.
              EXCEPTION TRACE
              java.lang.IllegalStateException: Internal Servlet Session Process Error Found!
              With the following stack trace:
              java.lang.IllegalStateException: Internal Servlet Session Process Error Found!
                   at weblogic.servlet.internal.session.SessionData.checkProcess(SessionData.java:1148)
                   at weblogic.servlet.internal.session.SessionData.setAttribute(SessionData.java:501)
                   at jsp_servlet._security.__changeprofile._jspService(__changeprofile.java:135)
                   at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
                   at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:446)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
                   at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
                   at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
                   at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
                   at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
                   at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
              

              I have the same problem. Could any one help us?
              "David" <[email protected]> wrote:
              >
              >I keep getting the annoying error as listed, and the server also keeps
              >reporting
              >that I can only connect from 0 unique ip addresses. Has anybody else
              >seen these
              >type of frustrations on 8.1 sp2, or can explain them.
              >
              >With as much detail omitted for simplicity;
              >
              >Frustration 1.
              >I have a 8sp2 server running all ok, occasionally after a redeploy of
              >an ear file
              >I attempt to load a jsp file, and the error below is thrown.
              >
              >The JSP has a bean which is session based, and as from following the
              >stack trace
              >it is around some weblogic code which tests if my license allows access
              >to the
              >http session (on a developer license). I then have to start another
              >server instance
              >and do a deployment of a v.simple war, and access this, then deploy the
              >same war
              >to the broken server and access that, then the initial jsp works fine.
              > no code
              >changes just environment stops, starts and redeploys!
              >
              >Frustration 2
              >Server runs ok, tray and connect from two machines (I have an ldap server
              >that
              >wants to 'broadcast' messages to my server), error of too many connections.
              >The ip connection issues can in most cases be removed with a server restart.
              >
              >
              >EXCEPTION TRACE
              >
              >java.lang.IllegalStateException: Internal Servlet Session Process Error
              >Found!
              >
              >With the following stack trace:
              >
              >java.lang.IllegalStateException: Internal Servlet Session Process Error
              >Found!
              >     at weblogic.servlet.internal.session.SessionData.checkProcess(SessionData.java:1148)
              >     at weblogic.servlet.internal.session.SessionData.setAttribute(SessionData.java:501)
              >     at jsp_servlet._security.__changeprofile._jspService(__changeprofile.java:135)
              >     at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
              >     at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
              >     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
              >     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:446)
              >     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
              >     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
              >     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
              >     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
              >     at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
              >     at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
              >     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
              >     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
              >
              >
              

  • EAS7.1 aso dimension property change using rule file.

    I have a outline having 1 dimension "Terms" as a account type and data storage as "data store".Now i am trying to load members using rule file.
    Outline: ABC (Active Alias Table: Default)
    Scenario Stored <2>
    Currency Stored
    Terms Accounts
    Now i have ceated a rule file using source file like
    "Terms","T1","Terms Hierarchies","~O","",""
    "T1","TOT"," ","~O","",""
    "T1","OTH","","~O","",""
    "OTH","Loaded Days","","~","",""
    "OTH","Loaded FX","","~","","Loaded.FX",""
    "TOT","R99"," ","~ "," "," "
    "R99","R90","","+ "," "," "
    "R90","R901","","+ "," "," "
    i am using parent child relationship and i hav cheched the option s
    like "allow property changes" and allow formula changes....in dimension build settings..the rule shows valid ..but during dimension member load it is giving me the folowing error
    "\\Outline verification errors:
    \\Member Terms has no value source. Aggregate storage outlines require non level-0 members in accounts dimension to be either non-stored members or have internal/external formula.
    \\Member [Terms] has an unspecified error.
    but if i am removing "~O" property with "O" only in data source file then the dimension member load is suuccessful...
    wat i feel is anyhow the "dimension property change is not being set"...
    can any one please tellme wat option i m missig to check in rule file..??
    your opinion and suggestion will be highly appreciated.....

    The documentation explains the difference with examples, now I was going to post the link but I might as well post the info from the link.
    Joining Fields
    You can join multiple fields into one field. The new field is given the name of the first field in the join. For example, if a data source has separate fields for product number (100) and product family (-10), you must join the fields (100-10) before loading them into the Sample.Basic database.
    Creating a Field by Joining Fields
    You can join fields by placing the joined fields into a new field. This procedure leaves the original fields intact. Creating a field is useful if you need to concatenate fields of the data source to create a member.
    For example, if a data source has separate fields for product number (100) and product family (-10), you must join the fields (100-10) before you load them into the Sample.Basic database. If, however, you want to preserve the two existing fields in the data source, you can create a field (100-10) using a join. The data source now includes all three fields (100, -10, and 100-10).
    For other rule options read - http://download.oracle.com/docs/cd/E17236_01/epm.1112/esb_dbag/ddlfield.html
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Shared Member: Global Property Change

    Hi,
    I am working in DRM( Web Version) 11.1.2.1. I have some issue with Shared Member Property change.
    Is there any way to restrict/change the Shared member Global property value without changing its base member value? Is there any system preference for this?
    If anybody know any other way to restrict it than please tell me, its urgent.
    Thanks in advance
    Rotesh Gupta

    I don't really understand your question, you are talking about BSO loading dimensions then extract then ASO, what actually is your question?
    If it is there a property for shared members then no there is not, here are the list of valid member property codes - http://download.oracle.com/docs/cd/E17236_01/epm.1112/esb_dbag/dotrules.html#dotrules_2
    If you want to understand how to build shared members then have a read of - http://download.oracle.com/docs/cd/E17236_01/epm.1112/esb_dbag/dotdimb.html#dotdimb1061244
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • [svn:fx-4.0.0] 13531: * Fixed invalid property reference error reporting by postponing the

    Revision: 13531
    Revision: 13531
    Author:   [email protected]
    Date:     2010-01-15 12:50:59 -0800 (Fri, 15 Jan 2010)
    Log Message:
    Fixed invalid property reference error reporting by postponing the
      validation until prelink when the MxmlDocument's type is available.
    QE notes:
    Doc notes:
    Bugs: SDK-22995, SDK-24738
    Reviewer: Gaurav, Darrell
    Tests run: checkintests, mxmlcunit
    Is noteworthy for integration: no
    Code-level description of changes:
      modules/compiler/src/java/flex2/compiler_en.properties
        Renamed css.StyleDef.InvalidPropertyReference to
        css.StylesContainer.InvalidPropertyReference.
      modules/compiler/src/java/flex2/compiler/css/StyleDef.java
        Removed InvalidPropertyReference checking from processReference().
      modules/compiler/src/java/flex2/compiler/css/StylesContainer.java
        Modified setMxmlDocument() to store a reference to it's QName.
        Modified validate() to iterate over all style properties and to
        call validatePropertyReferences() if mxmlDocumentQName is not
        null.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22995
        http://bugs.adobe.com/jira/browse/SDK-24738
    Modified Paths:
        flex/sdk/branches/4.0.0/modules/compiler/src/java/flex2/compiler/css/StyleDef.java
        flex/sdk/branches/4.0.0/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java
        flex/sdk/branches/4.0.0/modules/compiler/src/java/flex2/compiler_en.properties

    Hi
    yes, I had the same issue and I found a solution.
    You need to request a patch for BUG 9212862 (already corrected in WLS 10.3.3) and do the follwing:
    javax.xml.ws.BindingProvider provider = (javax.xml.ws.BindingProvider)port;
    java.util.Map context = provider.getRequestContext();
    context.put(weblogic.wsee.jaxrpc.WLStub.POLICY_COMPATIBILITY_PREFERENCE, weblogic.wsee.jaxrpc.WLStub.POLICY_COMPATIBILITY_MSFT);      
    This will cause the SecurityMessageArchitect class of WLS to not send the SecurityTokenReference in the Soap security header.
    Please note that is evidently a non-comformity to the specs of microsoft:
    Please give a look at
    http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0.pdf (8.3 Signing Tokens)
    and also at:
    http://www.oasis-open.org/committees/download.php/16768/wss-v1.1-spec-os-SAMLTokenProfile.pdf
    (3.4 Identifying and Referencing Security Tokens)
    A SAML key identifier reference MUST be used for all (local and remote) references to SAML 1.1
    assertions. [...]
    All conformant implementations MUST be able to process SAML assertion references occurring in a
    <wsse:Security> header or in a header element other than a signature to acquire the corresponding
    assertion. A conformant implementation MUST be able to process any such reference independent of the
    confirmation method of the referenced assertion.
    It follows that the .NET 3.5 is a non conformat implementation: I would gladly know which is the position of Microsoft on that.
    ciao
    carlo

  • Change error message to warning message

    Hi Experts,
    How can we change error message to warning message.
    Eg: T-code : SE91 shows the message. If i want to change message class PG, message no 26 error to warning what will be the process.
    Regards
    Ratan

    Hi Ratan,
    Message class PG is used in the below mentioned Standard SAP Methods and Includes, So it is not suggested to change the SAP standard code.
    Regards,
    Raja Sekhar

  • Change Error Message to Warning Message in GL account

    Hi Experts,
                      I want to Change Error Message to Warning Message In the GL Account - FH142.
    What is the Transcation Code for this.

    Hi,
    Go to transaction code OBMSG and give application area as FH and create new condition for the message 142.
    SAP will support such kind of changes.
    Regards,
    Sankar

  • Urgent ---group by syntax error

    This is my syntax as below.But it doesn't work.Does anyone can tell me what's problem ? or it have another way to solve this quuestion? thanks .
    sql syntax:
    select a.txdate,a.costype,sum(cosamt) * (1+a.cosrate) as costamount
    from sales_cost a
    where a.txdate between '2003-01-01' and '2003-02-01'
    group by a.txdate,a.costype;

    Although more specifics might have helped, I am assuming based on the title of the post: "urgent ---group by syntax error" and my test of the original code that I have identified the error. See the example below for how the original code produces a group by error and how the solution I provided executes without error.
    SQL> -- test data:
    SQL> SELECT * FROM sales_cost
      2  /
    TXDATE      COSTYPE    COSAMT   COSRATE                                                            
    03-JAN-03         1         3        .5                                                            
    03-JAN-03         1         4       .25                                                            
    03-JAN-03         2         4       .75                                                            
    04-JAN-03         3         3        .5                                                            
    04-JAN-03         4         4       .25                                                            
    04-JAN-03         4         4       .75                                                            
    6 rows selected.
    SQL> --
    SQL> --
    SQL> -- wrong:
    SQL> SELECT   a.txdate, a.costype,
      2             SUM (a.cosamt) * (1 + a.cosrate) AS costamount
      3  FROM     sales_cost a
      4  WHERE    a.txdate BETWEEN '2003-01-01' AND '2003-02-01'
      5  GROUP BY a.txdate,a.costype
      6  /
             SUM (a.cosamt) * (1 + a.cosrate) AS costamount
    ERROR at line 2:
    ORA-00979: not a GROUP BY expression
    SQL> --
    SQL> --
    SQL> -- correct:
    SQL> SELECT   a.txdate, a.costype,
      2             SUM (a.cosamt * (1 + a.cosrate)) AS costamount
      3  FROM     sales_cost a
      4  WHERE    a.txdate BETWEEN TO_DATE ('2003-01-01', 'YYYY-MM-DD')
      5                   AND     TO_DATE ('2003-02-01', 'YYYY-MM-DD')
      6  GROUP BY a.txdate,a.costype
      7  /
    TXDATE      COSTYPE COSTAMOUNT                                                                     
    03-JAN-03         1        9.5                                                                     
    03-JAN-03         2          7                                                                     
    04-JAN-03         3        4.5                                                                     
    04-JAN-03         4         12                                                       

  • Getting  javax.servlet.ServletException: General error

    Someone pls help me....
    I am getting General Error while inserting a row in database.I am not able to solve this error...I would really appreciate your help...Thanks in advance...
    Following is my Code ::
    <%! int countBts,countBts1,mmm; %>
    <%! String msg; %>
    <%
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    String dataSourceName = "ProjData";
    String dbURL = "jdbc:odbc:" + dataSourceName;
    Connection conn = DriverManager.getConnection(dbURL, "","");
    int dataMgx= Integer.parseInt(request.getParameter("allocMgxId"));
    int dataFrsm=Integer.parseInt(request.getParameter("allocFrsmSlotNo"));
    int dataPort=Integer.parseInt(request.getParameter("allocPortNo"));
    int dataBts=Integer.parseInt(request.getParameter("bts1"));
    int dataRpm=Integer.parseInt(request.getParameter("allocRpmNo"));
    int dataMultiLink=Integer.parseInt(request.getParameter("allocMultiLinkNo"));
    String dataPortStatus= "vacant";
    Statement myStat1 = conn.createStatement();
    myStat1.execute("select count(BTS_ID) from MGX where BTS_ID=" + dataBts);
    ResultSet result1 = myStat1.getResultSet();
    if(result1.next())
         countBts=Integer.parseInt(result1.getString(1));
    countBts1=countBts+1;
    if(countBts > 6)
         msg="Configuration of more than 6 spans not allowed";
    %>
    <h3><%=msg %></h3>
    <%}
    else
    PreparedStatement stmt1 =
    conn.prepareStatement(("Insert into MGX (BTS_ID,Port_Status,MGX_Num,Port_No,FRSM_No,RPM_Card,Multi_Link) values ("+dataBts+",'"+dataPortStatus+"',"+dataMgx+","+dataPort+","+dataFrsm+","+dataRpm+","+dataMultiLink+")"));
    mmm =     stmt1.executeUpdate();
    stmt1.close();
    if(mmm == 1)
    msg="One SpanRecord successfully added in the Database ";
    else
    msg="Failure in Update Operation";     
         result1.close();
         myStat1.close();
         conn.close();           
    %>
    The error I am getting is as follows::
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: General error
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:867)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:800)
         org.apache.jsp._5_jsp._jspService(_5_jsp.java:179)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    root cause
    java.sql.SQLException: General error
         sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6987)
         sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7115)
         sun.jdbc.odbc.JdbcOdbc.SQLExecute(JdbcOdbc.java:3150)
         sun.jdbc.odbc.JdbcOdbcPreparedStatement.execute(JdbcOdbcPreparedStatement.java:214)
         sun.jdbc.odbc.JdbcOdbcPreparedStatement.executeUpdate(JdbcOdbcPreparedStatement.java:136)
         org.apache.jsp._5_jsp._jspService(_5_jsp.java:121)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    Pls Help me

    Thanks for the reply buddy...
    As per your reply....I have tried modifying my Preparedstatement properly with ? and then binding values...
    But even after doing this i am still getting the same error....
    I am clueless...
    Following is my modified Prepared Statement ::
    conn.prepareStatement(("Insert into MGX (BTS_ID,MGX_Num,Port_No,FRSM_No,RPM_Card,Multi_Link,Port_Status) values (?,?,?,?,?,?,?)"));
    stmt1.setInt(1,Integer.parseInt(request.getParameter("bts1")));
    stmt1.setInt(2,Integer.parseInt(request.getParameter("allocMgxId")));
    stmt1.setInt(3,Integer.parseInt(request.getParameter("allocPortNo")));
    stmt1.setInt(4,Integer.parseInt(request.getParameter("allocFrsmSlotNo")));
    stmt1.setInt(5,Integer.parseInt(request.getParameter("allocRpmNo")));
    stmt1.setInt(6,Integer.parseInt(request.getParameter("allocMultiLinkNo")));
    stmt1.setString(7,"Allocated");
    Awaiting for a solution....

  • How to force updatedisplaylist in a skin when custom property changes

    Hi Folks,
    I have created a custom component based on a Spark Button.  In that custom component I have added a single, public, bindable property - let's call it Fred.
    I also have a custom skin, based on the Spark Button skin.  It's basically just like the delivered skin, just a bit different graphics stuff.  I have applied the custom skin to the custom button component.  So far, so good.  However...
    When a user action causes the Fred property to change on a custom button instance, I need my custom skin to re-draw something.  It appears that I need the skin's updateDisplayList function to fire.  Unfortunately, it appears that the only time that it fires is when "real" properties are changed, like 'left' or 'width'.  How can I get the custom skin to updateDisplayList when this fake, custom property changes?
    p.s. - the custom skin can 'read' the custom Fred property just fine.  And, if I set the Fred property and then 'mouse over' the custom button instance, the updateDisplayList fires...too late of course, but it does fire.
    I have read the docs, but there is not much written about updateDisplayList, or when it fires, or how to make it fire.
    Thanks,
    -David

    Good question...in my skin's 'creationComplete' event I call a function in the skin.  That function 'evaluates' the host component's Fred propertey, and based on what it finds, it draws some stuff:
    protected function doSpecialDrawing():void
         var hostFred:String = hostComponent.Fred;
         if (hostFred == "certain_value")
              //set some property in one of the path objects in my skin to a certain value
         else if (hostFred == "other_value")
              //set some property in one of the path objects in my skin to some other value
    When I created the skin, I did not anticipate the need to dynamically respond to setting the Fred property/value.
    I've placed a call to the 'doSpecialDrawing' function inside the skin's updateDisplayList, but unfortunately, the updateDisplayList does not seem to get called in real-time when I set the Fred property in a custom button instance.
    I'm all ears here... still a beginner/novice with Flex...
    Thanks,
    -David

  • Signing a document, generates a "Timestamp signature property generation error:    Verification error."

    I am getting this error message when I sign my documents. Especially when I try and create a second or third signature on a document.
    I have just upgraded to Reader11.0.09 and then when I got the error, I went back to Reader 11.0.08 and then back to Reader 11.0.07 but all are giving the error. The document gets signed but a pop up box shows the "Timestamp signature property generation error: verification error"
    I have the settings pointing to our timestamp server under Preferences > Document Timestamping  > Server Settings.
    Under signature verification preferences > Verification > Verification time, I have the "Secure time (timestamp) embedded in the signature" selected.
    It seems to work but is generating the error. If I open a new document and sign it sometimes it works without the error. Occasionally it produces the error on first signing. Mostly on second and third signatures on the page..
    Any ideas?

    you can mail me directly to [email protected], and I'll try to help.
    no guarenty :-)
    Tal
    [email protected]

Maybe you are looking for

  • When I Close firefox v34 I get nsAppShell:EventWindow firefox.exe instruction at "0x05d2230e referenced memory at "0x00000004". The memory could not be "read"

    Running Windows XP Pro SP3. Changed a monitor today and at some point afterward, every time I close Firefox, I receive the following Error Message "nsAppShell:EventWindow firefox.exe - Instruction at "0x05d2230e referenced memory at "0x00000004". The

  • Satellite L450 crashes for no obvious reason

    I have a two month old L450 running "windows7". Within a week of purchase and for no obvious reason, the screen went black with a blue message box in the centre. It only remains on the screen for a few seconds before shutting down so I don't have cha

  • Experts! did u face this prob!

    I want to give the user a flexibility to filter the data using select-options. But, I want to give it in a Dialog/screen. Not in a Selection-screen!! Please understand the difference between selection-screen(automatically generated screen) and screen

  • Configuration of external handling unit number range

    Hello everyone, I am working on a project that includes receiving of handling units from outside of our SAP system in EAN128 format, and am running into some challenges in setting up an appropriate external handling unit number range.  The process wi

  • External HD to Share projects

    I have been doing some video/dvd projects for someone and will be doing more. What I want to be able to do is to save the iMovie HD-6 projects to an external HD to give to him for future use and possible future editing. He currently dosent have a Mac