UIScrollbar creates conflicts
Hi!
I've just a strange thing happening; I managed to succefully
use a dynamic scrollbar, everything worked perfectly, but then,
willing to add some UIScrollBars to my existing flash 8 site, I
found that just the pasting (and immediate deleting) of the
component on the scene would "corrupt" my programmation; some
strange things would happen (incorrect load of external jpgs i.e.),
any idea of what would be the cause and eventual solution?
Tks for your advice & help
The solutioin should be deleting everything related to the
ui-comp not only from stage but from the libeary too.
The problem (I find most annoying) with v2 components is,
that the break al regular depth management and introduce the (in my
eyes) cumbersome textmanager.
So essentially you should decide upfront if you want to juse
version 2Components or will not ever, at least not afert having a
considerably complex project.
They are quite heavy in size, and not really easy to
customize (in terms of looks) I mosly use them for building
"boring" frontendt for adnimstring websites or stuff like that, the
are helpfull there, but I don't like them for public placement in
websites.
my 2 cents
Similar Messages
-
Finder is creating "conflicted copy"s of files. What is this all about?
My finder is creating "conflicted copy"s of files on our network. We have 9 mac's (a law firm) and it appears that when another person opens a file, Mac sometimes creates a "conflicted copy". does anyone know why this is happening and what I can do to prevent this? I like nice neat folders and files and this is messin with my mojo!
Thank you!
Guy Vitetta
Charleston SCThe what is happening is that you are editing the files at two locations but Dropbox isn't syncronising them and ends up with two different copies.
Regards,
Shawn -
Merging sheets creates conflict when images exists on both sheets
Hi
I have a solution of creating and merging Excel-files in a webservice.
This has been working fine, until both of the Excel-files began to contain images.
As an example, the service recieves one Excel template and one Excel workbook.
The goal is to create a new Excel workbook consisting of the supplied parts.
Since the template is indeed a template (xltx), I start of by working with the workbook.
I then merge all worksheets from the template file to the workbook file.
This is done in memory with the help of
EPPlus version 3.1.2 and the following routine where grmName is path to the template file and wbkName is path to the workbook:
Friend Sub XLAddInfoSheets(ByVal grmName As String, ByVal wbkName As String)
Dim targetFI As New FileInfo(wbkName)
Dim templateFile As String = grmName
Dim ContentOverrides As New ArrayList
Try
Using t As New ExcelPackage
Using Tstream As New FileStream(wbkName, FileMode.Open, FileAccess.ReadWrite)
t.Load(Tstream)
End Using
Using d As New ExcelPackage
Using Dstream As New FileStream(templateFile, FileMode.Open)
d.Load(Dstream)
End Using
For Each dws In d.Workbook.Worksheets
Dim addOK As Boolean = True
If dws.Name = "Försättsblad" Or dws.Name = "Cover Page" Then
Dim tmpName As String = dws.Name
For Each twx In t.Workbook.Worksheets
If LCase(twx.Name) = LCase(tmpName) Then
addOK = False
Exit For
End If
Next
If addOK Then
t.Workbook.Worksheets.Add(tmpName, dws)
t.Workbook.Worksheets(tmpName).Hidden = dws.Hidden
End If
End If
Next
End Using
t.SaveAs(targetFI)
End Using
Catch ex As Exception
WriteLogg("Could not merge coverpages from the template.", ex.Message, logFile)
Exit Sub
End Try
End Sub
When opening the created file (if both the template and the workbook contains images) shows a repairable error.
After the repair is made, the images in the inserted sheets is actually an image from the original workbook, not the same image as in the template sheet.
I realise that there is a mixup of relations causing this, so I tried looping through the images in the inserted sheets and delete the original image (DrawingPart) and add the image again.
This is done with the following code where wbPart is the actual Workbookpart and imagePath is path to the image which is extracted to disk earlier:
Private Sub XLRelateImages(ByVal wbPart As WorksheetPart, ByVal imagePath As String)
Try
Dim drawingPart = wbPart.DrawingsPart
If drawingPart IsNot Nothing Then
Dim doc As New XmlDocument()
doc.Load(drawingPart.GetStream())
Dim ns As New XmlNamespaceManager(doc.NameTable)
ns.AddNamespace("a", "http://schemas.openxmlformats.org/drawingml/2006/main")
ns.AddNamespace("xdr", "http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing")
Dim list As XmlNodeList = doc.SelectNodes("/xdr:wsDr/xdr:twoCellAnchor/xdr:pic/xdr:blipFill/a:blip", ns)
Dim pairList As New List(Of KeyValuePair(Of String, String))()
For Each node As XmlNode In list
For Each attribute As XmlAttribute In node.Attributes
Dim pair As New KeyValuePair(Of String, String)(attribute.Value, attribute.Name)
pairList.Add(pair)
Next
Next
For Each image As KeyValuePair(Of String, String) In pairList
Dim id As String = image.Key
Dim name As String = image.Value
Dim oldPart As OpenXmlPart = Nothing
If name = "r:embed" Then
' get ImagePart via id
oldPart = drawingPart.GetPartById(id)
' delete ImagePart
drawingPart.DeletePart(oldPart)
' add the ImagePart
Dim newPart As ImagePart = drawingPart.AddImagePart(ImagePartType.Png, id)
' replace image
Dim replacement As String = imagePath
Using stream As New FileStream(replacement, FileMode.Open)
' feed data to the newPart
newPart.FeedData(stream)
End Using
End If
Next
' save xml document to the stream
doc.Save(drawingPart.GetStream(FileMode.Create))
End If
Catch ex As Exception
End Try
End Sub
When I examine the result of this I still get the same error when I'm opening the file, but the correct image is now shown on the inserted sheets.
I believe there must be some other relation that is left in the workbook, but I have not been able to locate it.
Can someone help with sample code in VB or C# I would be much obliged?
Best Regards Peter Karlström Midrange AB, SwedenThis is the code I finally ended up with.
It's all working now, but the code is a bit locked in to this solution, since it only handles 1 custom sheet property.
Private Sub XLCheckSheetProperties(ByVal wBook As String)
Using sDocument As SpreadsheetDocument = SpreadsheetDocument.Open(wBook, True)
Dim workbookPart As WorkbookPart = sDocument.WorkbookPart
workbookPart.Workbook.Descendants(Of Sheet)()
Dim worksheetPart As WorksheetPart = workbookPart.WorksheetParts.Last
For Each Sheet As Sheet In sDocument.WorkbookPart.Workbook.Sheets
Dim sName As String = Sheet.Name
Select Case sName
Case "Cover Page"
If Not XLSheetPropertyRemove(sDocument, sName) Then
WriteLogg("Kunde inte ta bort metadata i försättsbladet " & sName & ".", "XLCheckSheetProperties", logFile)
End If
If Not XLSheetPropertyAdd(sDocument, sName, "sht_Footerdata", "0:0") Then
WriteLogg("Kunde inte lägga till metadata i försättsbladet " & sName & ".", "XLCheckSheetProperties", logFile)
End If
End Select
Next
End Using
End Sub
Private Function XLSheetPropertyRemove(ByVal document As SpreadsheetDocument, ByVal sheetName As String) As Boolean
XLSheetPropertyRemove = False
Try
Dim sheet1 As Sheet = document.WorkbookPart.Workbook.Descendants(Of Sheet)().[Single](Function(s) s.Name = sheetName)
Dim workSheet1 As Worksheet = DirectCast(document.WorkbookPart.GetPartById(sheet1.Id), WorksheetPart).Worksheet
For Each cusProps As CustomProperties In workSheet1.Elements(Of CustomProperties)()
cusProps.Remove()
Next
XLSheetPropertyRemove = True
Catch ex As Exception
End Try
End Function
Private Function XLSheetPropertyAdd(ByRef document As SpreadsheetDocument, ByVal sheetName As String, ByVal propName As String, ByVal propValue As String) As Boolean
XLSheetPropertyAdd = False
Try
Dim workbookPart As WorkbookPart = document.WorkbookPart
Dim sheet1 As Sheet = document.WorkbookPart.Workbook.Descendants(Of Sheet)().[Single](Function(s) s.Name = sheetName)
Dim workSheet1 As Worksheet = DirectCast(document.WorkbookPart.GetPartById(sheet1.Id), WorksheetPart).Worksheet
Dim relId As String = workbookPart.Workbook.Descendants(Of Sheet)().First(Function(s) sheetName.Equals(s.Name)).Id
Dim wsPart As WorksheetPart = document.WorkbookPart.GetPartById(relId)
Dim customPropertyPart As CustomPropertyPart = wsPart.AddCustomPropertyPart(CustomPropertyPartType.Spreadsheet, "rIdProp2")
Dim byteArray As Byte() = System.Text.Encoding.Unicode.GetBytes(propValue)
Dim stream As New MemoryStream(byteArray)
Dim data As System.IO.Stream = stream
customPropertyPart.FeedData(data)
data.Close()
Dim customProperties As CustomProperties = workSheet1.AppendChild(Of CustomProperties)(New CustomProperties())
Dim customProperty As CustomProperty = customProperties.AppendChild(Of CustomProperty)(New CustomProperty())
customProperty.Id = "rIdProp2"
customProperty.Name = propName
XLSheetPropertyAdd = True
Catch ex As Exception
End Try
End Function
The trick was to delete the custom sheet property and the recreate it.
Best Regards Peter Karlström Midrange AB, Sweden -
Focus grabber in JSpinner creating conflicts with keyboard
Hi all,
I'm stuck with this problem. I'm making a basic 2D game where in some part of the window you can modify a couple of values (speed, angle) through the respective spinners and then shoot by simply pressing a button. I'd like to let the user modify those two values and shoot from keyboard as well, but whenever the focus is grabbed by the said spinners, I'm basically screwed. Is there any practical solution to this?
Thanks!
If this code is of any help:
// constructor
// shootButton is a JButton
shootButton.addKeyListener(this);
public void keyPressed(KeyEvent e)
int event=e.getKeyCode();
if(event==KeyEvent.VK_UP)
initialSpeedSpinner.setValue(initialSpeedSpinner.getNextValue());
if(event==KeyEvent.VK_DOWN)
initialSpeedSpinner.setValue(initialSpeedSpinner.getPreviousValue());
// those JSpinners are defined elsewhere, of course.
}import java.awt.*;
import java.awt.event.*;
import java.awt.geom.*;
import javax.swing.*;
import javax.swing.event.*;
public class SpinAndShoot extends JPanel implements ChangeListener {
JSpinner spinner;
Path2D.Double path = new Path2D.Double();
Point2D.Double projectile = new Point2D.Double();
double theta = -Math.PI/4;
public SpinAndShoot(JFrame f) {
path.moveTo(20,0);
path.lineTo(-20,20);
path.lineTo(0,0);
path.lineTo(-20,-20);
path.lineTo(20,0);
registerKeys(f);
public void stateChanged(ChangeEvent e) {
int value = ((Integer)spinner.getValue()).intValue();
theta = Math.toRadians(value);
repaint();
protected void paintComponent(Graphics g) {
super.paintComponent(g);
Graphics2D g2 = (Graphics2D)g;
g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
RenderingHints.VALUE_ANTIALIAS_ON);
double cx = getWidth()/2.0;
double cy = getHeight()/2.0;
AffineTransform at = AffineTransform.getTranslateInstance(cx, cy);
Rectangle r = path.getBounds();
double x = r.getCenterX();
double y = r.getCenterY();
at.rotate(theta, x, y);
g2.setPaint(Color.blue);
g2.draw(at.createTransformedShape(path));
g2.setPaint(Color.red);
g2.fill(new Ellipse2D.Double(projectile.x-2, projectile.y-2, 4, 4));
private void registerKeys(final JFrame f) {
JRootPane rp = f.getRootPane();
int c = JComponent.WHEN_IN_FOCUSED_WINDOW;
rp.getInputMap(c).put(KeyStroke.getKeyStroke("LEFT"), "LEFT");
rp.getActionMap().put("LEFT", leftAction);
rp.getInputMap(c).put(KeyStroke.getKeyStroke("RIGHT"), "RIGHT");
rp.getActionMap().put("RIGHT", rightAction);
rp.getInputMap(c).put(KeyStroke.getKeyStroke("UP"), "UP");
rp.getActionMap().put("UP", upAction);
private Box getControls() {
int val = (int)Math.toDegrees(theta);
SpinnerNumberModel model = new SpinnerNumberModel(val,-180,180,1);
spinner = new JSpinner(model);
spinner.setFocusable(false);
JTextField textField =
((JSpinner.DefaultEditor)spinner.getEditor()).getTextField();
textField.setEditable(false);
textField.setFocusable(false);
spinner.addChangeListener(this);
JButton button = new JButton(upAction);
Box box = Box.createHorizontalBox();
box.add(Box.createHorizontalGlue());
box.add(new JLabel("angle "));
box.add(spinner);
box.add(Box.createHorizontalGlue());
box.add(button);
box.add(Box.createHorizontalGlue());
return box;
public static void main(String[] args) {
JFrame f = new JFrame();
SpinAndShoot test = new SpinAndShoot(f);
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
f.add(test);
f.add(test.getControls(), "Last");
f.setSize(400,400);
f.setLocation(200,200);
f.setVisible(true);
private Runnable fire = new Runnable() {
public void run() {
double phi = theta;
double cx = getWidth()/2.0;
double cy = getHeight()/2.0;
double rangeDistance = getRange(cx, cy);
double pulse = 2, dist = 0;
do {
dist += pulse;
double x = cx + dist*Math.cos(phi);
double y = cy + dist*Math.sin(phi);
projectile.setLocation(x,y);
repaint();
try {
Thread.sleep(30);
} catch(InterruptedException e) {
System.out.println("fire interrupt");
} while(dist < rangeDistance+5);
private double getRange(double cx, double cy) {
int w = getWidth();
int h = getHeight();
double diag = Math.sqrt(w*w + h*h);
double x = cx + diag*Math.cos(theta);
double y = cy + diag*Math.sin(theta);
Rectangle r = getBounds();
double x1=0, y1=0, x2=0, y2=0;
double range = 0;
int outcode = r.outcode(x, y);
switch(outcode) {
case Rectangle.OUT_TOP:
x1 = r.x; y1 = r.y; x2 = r.getMaxX(); y2 = y1;
range = new Line2D.Double(x1, y1, x2, y2).ptLineDist(cx, cy);
break;
case Rectangle.OUT_TOP + Rectangle.OUT_LEFT:
range = Point2D.distance(r.x, r.y, cx, cy);
break;
case Rectangle.OUT_LEFT:
x1 = r.x; y1 = r.y; x2 = x1; y2 = r.getMaxY();
range = new Line2D.Double(x1, y1, x2, y2).ptLineDist(cx, cy);
break;
case Rectangle.OUT_LEFT + Rectangle.OUT_BOTTOM:
range = Point2D.distance(r.x, r.getMaxY(), cx, cy);
break;
case Rectangle.OUT_BOTTOM:
x1 = r.x; y1 = r.getMaxY(); x2 = r.getMaxX(); y2 = y1;
range = new Line2D.Double(x1, y1, x2, y2).ptLineDist(cx, cy);
break;
case Rectangle.OUT_BOTTOM + Rectangle.OUT_RIGHT:
range = Point2D.distance(r.getMaxX(), r.getMaxY(), cx, cy);
break;
case Rectangle.OUT_RIGHT:
x1 = r.getMaxX(); y1 = r.y; x2 = x1; y2 = r.getMaxY();
range = new Line2D.Double(x1, y1, x2, y2).ptLineDist(cx, cy);
break;
case Rectangle.OUT_RIGHT + Rectangle.OUT_TOP:
range = Point2D.distance(r.getMaxX(), r.y, cx, cy);
break;
default: // center = 0
System.out.println("outcode = " + outcode);
return range;
private Action leftAction = new AbstractAction() {
public void actionPerformed(ActionEvent e) {
Object value = spinner.getPreviousValue();
if(value == null)
value = ((SpinnerNumberModel)spinner.getModel()).getMaximum();
spinner.setValue(value);
private Action rightAction = new AbstractAction() {
public void actionPerformed(ActionEvent e) {
Object value = spinner.getNextValue();
if(value == null)
value = ((SpinnerNumberModel)spinner.getModel()).getMinimum();
spinner.setValue(value);
private Action upAction = new AbstractAction("shoot") {
public void actionPerformed(ActionEvent e) {
Thread thread = new Thread(fire);
thread.setPriority(Thread.NORM_PRIORITY);
thread.start();
} -
Resolving conflicting JavaScript due to several Spry elements in one page
I am fairly new to web coding, I would really appreciate some help in the following topic. I am working on a web page and I decided to insert some of the pre-coded Spry elements provided by Dreamweaver, I have in one page a HorizontalMenuBar, a SpryTabbedPanels, and an AccordionPannel. I have not modified any of the script that is automatically inserted into my code, all I did was to change some of the CSS to match my design, I saved the extension files in my own .js folder rather than the SpryAssets folder that is automatically created and I have verified that all the files are being called correctly in the <head> of my document. When I test the page with only the HorizontalMenuBar it works fine, as soon as I add the TabbedPanels and the Accordion only one of them works. I researched this subject and I think the problem is that eachof these /.js files created by Dreamweaver have a couple of variables that are named creating conflict when running the script. But I don't know what variable it is, in previous threads I found that the most common variable causing this problem is the 'onload' event, so I looked for it on each file and to my surprise neither of the .js files have an 'onload' element. I would guess that is being used as a global variable, but I don't write code and I wouldn't know how to fix that.
I have some specific questions I would appreciate help with.
1- Does anyone know a simple way to fix this problem?
2- What other variable could be causing this problem? Specific names would help so I can run a Find search
3- Will it cause a problem if I combined the 3 .js files into one?
4- What can I do to avoid this problem later on if I decided to add another pre-coded JavaScript element into my site?
Thanks in advance for any help provided.I'm having a similar problem and can't find the solution. I have a twitter feed widget and a image cycle widget on my site. On their own the widgets work fine, but when both in the same html document only one works. Here's my code, what do you think: I'd really appreciate any assistance. Thanks!
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
<script src="scripts/jquery-1.6.min.js" type="text/javascript"></script>
<script src="scripts/jquery.cycle.all.js" type="text/javascript"></script>
<script src="scripts/jquery.js" type="text/javascript"></script>
<script src="scripts/twitter_search.js" type="text/javascript"></script>
<style type="text/css">
/* BeginOAWidget_Instance_2559022: #slideshow */
#slideshow {
padding: 0px;
margin:0;
#slideshow-caption{
padding:0;
margin:0;
#slideshow img, #slideshow div {
padding: 0px;
background-color: transparent;
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
border-radius: 0px;
margin: 0;
/* EndOAWidget_Instance_2559022 */
</style>
<script type="text/xml">
<!--
<oa:widgets>
<oa:widget wid="2559022" binding="#slideshow" />
<oa:widget wid="2125523" binding="#twitter" />
</oa:widgets>
-->
</script>
<style type="text/css">
/* BeginOAWidget_Instance_2125523: #twitter */
#twitter { height: 200px; width: 250px}
/* EndOAWidget_Instance_2125523 */
</style>
</head>
<body>
<script type="text/javascript">
// BeginOAWidget_Instance_2559022: #slideshow
slideshowAddCaption=false;
$(document).ready(function() {
$('#slideshow').cycle({
after: slideshowOnCycleAfter, //the function that is triggered after each transition
autostop: false, // true to end slideshow after X transitions (where X == slide count)
fx: 'fade,',// name of transition effect
pause: true, // true to enable pause on hover
randomizeEffects: true, // valid when multiple effects are used; true to make the effect sequence random
speed: 2000, // speed of the transition (any valid fx speed value)
sync: false, // true if in/out transitions should occur simultaneously
timeout: 6000, // milliseconds between slide transitions (0 to disable auto advance)
fit: true,
height: '400px',
width: '900px' // container width (if the 'fit' option is true, the slides will be set to this width as well)
function slideshowOnCycleAfter() {
if (slideshowAddCaption==true){
$('#slideshow-caption').html(this.title);
// EndOAWidget_Instance_2559022
</script>
<div id="slideshow">
<!--All elements inside this will become slides-->
<img src="images/beach1.jpg" width="100" height="100" title="caption for image1" /> <img src="images/beach2.jpg" width="300" height="300" title="caption for image2" /> <img src="images/beach3.jpg" width="200" height="200" title="caption for image3" />
<div title="sample title"> you can add blocks of text instead!</div>
<img src="images/beach4.jpg" width="200" height="200" title="caption for image4" /> <img src="images/beach5.jpg" width="200" height="200" title="caption for image5" /> </div>
<!--It is safe to delete this if captions are disabled-->
<div id="slideshow-caption"></div>
<div id="twitter"></div>
<script type="text/javascript">
// BeginOAWidget_Instance_2125523: #twitter
$(document).ready(function() {
$('#twitter').twitterSearch({
term: 'from%3Abholtdesign',
title: 'cbb twitter',
titleLink: 'http://www.twitter.com/bholtdesign',
bird: true, // true or false (show or hide twitter bird image)
birdSrc: '/images/tweet.gif', // twitter bird image
birdLink: '', // url that twitter bird image should like to
avatar: false, // true or false (show or hide twitter profile images)
anchors: true, // true or false (enable embedded links in tweets)
animOutSpeed: 500, // speed of animation for top tweet when removed
animInSpeed: 500, // speed of scroll animation for moving tweets up
pause: true, // true or false (pause on hover)
time: true, // true or false (show or hide the time that the tweet was sent)
timeout: 4000, // delay betweet tweet scroll
css: {
a: { textDecoration: 'none', color: '#999999', fontWeight: 'normal'},
container: { backgroundColor: '#000000' },
frame: { border: '10px solid #333333', borderRadius: '10px', '-moz-border-radius': '10px', '-webkit-border-radius': '10px' },
img: { width: '30px', height: '30px' },
loading: { color: '#888' },
text: {fontWeight: 'normal', fontSize: '12px', color:'#ffffff'},
time: { fontSize: '12px', color: '#CCC' },
title: { backgroundColor: '#990066', padding: '5px 0 5px 0', textAlign: 'center', fontWeight: 'bold', fontSize: '12px'},
titleLink: { textDecoration: 'none', color: '#ffffff' },
user: { fontSize: '12px'},
fail: { background: '#6cc5c3 url(/images/failwhale.png) no-repeat 50% 50%'}
// EndOAWidget_Instance_2125523
</script>
</body>
</html> -
Hi, there.
Can anybody tell me what's the syntax for the SQL statements to create temporary tables?
I'm developing a shopping cart, and at the end of every purchase (checkout) I want to organize the items of the Session Bean Hash Table that contains them, and group them by category, brand, price and show the serial number of each item. I was thinking to do SQL-style operations like GROUP BY on the Hash Table itself, but I am having a hard time with it, so that's why I thought that filling a temporary database table with the Hash Table data could be the solution to the problem of grouping and ordering the items contained in the Shopping cart Bean.
I saw the following code in this same forum:
stmt = con.createStatement();
stmt.executeUpdate("create table temp (slno integer, first_name varchar(32), middle_name varchar(1), last_name varchar(32))");
But I don't understand how the temporary table has a fixed name, isn't that going to create conflict with another user that creates a temporary table with the same name but in a different session?
I hope my approach makes sense. If so, what's the SQL syntax to create temporary-session-like tables so I can include it in my JDBC code?
Thank you in advance for any information or alternative suggestion.But I don't understand how the temporary table has a
fixed name, isn't that going to create conflict with
another user that creates a temporary table with the
same name but in a different session?Yes, it is. That's one reason why people try to avoid creating temporary tables, I suppose. There are other reasons.
I hope my approach makes sense. If so, what's the SQL
syntax to create temporary-session-like tables so I
can include it in my JDBC code?You already know the syntax for creating a table. Your only problem is finding a unique name for the table, one that no other user will use. You could have a one-row one-column table with a number in it, which you read and increment, then use that number for your table name, for example. Unless your database happens to have this as a feature -- you would have to read its documentation to find that out.
However as I implied before, you should try to avoid creating temporary tables. Creating a table is a time-consuming operation, and if your program ends abnormally without dropping the temporary table, your database slowly fills up with useless tables. -
ICal creating phantom 'Untitled' Calendars
Hello,
Every time I start iCal after it has been up for a second or two, it creates a bunch of "Untitled" calendars. It creates them in pairs. If I delete them, after a few seconds 2 more appear. Ical seems to think they are subscription calendars, they have a refresh arrow next to them. If I try to add an event to one it warns me that they are "read-only" calendars.
I've tried deleting preferences and ical directories in Library/ApplicationSupport
but I must have missed something key because my "Home" calendar is still there (with events) after deleting preferences files.
Any help getting rid of these phantom calendars would be appreciated.
Thanks,
BruceI, too, am the vistim of phantom calendars, currently 96. And they create "conflicts" that want to be resolved with my .Mac account. What is better: phantom blue on iCal or phantom pink on .Mac?
Resetting iSync has had NO impact.
All of this follows my iCal completely disappearing upon launch the other day. I was able to restore not from .Mac but from my Palm.
Meanwhile, the phantoms seem to propagate every time I launch CIal.Am about ready to cross to the "dark side" and use Entourage.
HEEEEELLLLLPPP!
PowerBook G4 Mac OS X (10.4.8) -
Hi Experts,
In production, some old employees master data (IT 0001) is assigned with cost center. I need to restrict those cost center from those employees. These cost centers are creating conflicts when updating time entry in CAT2 transaction.
The buisness tells not to delete those cost centers but to restrict them.
Could you please help me to solve this problem.
Thanks,
Shadeesh.GHello Shadeesh,
you could go to transaction KS02 - Change Cost Centre. Type in the Cost Centre number you like to delimit.
Then click in the top left of the screen, on drop down menu "Cost Center" and click on delete.
That will not delete the cost center!!!
It will prompt you on the next screen to delimit the validity period of the cost centre.
Test in a test environment first if you haven't done that before.
Good luck.
Karsten -
Business conflict resolution in Streams
Hi
Suppose we have 2 or more instances of some Oracle-based ERP system, the first one located at headquaters, the second one and others - in the regional branches. We need to have bidirectional syncronization for some of the system's business entities. During syncronization we need to detect and resolve business conflicts, which are not defined as database constraints.
For example:
some Customer attibute's value can be replicated to the headquaters instance from the branch instance only when it's value in the branch instance is less then existing value in HQ instance
I wonder is there any functionality in Streams, which can be used for such business conflicts detection and resolution (optionally with human intervention) ?10gR2 Docs:
Conflict Detection in a Streams Environment
An apply process detects update, uniqueness, delete, and foreign key conflicts as follows:
An apply process detects an update conflict if there is any difference between the old values for a row in a row LCR and the current values of the same row at the destination database.
An apply process detects a uniqueness conflict if a uniqueness constraint violation occurs when applying an LCR that contains an insert or update operation.
An apply process detects a delete conflict if it cannot find a row when applying an LCR that contains an update or delete operation, because the primary key of the row does not exist.
An apply process detects a foreign key conflict if a foreign key constraint violation occurs when applying an LCR.
You can code you own conflict handler but you can not change conflict detection. I am not sure if you want to change conclict detection or conflict resolution.
It is not a problem to create conflict resolition procedure.
possible workaround for conflict detection:
It is possible to use DML handler. You can code any bussiness logics to this handler( conflict handler as well).
I have some experience with DML handlers. You need to use DML handlers very carefully because you will use DML handler for each LCR. Replication performance impact can be very significant.
Good thing about DML handlers that you can execute LCRs in parallel (so many DML handlers will be executed in parallel). -
OTD AdminNode conflicts with Coherence nodes running on same server???
I set up a traditional OTD failover group exposing private proxy to storage nodes. Strangely when I run OTD admin nodes they seem to create conflict with Coherence nodes running on same server. Any clues on what could cause the problem (same default ports?). The msgs I get are the followings:
WARN 2014-08-27 13:09:12,585 [com.tangosol.coherence.component.util.logOutput.Log4j] - 2014-08-27 13:09:12.585/299.393 Oracle Coherence GE 12.1.2.0.2 <Warning> (thread=Cluster, member=n/a): Delaying formation of a new cluster; IpMonitor failed to verify the reachability of senior Member(Id=2, Timestamp=2014-08-27 12:15:34.775, Address=192.168.10.98:50124, MachineId=41903, xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, Role=jmx-connector); if this persists it is likely the result of a local or remote firewall rule blocking either ICMP pings, or connections to TCP port 7
WARN 2014-08-27 13:09:17,598 [com.tangosol.coherence.component.util.logOutput.Log4j] - 2014-08-27 13:09:17.597/304.405 Oracle Coherence GE 12.1.2.0.2 <Warning> (thread=Cluster, member=n/a): Delaying formation of a new cluster; IpMonitor failed to verify the reachability of senior Member(Id=2, Timestamp=2014-08-27 12:15:34.775, Address=192.168.10.98:50124, MachineId=41903, xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, Role=jmx-connector); if this persists it is likely the result of a local or remote firewall rule blocking either ICMP pings, or connections to TCP port 7
ERROR 2014-08-27 13:09:21,725 [com.tangosol.coherence.component.util.logOutput.Log4j] - 2014-08-27 13:09:21.724/308.532 Oracle Coherence GE 12.1.2.0.2 <Error> (thread=main, member=n/a): Error while starting cluster: com.tangosol.net.RequestTimeoutException: Timeout during service start: ServiceInfo(Id=0, Name=Cluster, Type=ClusterI set up a traditional OTD failover group exposing private proxy to storage nodes. Strangely when I run OTD admin nodes they seem to create conflict with Coherence nodes running on same server. Any clues on what could cause the problem (same default ports?). The msgs I get are the followings:
WARN 2014-08-27 13:09:12,585 [com.tangosol.coherence.component.util.logOutput.Log4j] - 2014-08-27 13:09:12.585/299.393 Oracle Coherence GE 12.1.2.0.2 <Warning> (thread=Cluster, member=n/a): Delaying formation of a new cluster; IpMonitor failed to verify the reachability of senior Member(Id=2, Timestamp=2014-08-27 12:15:34.775, Address=192.168.10.98:50124, MachineId=41903, xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, Role=jmx-connector); if this persists it is likely the result of a local or remote firewall rule blocking either ICMP pings, or connections to TCP port 7
WARN 2014-08-27 13:09:17,598 [com.tangosol.coherence.component.util.logOutput.Log4j] - 2014-08-27 13:09:17.597/304.405 Oracle Coherence GE 12.1.2.0.2 <Warning> (thread=Cluster, member=n/a): Delaying formation of a new cluster; IpMonitor failed to verify the reachability of senior Member(Id=2, Timestamp=2014-08-27 12:15:34.775, Address=192.168.10.98:50124, MachineId=41903, xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, Role=jmx-connector); if this persists it is likely the result of a local or remote firewall rule blocking either ICMP pings, or connections to TCP port 7
ERROR 2014-08-27 13:09:21,725 [com.tangosol.coherence.component.util.logOutput.Log4j] - 2014-08-27 13:09:21.724/308.532 Oracle Coherence GE 12.1.2.0.2 <Error> (thread=main, member=n/a): Error while starting cluster: com.tangosol.net.RequestTimeoutException: Timeout during service start: ServiceInfo(Id=0, Name=Cluster, Type=Cluster -
Hi,
Does anyone have a resolution to the problem with the BT cloud software grabbing ownership of files and causing conflicts?
I do a lot of 3D work and every time I do a render the new render file is built up. When it is ready it deletes the old render batch and moves the files it has just created to where they were. At least 50% of the time this fails because the cloud software appears to grab the old files rather than deleting them. This causes a "file being used by another process" error. The only solution that I have found so far is to turn off the cloud client whilst I am doing any work. Which isn't really a good idea.Unfortunately BT Cloud has very odd ideas with conflict files. Conflicts are awkward in sync systems where you have multiple clients changing the same target: no solution can be perfect, but programs like Dropbox and Google Docs manage pretty well. BT Cloud manages to create conflicts with just a single client; where theoretically no conflicts should exist. I've not managed to sort out what it thinks it is doing in this situation and how it manages to make such a mess of a simple task, so I'm not sure what the best way to avoid it is.
One solution is to use a more reliable program such as Dropbox or iDrive. If you don't have enough free Dropbox storage, you might use BT Cloud for the more static files which it doesn't screw up, and Dropbox for the ones that BT Cloud manages to make awkward.
One somewhat less automated solution is to use the BT Cloud web interface to upload the awkward ones when you have a batch ready. -
One Apple ID on multiple macs to use for iCloud?
We have one "business" apple ID for multiple macs in my office for ease of purchasing. Now, we'd like to use the same apple ID to sync our data via iCloud. I was wondering if it would create conflict if we only used one apple ID to sync multiple macs and would it create conflict with iCloud?
I don't believe there would be any conflicts. I'm not sure whether you intended sharing your contacts or some of your contacts between you but you can do either (indeed you don't need to share contacts if you don't want).
You might also take a look at this User Tip, to ensure you understand the differences between the different accounts in Address Book -
Error with ALBPM 10g / JAX-WS and WebLogic 10g
Folks/People/Community:
I have an application client running over weblogic 10g. This application needs to be integrated with an external WebServices running under ALBPM 10g and implemented using jax-ws.
So far our application client running in standalone mode outside the weblogic server works without problems. But, running inside WebLogic 10g the application cannot establish connection with this external webservice and the exception is attached here. Also I'm sending our client source code.
Please, do you know if WebLogic 10g requires special configurations in order to enable this type of communication?. We have other applications already integrated with other WebService providers without problems so far today. Only this interface is failing and honestly I don't know what is the problem.
Thanks a lot in advance for your help!.
Gabriel.
log startup:
starting weblogic with Java version:
java version "1.6.0_05"
<Dec 29, 2009 9:57:33 AM EST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3 Fri Jul 25 16:30:05 EDT 2008 1137967 >
---------------[BEGIN CUT HERE CODE]-----------
private String SECURITY_NAMESPACE =
"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
private String PAPI_ENDPOINT =
"http://internal_hostname.domain.net:8780/papiws/PapiWebServiceEndpoint";
private PapiWebService webService;
private void initialize() throws MalformedURLException, SOAPException, OperationException_Exception {
QName qName = new QName("http://bea.com/albpm/PapiWebService", "PapiWebService");
Service service = PapiWebService_Service.create(new URL(PAPI_ENDPOINT), qName);
// ERROR HERE ERROR HERE ERROR HERE
webService = service.getPort(PapiWebService.class);
// Authentication (OBPM)
String sUsername = "mUser";
String sPassword = "myPassword";
addUsernameTokenProfile(webService, sUsername, sPassword);
// Authentication (weblogic realm)
sUsername = "weblogic";
sPassword = "weblogic";
addHttpBasicAuthentication(webService, sUsername, sPassword);
---------------[END CODE]-----------
---------------[BEGIN CUT HERE STACKTRACE]-----------
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested
exception: com.sun.xml.ws.util.ServiceConfigurationError: com.sun.xml.ws.api.pipe.TubelineAssemblerFactory: Provider weblogic.wsee.jaxws.WLSTubelineAssemblerFactory is specified in jar:file:/C:/Proyectos/Software/bea/wlserver_10.3/server/lib/weblogic.jar!/META-INF/services/com.sun.xml.ws.api.pipe.TubelineAssemblerFactorybut could not be instantiated: java.lang.ClassCastException]
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529
Caused by: com.sun.xml.ws.util.ServiceConfigurationError:
com.sun.xml.ws.api.pipe.TubelineAssemblerFactory: Provider weblogic.wsee .jaxws.WLSTubelineAssemblerFactory is specified in jar:file:/C:/Proyectos/Software/bea/wlserver_10.3/server/lib/weblogic.jar!/M
ETA
-INF/services/com.sun.xml.ws.api.pipe.TubelineAssemblerFactorybut could not be instantiated: java.lang.ClassCastException
at com.sun.xml.ws.util.ServiceFinder.fail(ServiceFinder.java:233)
at
com.sun.xml.ws.util.ServiceFinder.access$300(ServiceFinder.java:141)
at
com.sun.xml.ws.util.ServiceFinder$LazyIterator.next(ServiceFinder.java:379)
at
com.sun.xml.ws.api.pipe.TubelineAssemblerFactory.create(TubelineAssemblerFac
tory.java:104)
at
com.sun.xml.ws.api.pipe.TubelineAssemblerFactory.create(TubelineAssemblerFac
tory.java:78)
at
com.sun.xml.ws.client.WSServiceDelegate.createPipeline(WSServiceDelegate.jav
a:442)
at
com.sun.xml.ws.client.WSServiceDelegate.createEndpointIFBaseProxy(WSServiceD
elegate.java:639)
at
com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:342)
at
com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:324)
at
com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:306)
at javax.xml.ws.Service.getPort(Service.java:92)
at
com.bea.albpm.papiwebservice.PapiWebService_Service.getPapiWebServicePort(Pa
piWebService_Service.java:56)
at
com.company.latam.bpm.connector.albpm10g.BPMClient10g.initialize(BPMClient10g.j
ava:159)
at
com.company.latam.bpm.connector.albpm10g.BPMClient10g.<init>(BPMClient10g.java:
63)
at
com.company.latam.bpm.connector.ConnectorFactory.getInstance(ConnectorFactory.j
ava:22)
at
com.company.latam.bpm.connector.impl.BPMConnectorImpl.bpmAddAbstractRole(BPMCon
nectorImpl.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopU
tils.java:310)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint
(ReflectiveMethodInvocation.java:182)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:149)
at
org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(
MethodInvocationProceedingJoinPoint.java:77
at
com.company.latam.common.aop.LoggingAspect.logMethodsInvocations(LoggingAspect.
java:73)
at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWith
GivenArgs(AbstractAspectJAdvice.java:627)
at
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(Abs
tractAspectJAdvice.java:616)
at
org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvi
ce.java:64)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:171)
at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(Expos
eInvocationInterceptor.java:89)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:171)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopPro
xy.java:204)
at $Proxy57.bpmAddAbstractRole(Unknown Source)
at
com.company.latam.bpm.business.impl.BPMBusinessImpl.sendBPMNotificationAddFunct
ion(BPMBusinessImpl.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopU
tils.java:310)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint
(ReflectiveMethodInvocation.java:182)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:149)
at
org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(
MethodInvocationProceedingJoinPoint.java:77
at
com.company.latam.common.aop.LoggingAspect.logMethodsInvocations(LoggingAspect.
java:73)
at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWith
GivenArgs(AbstractAspectJAdvice.java:627)
at
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(Abs
tractAspectJAdvice.java:616)
at
org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvi
ce.java:64)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:171)
at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(Expos
eInvocationInterceptor.java:89)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:171)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopPro
xy.java:204)
at $Proxy58.sendBPMNotificationAddFunction(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopU
tils.java:310)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint
(ReflectiveMethodInvocation.java:182)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:149)
at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(Tr
ansactionInterceptor.java:106)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:171)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopPro
xy.java:204)
at $Proxy59.sendBPMNotificationAddFunction(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopU
tils.java:310)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint
(ReflectiveMethodInvocation.java:182)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:149)
at
org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(
MethodInvocationProceedingJoinPoint.java:77
at
com.company.latam.common.aop.LoggingAspect.logMethodsInvocations(LoggingAspect.
java:73)
at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWith
GivenArgs(AbstractAspectJAdvice.java:627)
at
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(Abs
tractAspectJAdvice.java:616)
at
org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvi
ce.java:64)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:171)
at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(Expos
eInvocationInterceptor.java:89)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:171)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopPro
xy.java:204)
at $Proxy59.sendBPMNotificationAddFunction(Unknown Source)
at
com.company.latam.sg.external.communicator.business.impl.ExternalCommunicatorBu
sinessImpl.forwardNotificationAddFunctionAn
dGroup(ExternalCommunicatorBusinessImpl.java:659)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopU
tils.java:310)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint
(ReflectiveMethodInvocation.java:182)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:149)
at
org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(
MethodInvocationProceedingJoinPoint.java:77
at
com.company.latam.common.aop.LoggingAspect.logMethodsInvocations(LoggingAspect.
java:73)
at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWith
GivenArgs(AbstractAspectJAdvice.java:627)
at
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(Abs
tractAspectJAdvice.java:616)
at
org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvi
ce.java:64)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:171)
at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(Expos
eInvocationInterceptor.java:89)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:171)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopPro
xy.java:204)
at $Proxy60.forwardNotificationAddFunctionAndGroup(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopU
tils.java:310)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint
(ReflectiveMethodInvocation.java:182)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:149)
at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(Tr
ansactionInterceptor.java:106)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:171)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopPro
xy.java:204)
at $Proxy61.forwardNotificationAddFunctionAndGroup(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopU
tils.java:310)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint
(ReflectiveMethodInvocation.java:182)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:149)
at
org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(
MethodInvocationProceedingJoinPoint.java:77
at
com.company.latam.common.aop.LoggingAspect.logMethodsInvocations(LoggingAspect.
java:73)
at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWith
GivenArgs(AbstractAspectJAdvice.java:627)
at
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(Abs
tractAspectJAdvice.java:616)
at
org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvi
ce.java:64)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:171)
at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(Expos
eInvocationInterceptor.java:89)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:171)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopPro
xy.java:204)
at $Proxy61.forwardNotificationAddFunctionAndGroup(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxy
Factory.java:416)
at
org.apache.wicket.proxy.$Proxy82.forwardNotificationAddFunctionAndGroup(Unkn
own Source)
at
com.citi.company.sg.external.communicator.jobs.AddEnttlementsJob.execute(AddEn
ttlementsJob.java:16)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
... 1 more
Caused by: java.lang.ClassCastException
at java.lang.Class.cast(Class.java:2990)
at
com.sun.xml.ws.util.ServiceFinder$LazyIterator.next(ServiceFinder.java:374)
... 146 more
---------------[END STACKTRACE]-----------------------------Hi,
This happens when the Classes gets Loaded from Different classLoaders and Create Conflicts...If you are using any EAR file then Please First of all...Place all the JAR files inside the "*<EAR_NAME>/APP-INF/lib*" directory and then Provide the "*weblogic-application.xml*" file inside the "*<EAR_NAME>/META-INF*"
And Please add the Following Tags inside your "*weblogic-application.xml*" ...
*<prefer-application-packages>*
<package-name>com.ctc.*</package-name>
<package-name>com.sun.xml.*</package-name>
<package-name>com.sun.istack.*</package-name>
<package-name>com.sun.msv.datatype.*</package-name>
<package-name>com.sun.msv.driver.*</package-name>
<package-name>com.sun.msv.grammar.*</package-name>
<package-name>com.sun.msv.reader.*</package-name>
<package-name>com.sun.msv.relaxns.*</package-name>
<package-name>com.sun.msv.scanner.*</package-name>
<package-name>com.sun.msv.util.*</package-name>
<package-name>com.sun.msv.verifier.*</package-name>
<package-name>com.sun.msv.writer.*</package-name>
<package-name>com.sun.org.apache.xml.internal.*</package-name>
<package-name>com.sun.wsit.*</package-name>
<package-name>javax.jws.*</package-name>
<package-name>javax.xml.bind.*</package-name>
<package-name>javax.xml.soap.*</package-name>
<package-name>javax.xml.stream.*</package-name>
<package-name>javax.xml.ws.*</package-name>
<package-name>javax.xml.activation.*</package-name>
<package-name>javax.xml.annotation.*</package-name>
<package-name>javax.xml.mail.*</package-name>
<package-name>javax.xml.security.*</package-name>
<package-name>javax.xml.registry.*</package-name>
<package-name>javax.xml.rpc.*</package-name>
<package-name>javax.xml.crypto.*</package-name>
<package-name>javanet.staxutils.*</package-name>
<package-name>jp.gr.xml.*</package-name>
<package-name>org.codehaus.stax2.*</package-name>
<package-name>org.glassfish.gmbal.*</package-name>
<package-name>org.iso_relax.*</package-name>
<package-name>org.jcp.xml.dsig.*</package-name>
<package-name>org.jvnet.*</package-name>
<package-name>org.relaxng.*</package-name>
*</prefer-application-packages>*
All the Above Packages are related to WebServices .... And needs to be loaded from one ClassLoader only....to avoid conflicts.
Thanks
Jay SenSharma
http://jaysensharma.wordpress.com (WebLogic Wonders Are Here) -
Mouse clicks not working on published air app, works fine when debugging/testing
So I have an issue where when debugging my Air application, it runs fine and mouse clicks work and everything. When I publish the application and install it, it plays fine but clicking does nothing.
We have an older version which is working when we publish it and we're trying to add things in one step at a time, but I figured I'd see if anyone else has had this issue. A bit frustrating.
Thanks!FIXED!!!!
We're using Dropbox to share files and it turns out that two people having project open at same time is a bad idea when doing final publish! It creates conflict files and effects the final package or something of that nature.
Glad we got that one figured out! -
Need to connect different swf files into one site
I need to make this site like presentation for my next exam. I found a good template for a slide show. The presentation will be structured like this:
MAIN PAGE with sidebar which links to:
slide one with slideshow 1
slide two with slideshow 2
slide three with slideshow 3
slide four with slideshow 4
due to the nature of the code thou i cannot put the different slideshows into the same .swf file in different scenes (i copied and pasted them in each scene and modified the actionscript so they would refer to different pictures) because they will create conflict with each other. now they question is can i use the sidebar to link to different swf files but still make it look like it was just one big swf?
thank you!Here is what you have to do
Create a document named main.swf in that document put 4 buttons and instance (button1_btn, button2, button3_btn, button4_btn).
Change the name to your slideshows to slide1.swf, slide2.swf, slide3.swf and slide4.swf.
Now go to the actionScript panel of your main.swf and paste the following code:
//load external content
var loader = new Loader
addChild(loader)
loader.x=0;
loader.y=0;
button1_btn.addEventListener(MouseEvent.CLICK, function(){
loader.load(new URLRequest("slide1.swf"));
button2_btn.addEventListener(MouseEvent.CLICK, function(){
loader.load(new URLRequest("slide2.swf"));
button3_btn.addEventListener(MouseEvent.CLICK, function(){
loader.load(new URLRequest("slide3.swf"));
button4_btn.addEventListener(MouseEvent.CLICK, function(){
loader.load(new URLRequest("slide4.swf"));
any problems let me know!!!
Maybe you are looking for
-
Adding SQL Server Express to Visual Studio 2013 Pro on Windows 10 Preview
I have installed VS 2013 Pro on Windows 10. I need to delevop unsing SQL Server Express. Do I download the full SQL Server 2012 Express Advanced (with full text search), or do I need only part of it? I was going to download the SQLEXPRADV_X64_ENU.exe
-
Problem in running forms 10g of 5 different departments
Hi All, My company has 5 departments, and each department has its own database. Each department has some forms in them and has a top level form which calls another from from it, and some forms even calls reports when a button is pressed. The thing is
-
Balancing field "Segment" in line item 001 not filled- J1IEX
Dear Friends, We are getting below error message while posting Excise invoice in J1IEX. Balancing field "Segment" in line item 001 not filled Message no. GLT2201 Diagnosis The field Segment marked as balancing is not filled with any value in line ite
-
N95 - Infrared Process Runs in Background Flatteni...
After running the infrared to sync Outlook and removing the phone it eventyally stopps the infrared connection (well so it would seam untill)... The N95 then continues to heat up and eventually flattens the battery. I can only presume that the infrar
-
Ipod won't recognise, sync, or charge!
the other day, i realised my ipod was flat out of battery, so i plugged it into my computer and then left it, assuming that it would charge.. like usual! so i checked up on it 5 minutes later.. and to my horror, the ipod had heated up, it wasnt on, n