Mdx queries work different on 2008R2 and 2012
Hi all,
we have migrated our SSAS database from 2008R2 to 2012 recently. And I found strange thing. The mdx query below (generated by Cognos) worked quite fine on 2008R2
WITH
MEMBER [Territory].[Territories].[XQE_MDF_CM0] AS IIF(COUNT(INTERSECT(DESCENDANTS([Product].[Products].CURRENTMEMBER, [Product].[Products].[Product]), XQE_NS0) AS [XQE_SA0] , IncludeEmpty) > 0, AGGREGATE([XQE_SA0], ([Territory].[Territories].DEFAULTMEMBER)),
NULL)
SET XQE_NS0 AS FILTER([Product].[Products].[Product].MEMBERS, [Product].[Products].CURRENTMEMBER.PROPERTIES("MEMBER_KEY") = "713077" OR [Product].[Products].CURRENTMEMBER.PROPERTIES("MEMBER_KEY") = "857127" OR
[Product].[Products].CURRENTMEMBER.PROPERTIES("MEMBER_KEY") = "857128" OR [Product].[Products].CURRENTMEMBER.PROPERTIES("MEMBER_KEY") = "713080" OR [Product].[Products].CURRENTMEMBER.PROPERTIES("MEMBER_KEY")
= "717113" OR [Product].[Products].CURRENTMEMBER.PROPERTIES("MEMBER_KEY") = "856597" OR [Product].[Products].CURRENTMEMBER.PROPERTIES("MEMBER_KEY") = "857129" OR [Product].[Products].CURRENTMEMBER.PROPERTIES("MEMBER_KEY")
= "713083")
SELECT
CROSSJOIN({[Date].[Time].[Month].&[201409]}, CROSSJOIN(HIERARCHIZE(GENERATE(XQE_NS0, ANCESTORS([Product].[Products].CURRENTMEMBER, [Product].[Products].[Brand]))), {[Measures].[QTD Sales Revenue]})) DIMENSION PROPERTIES PARENT_UNIQUE_NAME, PARENT_LEVEL
ON AXIS(0)
FROM [Nemesis]
WHERE ([Territory].[Territories].[XQE_MDF_CM0]) CELL PROPERTIES VALUE, CELL_ORDINAL, LANGUAGE, FORMAT_STRING
But on 2012 version there was an interesting thing
Result from (2008R2)
2014/09 2014/09
GALVUS GALVUSMET
QTD Sales Revenue QTD Sales Revenue
2346360.3062295 5550927.34167495
Result from (2012)
2014/09 2014/09
GALVUS GALVUSMET
QTD Sales Revenue QTD Sales Revenue
5550927.34167495 5550927.34167495
both results have been duplicated. Finding out a reason it looks like the where Clause which should filter products across first calc member works wrong. So when comment out where clause outcome looks right (I put all products from both brands by the way).
But clients have to choose products to filter.
I am just wondering if anyone encountered a similar issue, or
even if somebody have the solution.
Many thanks,
Denis.
Denis
In other words filter by set in WHERE clause is not working via calc member and aggregate function.
Any ideas guys?
Denis
Similar Messages
-
Hi,
In Operations Manager Console 2012 SP1 including RU2 I am trying to record a web session in Web Application Transaction Monitoring.
I have check that:
The add-on (Microsoft Web Recorder Helper) 64bit is Enabled.
The 64bit version of IE10 is running/launched. See this link for how to modify your registry key if needed: http://kevingreeneitblog.blogspot.co.uk/2012/01/scom-2012-recording-web-browser-session.html
I have tried both on a Windows 2008R2 and 2012 server, but the recorder is not showing up as can been seen from Kevin's Blog (link above).
Any Ideas?I managed to get this working on both Windows 8 IE10 and server 2012 IE10. Tested on SCOM 2012 SP1 UR2 and UR3. I've done this process in lab and production several times so hopefully this helps you out.
Checklist:
1. Ensure that the 64bit IE10 is launching when the "start web-capture" is started in SCOM.
2. Enable IE10 internet options:
a: Advanced - Security - Enable Enhanced Protected Mode
b: Advanced - Browsing - Enable third-party browser extensions
3. Close all running IE sessions and open the Registry Editor
4. Registry Change (No reboot needed)
- Browse to the following regkey:
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main
- Add a new DWORD called TabProcGrowth and set it to 0
5. Registry Change (No reboot needed)
- Browse to the following regkey:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Discardable\PostSetup\Component Categories64\
-You should see two subkeys labeled: (These are the cached BHO IE objects related to the Web Recorder)
{00021493-0000-0000-C000-000000000046}
{00021494-0000-0000-C000-000000000046}
- Delete only the above two mentioned keys (This will force IE to recache them next launch)
6. Try to start the web capture again from SCOM 2012 SP1.
7. When IE10 Launches enable the add-on again if you are prompted.
8. If you still don't see the Web-Recorder pane in IE you can now show it by:
- View - Explorer bars - Web Recorder -
Copies of Indesign books works different on MAC and PC ?
Hello everyone,
i try to follow many discussion about how to create a clean copy of an Indesign book indb (with different chapters which are individual indesign files) with no link to the old one.
I found many tricks like changing the name of the original folder or packaging the book for print, but i'm not really satisfy by this way.
The first way forced me to change the name of the original file each time i want to make a clean copy and the second way will not keep the structure of my folder and subfolders which are not included in the package.
It seems the real concern is more about how Indesign is able to manage absolute and relative path, and i also found some people asking Indesign only works with absolute path.
But, after many trials on Mac and PC, i was so surprised to check that on my MAC, thinks are working very well, when i make a copy of the original book folder exactly in the same location, the copy is not linked to the original file (that's what i want) !!!
But on PC it doesn't, the copy of the book is still linked to the original files.
Can someone tell me the difference between MAC and PC ?
Is it an option in Indesign to change that ? or is it related to th OS file system ?
Thanks a lot.
DatéHi Peter,
I opened the two books in indesign to compare the paths of the files in the books.
I just simply move the mouse over the indesign file in the book panel to check the path that appears in the yellow tooltip.
For example :
for the original BOOK_TECH.indb, the path of the file Trims.indd in the DOC_TECH folder is : /Users/UserName/Documents/DOC_TECH/MAIN_FILES/Trims.indd
for the copy BOOK_TECH.indb, the path of the file Trims.indd in the DOC_TECH2 folder is : /Users/UserName/Documents/DOC_TECH2/MAIN_FILES/Trims.indd
Another way to be sure of what i'm saying here is to open the file trims.indd in the original book and the same file in the copy. You will get 2 different files opened in Indesign with the same name of course.
I also try with a Mac book pro running MAC OS X 10.6.5, but it doesn't work (you will get the link to the original one). It seems to work or not, depending the OS
i'm curious to know why it is working on MacOS x 10.9 and not 10.6 and windows. Maybe there is a way to fix it with the OS settings ?
If you have the right answer, just let me know, because it could help a lot of people.
Thanks a lot.
Daté -
SQL Script working differently with 8i and 9i
Hi
I am facing strange problem with my simple SQL script called from a shell script. It bahaves differently with ORACLE 8.1.7.4 and 9.2.0.1. The machine is same.
sqlplus -s / @Tech.sql WKC625 11 11 '11 22' ""
This is working with 9i but it does't work with ORACLE 8.
Actually what happens is that the argument in single quotes (') is taken as 2 separate argument.
The Tech.sql is :
spool add
insert into TECH values ('&1','&2','&3','&4','&5','');
commit;
quit
I tried putting double quotes also. Is something got changes between ORACLE 8 and 9i.
Please help
SurendraAre you sure it works in 9?
If you are using UNIX, then the O/S will strip the quotes while processing the arguments. You need to use 2 single quotes around 11 22, just as you have around the empty string at the end.
I believe that Windows does the same, but I do not use windows.
John -
"save as" work differently in menue and batch
If I save in Illustrator CS4 a EPS File from the menue with "save as" and then I place the file in InDesign CS4 and adjust it proportionally to the frame it works fine.
The object is shortly to the frame.
The same file with the batch option (New Action "Save as"...) works the same but after adjust, it looks like not the object but the drawing area is fit to the Indesign frame.
Any ideas to work around, i have to convert and save more then 1000 files
Example file attached
best regardsI have another methode.
In Visual Basic, I can print the file as EPS and can control all parameters!!
It is not so elegant but it works without user interaction for a lot of files.
Maybe it is the solution for your problems too
Sub Illu()
Dim fs As FileSystemObject
Dim MyPrintOptions As New PrintOptions
Dim MyPrintJobOptions As New PrintJobOptions
Dim SourceN, DestN As String
Dim fso, Folder, CFiles, fc
Set fso = CreateObject("Scripting.FileSystemObject")
SourceN = InputBox("Source Ordner eingeben", "Source") 'input source path of the files to convert
DestN = InputBox("Dest Ordner eingeben", "Destination") 'input destination path of the files to convert
' or for fix path
SourceN = "C:\Dokumente und Einstellungen\wgepsch\Desktop\Grafik fertig\"
DestN = "C:\Dokumente und Einstellungen\wgepsch\Desktop\Grafik fertig\eps\"
Set Folder = fso.GetFolder(SourceN)
Set fc = Folder.Files
For Each CFiles In fc 'for all files in source path
Illustrator.Open SourceN & CFiles.Name 'open file in Illustrator
MyPrintJobOptions.File = DestN & Left(CFiles.Name, Len(CFiles.Name) - 4) & ".EPS" 'set destination path and filename
MyPrintJobOptions.PrintArea = aiArtworkBounds 'IMPORTEND this is the solution for the problem set the area to the artwork
'This parameters I dont need
'MyPrintJobOptions.ArtboardRange
'MyPrintJobOptions.BitmapResolution
'MyPrintJobOptions.Collate
'MyPrintJobOptions.Copies
'MyPrintJobOptions.Designation
'MyPrintJobOptions.File
'MyPrintJobOptions.Name
'MyPrintJobOptions.PrintAllArtboards
'MyPrintJobOptions.PrintAsBitmap
'MyPrintJobOptions.ReversePages
MyPrintOptions.PrintPreset = "EPS" ' this is my printer preset name in Illustrator where I stored alll other parameters
MyPrintOptions.JobOptions = MyPrintJobOptions
Illustrator.UserInteractionLevel = aiDontDisplayAlerts
ActiveDocument.PrintOut MyPrintOptions 'output as EPS file with my parameter
Illustrator.UserInteractionLevel = aiDisplayAlerts
ActiveDocument.Close 2 'close the file without save
Next
End Sub -
Group GL V/s GL Report is working differently in Production and Development
Dear Experts,
I have created one Report which displays Group GLs and its Cumulatve Balances. The Format is is as below :
Items Balances
1001 XXX
1002 XXX
1003 XXX
1100 XXX
With Report Report Interface and Go to option I have connected the above with another Report
If you right click on any of the Item say "1002", It will show its drill down Report that is Group Gl Wise GL, as below
Output 1
Items GL A/c Balances
1002 XXX
10021 XXX
10022 XXX
If you Right Click on the Heading "Item", It show display all Items with its GL Account like
Output 2
Items GL A/c Balances
1001 XXX
10011 XXX
10012 XXX
10013 XXX
1002 XXX
10021 XXX
10022 XXX
1003 10031 XXX
10332 XXX
10033 XXX
The Above output 1 and Output 2 works in Development, but in Production only Output 1 (i.e. Selected one Items with its GL Account) works, Output 2 (i.e. all Items with its GL Account) does not work in Production System.
Kindly let me know whatt could be the reason and its resolution ????
Regards
Ritesh M
Edited by: Ritesh M on Jan 6, 2010 6:40 AMCheck two things in the production system:
1) Is the mapping between G/L group and G/L accounts correctly maintained?
2) Are there real postings on all the accounts which you have listed? -
Does the Math.Random() work differently in Firefox and Safari??
Hello,
I was wondering if anyone can help me with a problem I'm
running into using the math.random(). I'm using Flash CS3 and
created a very simple script to select random frames in a simple
movie. It works as expected in the CS3 environment and in Safari
but it doesn't work correctly in Firefox or in the DotNetNuke
module I am using. Here is the code:
i = Math.ceil(Math.random() * 3);
gotoAndPlay("Image"+i);
I would appreciate any help you can provide.Thanks for following up with me. Yes. When I test the movie
its works fine in Safari but not in Firefox and I don't have a clue
as to why. I hope that you can shed some light on this for me.
Thanks. -
MB51, download to excel works different for online and background.
Hi,
Have a question regarding excel download of MB51 in online mode against background.
If I run MB51 online, I can download it to an excel sheet that is easy to read and work with. Each column in the report in seperate column in excel.
If I run it in the background, try to download the spool to excel, I don't get the columns the same way as online report.
Ive tried changing the layout, downloading to excel, downloading to text and then dropping to excel, etc.
Why wont the download from a batch job work the same as online?
Any ideas or anyway to fix?Hi All,
I am also facing the same problem. When I download to Powerpoint, its getting downloaded properly and whn I download to excel, I am not able to download properly. I have 2 charts of the same report being displayd sde-by-side and under them I have a pivot table displayed in compound view. When downloaded to excel, the first chart is overlapping on top of the report in the excel.
Can anyone suggest if we have any options?
Thanks Shravan -
Output type works different when VF01 and VF02 ,why?
For Invoices related to a B2B order the output type ZB01 does not always come up during invoice creation time. If we go into the invoice via VF02 it will pop up immediate. But invoices are created by batch jobs and then not 100% of the ZB01 get created. Partners are complaining and need this to be 100% working.
what's the probable problem with it?Atish
I Searched 'VF02' already ,but there is no user exit to handle with it .
Maybe because it's B2B ,we can't find it in our SAP system ..
What's the next step should I do -
Out type for B2B invoice works different via VF01 and VF02
For Invoices related to a B2B order the output type ZB01 does not always come up during invoice creation time. If we go into the invoice via VF02 it will pop up immediate. But invoices are created by batch jobs and then not 100% of the ZB01 get created. Partners are complaining and need this to be 100% working.
what's the probable problem with it?
Appreciate your help ,Thanks in advanceAtish
I Searched 'VF02' already ,but there is no user exit to handle with it .
Maybe because it's B2B ,we can't find it in our SAP system ..
What's the next step should I do -
XMLTYPE.transform works differently in SQL and PL/SL
Hi, when I use XMLTYPE.transform in SQL, it's working fine - try this:
SELECT XMLTYPE.createXml('<data/>').transform(XMLTYPE.createXml('<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" version="1.0" encoding="UTF-8" omit-xml-declaration="yes" indent="yes" />
<xsl:template match="/">
<HTML>
<BODY>
<TABLE>
<TR><TD><INPUT readOnly="readOnly" size="19" maxLength="30" type="text" value="test..."/></TD></TR>
</TABLE>
</BODY>
</HTML>
</xsl:template>
</xsl:stylesheet>')).getClobVal() FROM DUAL;
But when i tried to do tha same in PL/SQL, i obtain error - try this:
DECLARE
lClob CLOB;
lXsl XMLTYPE;
lXml XMLTYPE;
BEGIN
lXml := XMLTYPE.createXml('<data/>');
lXsl := XMLTYPE.createXml('<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" version="1.0" encoding="UTF-8" omit-xml-declaration="yes" indent="yes" />
<xsl:template match="/">
<HTML>
<BODY>
<TABLE>
<TR><TD><INPUT readOnly="readOnly" size="19" maxLength="30" type="text" value="test..."/></TD></TR>
</TABLE>
</BODY>
</HTML>
</xsl:template>
</xsl:stylesheet>');
lClob := lXml.transform(lXsl).getClobVal();
END;
Error is:
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00210: expected '=' instead of '>'
Error at line 7
ORA-06512: at "SYS.XMLTYPE", line 138
ORA-06512: at line 20
Oracle version is 11.2.0.2.0.
Knows anybody where is the problem?
Thanks, R. KazimirHi,
Actually it does not work for both.
Remove .getClobVal() method and see what happens :
SQL> SELECT XMLTYPE.createXml('<data/>')
2 .transform(XMLTYPE.createXml('<?xml version="1.0" encoding="UTF-8"?>
3 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
4 <xsl:output method="html" />
5 <xsl:template match="/">
6 <HTML>
7 <BODY>
8 <TABLE>
9 <TR><TD><INPUT readOnly="readOnly" size="19" maxLength="30" type="text" value="test..."/></TD><
/TR>
10 </TABLE>
11 </BODY>
12 </HTML>
13 </xsl:template>
14 </xsl:stylesheet>'))
15 FROM dual;
ERROR:
ORA-31011: Echec d'analyse XML
ORA-19202: Une erreur s'est produite lors du traitement la fonction XML (
LPX-00210: '=' attendu plutôt que '>'
Error at line 1
)Besides, using getClobVal() in the SQL version produces an invalid output :
<HTML>
<BODY>
<TABLE>
<TR>
<TD>
<INPUT readOnly>
</INPUT>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>The readOnly attribute is not well-formed.
Even stranger : change the just the case of the attribute value, e.g. "readOnly" to "readonly", and it works!
I'm not sure what's happening here. Most likely a combination of bugs regarding html output method.
As a workaround, you can use output method "xml" instead. Works in any cases.
On a side note, in your version, getter methods like getClobVal() are deprecated. Oracle now recommends using XMLSerialize function.
The same goes with XSL transformation, where one should use XMLTransform instead of transform() method. -
My applet works differently between online and offline.
http://blogfile.paran.com/BLOG_253895/200609/1157419012_DodgeSnowLauncher.html
This is my applet which I made yesterday.
When you click on the link, push the button, and run the applet online,
nothing happens when you click on help - about dodgesnow version 0.1, which is on the menubar above.
However, if you download the html file and run the applet again, you can see the "about dialog".
The dialog is made with the dialog form in NetBeans 5.0, and therefore uses its own layout library.
I want to know why this happens.
Thanks.
---The Error I encountered --------------
Exception occurred during event dispatching:
java.lang.ExceptionInInitializerError
at org.jdesktop.layout.GroupLayout$ContainerAutopaddingSpring.calculateP
adding(GroupLayout.java:2518)
at org.jdesktop.layout.GroupLayout$Group.calculateAutopadding(GroupLayou
t.java:1257)
at org.jdesktop.layout.GroupLayout$Group.calculateAutopadding(GroupLayou
t.java:1259)
at org.jdesktop.layout.GroupLayout$Group.calculateAutopadding(GroupLayou
t.java:1259)
at org.jdesktop.layout.GroupLayout.resetAutopadding(GroupLayout.java:800
at org.jdesktop.layout.GroupLayout.prepare(GroupLayout.java:807)
at org.jdesktop.layout.GroupLayout.preferredLayoutSize(GroupLayout.java:
641)
at java.awt.Container.preferredSize(Container.java:1558)
at java.awt.Container.getPreferredSize(Container.java:1543)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1617)
at javax.swing.JRootPane$RootLayout.preferredLayoutSize(JRootPane.java:8
24)
at java.awt.Container.preferredSize(Container.java:1558)
at java.awt.Container.getPreferredSize(Container.java:1543)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1617)
at java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:690)
at java.awt.Container.preferredSize(Container.java:1558)
at java.awt.Container.getPreferredSize(Container.java:1543)
at java.awt.Window.pack(Window.java:486)
at AboutDialog.initComponents(AboutDialog.java:65)
at AboutDialog.(AboutDialog.java:12)
at DodgeSnowGUI.actionPerformed(DodgeSnowGUI.java:194)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:18
49)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav
a:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258
at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1
000)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMen
uItemUI.java:1041)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1778)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:153)
at java.awt.Dialog$1.run(Dialog.java:517)
at java.awt.Dialog$2.run(Dialog.java:545)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:543)
at java.awt.Component.show(Component.java:1300)
at java.awt.Component.setVisible(Component.java:1253)
at DodgeSnowLauncher$1.actionPerformed(DodgeSnowLauncher.java:10)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:18
49)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav
a:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
istener.java:236)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: java.lang.RuntimeException: java.security.AccessControlException: acc
ess denied (java.net.SocketPermission image.paran.com:80 connect,resolve)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:887)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLCon
nection.java:1912)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:376
at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:269)
at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:44)
at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:158)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:155)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:119)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at org.jdesktop.layout.LayoutStyle.(LayoutStyle.java:63)
... 75 more
Caused by: java.security.AccessControlException: access denied (java.net.SocketP
ermission image.paran.com:80 connect,resolve)
at java.security.AccessControlContext.checkPermission(AccessControlConte
xt.java:264)
at java.security.AccessController.checkPermission(AccessController.java:
427)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkConnect(SecurityManager.java:1034)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:459)
at sun.net.www.http.HttpClient.(HttpClient.java:214)
at sun.net.www.http.HttpClient.New(HttpClient.java:287)
at sun.net.www.http.HttpClient.New(HttpClient.java:299)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLC
onnection.java:796)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
ction.java:748)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
.java:673)
at sun.net.www.protocol.http.HttpURLConnection.followRedirect(HttpURLCon
nection.java:1706)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:1089)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367
... 87 more
Exception occurred during event dispatching:
java.lang.NoClassDefFoundError
at org.jdesktop.layout.GroupLayout$ContainerAutopaddingSpring.calculateP
adding(GroupLayout.java:2518)
at org.jdesktop.layout.GroupLayout$Group.calculateAutopadding(GroupLayou
t.java:1257)
at org.jdesktop.layout.GroupLayout$Group.calculateAutopadding(GroupLayou
t.java:1259)
at org.jdesktop.layout.GroupLayout$Group.calculateAutopadding(GroupLayou
t.java:1259)
at org.jdesktop.layout.GroupLayout.resetAutopadding(GroupLayout.java:800
at org.jdesktop.layout.GroupLayout.layoutContainer(GroupLayout.java:676)
at java.awt.Container.layout(Container.java:1401)
at java.awt.Container.doLayout(Container.java:1390)
at java.awt.Container.validateTree(Container.java:1473)
at java.awt.Container.validateTree(Container.java:1480)
at java.awt.Container.validateTree(Container.java:1480)
at java.awt.Container.validateTree(Container.java:1480)
at java.awt.Container.validate(Container.java:1448)
at java.awt.Window.dispatchEventImpl(Window.java:1776)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:153)
at java.awt.Dialog$1.run(Dialog.java:517)
at java.awt.Dialog$2.run(Dialog.java:545)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:543)
at java.awt.Component.show(Component.java:1300)
at java.awt.Component.setVisible(Component.java:1253)
at DodgeSnowLauncher$1.actionPerformed(DodgeSnowLauncher.java:10)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:18
49)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav
a:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
istener.java:236)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Message was edited by:
geniusleonid1. your applet does not work in IE because it tries to run your applet with msjvm. Use object tag instead of applet.
In the [jdk home]/bin directory there is a tool called htmlconverter.
Use that to convert your html page.
2. your applet tries to do something outside of the applet's sandbox security.
Caused by: java.lang.RuntimeException: java.security.AccessControlException: acc
ess denied (java.net.SocketPermission image.paran.com:80 connect,resolve)
I am not sure what you mean by running the applet locally (appletviewer
with policy, netbeans) Or opening the html page and having a policy for
code run locally.
Why would your applet comming from blogfile.paran.com:80 try to
connect to image.paran.com:80 I guess java sees this as another sub
domain and won't let the applet do this.
3. when I open your applet it takes a full one minute after loading the applet before I see the gui.
after this[b]
http://blogfile.paran.com/BLOG_253895/200609/basic: Loading http://blogfile.paran.com/BLOG_253895/200609/1157418860_DodgeSnow.jar from cache
the jre (Java Plug-in 1.5.0_06) seems to go to sleep for a full one minute.
4. The exception I get is this[b]
java.lang.ClassFormatError: Incompatible magic value 1195984440 in class file javax/swing/LayoutStyle
Because[b]
http://blogfile.paran.com/BLOG_253895/200609/javax/swing/LayoutStyle.class
Does not exist, I guess the jre looks for this file because it's not included
in your jar and I don't have it in my lib/ext or classpath.
You jar does contain a org.jdesktop.LayoutStyle.
A Full trace might help us out:
http://forum.java.sun.com/thread.jspa?threadID=656028 -
GL posting program works differently in production and QA system?
Hi Experts,
I got a strange error when I copy a personnel from production to QA to test the posting. The employee has retro calculation back to period 1 of 2010. The GL posting program RPCIPE00 only picks up the original record in 01.2010 (the P record) in QA system and so gives an unbalancing error. But in production when I do a simulation with GL posting I can see in the log that it picks up both P and A result and there is no error.
What could cause the inconsistency of this program?
Thanks a lot.
AllanIs payroll run is same manner in both system, could you see all results are exactly same in both system and there is no changes.
Manoj Shakya -
"VersionInfo" property works differently under x86 and x64
Mighty all!
I'm stuck trying to figure out why does
"(Get-ChildItem -Path $env:windir\system32\macromed\Flash\*.exe | % {(($_.VersionInfo).FileVersion).replace(",",".")}|measure -Maximum).maximum"
works ok on an x86 system whereas
"(Get-ChildItem -Path $env:windir\SysWOW64\macromed\Flash\*.exe | % {(($_.VersionInfo).FileVersion).replace(",",".")}|measure -Maximum).maximum"
fails on an x64 system with "input object is not numeric"??
Any help would be greatly appreciated!!Not sure how much help this is, but both of those commands work perfectly fine on my 64-bit system.
PS> (Get-ChildItem -Path $env:windir\SysWOW64\macromed\Flash\*.exe | % {(($_.VersionInfo).FileVersion).replace(",",".")}|measure -Maximum).maximum
12.0.0.38
PS> (Get-ChildItem -Path $env:windir\system32\macromed\Flash\*.exe | % {(($_.VersionInfo).FileVersion).replace(",",".")}|measure -Maximum).maximum
12.0.0.38 -
SQL Server 2008R2 vs 2012 OLTP performance difference - log flushes size different
Hi all,
I'm doing some performance test against 2 identical virtual machine (each VM has the same virtual resources and use the same physical hardware).
The 1° VM has Windows Server 2008R2 and SQL Server 2008R2 Standard Edition
the 2° VM has Windows Server 2012R2 and SQL Server 2012 SP2 + CU1 Standard Edition
I'm using hammerDB (http://hammerora.sourceforge.net/) has benchmark tool to simulate TPC-C test.
I've noticed a significative performance difference between SQL2008R2 and SQL2012, 2008R2 does perform better. Let's explain what I've found:
I use a third VM as client where HammerDB software is installed, I run the test against the two SQL Servers (one server at a time), in SQL2008R2 I reach an higher number of transaction per minutes.
HammerDB creates a database on each database server (so the database are identical except for the compatibility level), and then HammerDB execute a sequence of query (insert-update) simulating the TPC-C standard, the sequence is identical on both servers.
Using perfmon on the two servers I've found a very interesting thing:
In the disk used by the hammerDB database's log (I use separate disk for data and log) I've monitored the Avg. Disk Bytes/Write and I've noticed tha the SQL2012 writes to the log with smaller packet (let's say an average of 3k against an average of 5k written
by the SQL 2008R2).
I've also checked the value of Log flushes / sec on both servers and noticed that SQL2012 do, on average, more log flushes per second, so more log flushes of less bytes...
I've searched for any documented difference in the way log buffers are flushed to disk between 2008r2 and 2012 but found no difference.
Anyone can piont me in the correct direction?Andrea,
1) first of all fn_db_log exposes a lot of fields that do not exist in SQL2008R2
This is correct, though I can't elaborate as I do not know how/why the changes were made.
2) for the same DML or DDL the number of log record generated are different
I thought as much (but didn't know the workload).
I would like to read and to study what this changes are! Have you some usefu link to interals docs?
Unfortunately I cannot offer anything as the function used is currently undocumented and there are no published papers or documentation by MS on reading log records/why/how. I would assume this to all be NDA information by Microsoft.
Sorry I can't be of more help, but you at least know that the different versions do have behavior changes.
Sean Gallardy | Blog | Microsoft Certified Master
Maybe you are looking for
-
How to setup BPEL JNDI connection on the application server
Hi Can anyone tell me how to write a JNDI connection for my BPEL process? Currently we are invoking all my BPEL processes from a property file, but i need to call my BPEL process thru JNDI connection. Is it possible? If yes then How? Has anyone got a
-
Adobe Acrobat form can be opened in Adobe Reader but no one can fill it out. Why not?
So I created a form for my job that my co-workers and clients need to be able to fill out. It was created in Acrobat and while others can open it in their Adobe Reader they are unable to edit any of the fields/fill the form out. Any ideas what might
-
Inter-Company STO Transfer Price and Invoice
HI All, I was wondering what setup i Need to do in order to get the sales price (transfer price) to automatically flow into an inter-company STO? Also, how to assign an inter-company billing document to the STO? Thanks, Erik
-
Can't upgrade from OS 10.9.2 to 10.9.5
Hi all. I'm running OS X 10.9.2 and I'm trying to upgrade to 10.9.5. Software Update says that it installed 10.9.5 today but when I go to About This Mac, it still says 10.9.2. I then downloaded the 10.9.5 OS X Update file and it won't let me insta
-
Does Drobo Play Well With AppleTV?
My media collection is filling up my Mac Mini and I am starting to look for an external drive the can play my movies smoothly on my AppleTV. I have been considering the "Drobo" because of the ease of use, self back-ups, easy to add more space when ne