Error running simple applications.
Hi all,
I have just downloaded CDC PP on my fedora core 2 linux machine.
I have tried to compile the demo applications by "builddemo"
and when i run the demos by "rundemo", I get the following error.
Have i forgotten to set the classpath somewhere?
Nalini
java.lang.UnsupportedClassVersionError: PPDemoFrame (Unsupported major.minor version 49.0)
at sun.misc.Launcher$AppClassLoader.findContainer(Ljava/lang/String;)Lsun/misc/Launcher$ClassContainer;(Native Method)
at sun.misc.Launcher$AppClassLoader.access$400(Lsun/misc/Launcher$AppClassLoader;Ljava/lang/String;)Lsun/misc/Launcher$ClassContainer;(Unknown Source)
at sun.misc.Launcher$4.run()Ljava/lang/Object;(Unknown Source)
at java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;(Unknown Source)
I think, that you have compiled you classes with
Jdk1.4+.
To eliminate the problem you can use:
javac -target 1.3 -source 1.3 .....I compiled it with Jdk1.4.x and there's no problem with that. it ran well, I think it's true that the problem is in the classpath.
Similar Messages
-
Getting class not found error running java application using OIM libraries
Hi,
I have created a java application in which I access OIM libraries to fetch user list and then assign user roles. As i run the application it generates exception and program crashes. However, I am using the same libraries in OIM adapters and it is working fine. Following is the exception message i am getting.
Caused by: java.lang.NoClassDefFoundError: org/springframework/jndi/JndiTemplate
at oracle.iam.platform.OIMClient.<init>(OIMClient.java:83)
at RoleAssignment.RoleAssignment.getUserAndChangePassword(RoleAssignment.java:143)
at RoleAssignment.RoleAssignment.execute(RoleAssignment.java:81)
at RoleAssignment.RoleAssignment.main(RoleAssignment.java:36)
... 5 more
Caused by: java.lang.ClassNotFoundException: org.springframework.jndi.JndiTemplate
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)Hi,
I resolved the problem by making spring.jar part of my executable jar file. I have added oimclient.jar, spring.jar, wlfullclient.jar, commons-logging.jar, and eclipselink.jar part of my executable jar. Now I am getting the error below. I googled it and it mentioned that i should add path of authwl.conf in my run configuration in eclipse. So i added the following line in " -Djava.security.auth.login.config=/u01/oracle/Middleware/Oracle_IDM1/server/CustomExec/authwl.conf " under the VM Arguments section of run configuration, but it continues to give the same error.
java.lang.SecurityException: Unable to locate a login configuration
at com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:93)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at javax.security.auth.login.Configuration$3.run(Configuration.java:247)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.Configuration.getConfiguration(Configuration.java:242)
at javax.security.auth.login.LoginContext$1.run(LoginContext.java:237)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.init(LoginContext.java:234)
at javax.security.auth.login.LoginContext.<init>(LoginContext.java:403)
at Thor.API.Security.LoginHandler.weblogicLoginHandler.login(weblogicLoginHandler.java:58)
at oracle.iam.platform.OIMClient.login(OIMClient.java:134)
at oracle.iam.platform.OIMClient.login(OIMClient.java:129)
at com.infotech.tra.organization.RoleAssignment.getUserAndChangePassword(RoleAssignment.java:213)
at com.infotech.tra.organization.RoleAssignment.execute(RoleAssignment.java:149)
at com.infotech.tra.organization.RoleAssignment.main(RoleAssignment.java:49)
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.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:56)
Caused by: java.io.IOException: Unable to locate a login configuration
at com.sun.security.auth.login.ConfigFile.init(ConfigFile.java:250)
at com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:91)
... 24 more -
Hi all,
since i am relatively new to this field, i created a simple application which takes in carrid and displays the sflight details...i too have binded the table but whenever i try to test the application it displays the following error_..."Adapter error in INPUT_FIELD "INPUT_CARRID" of view "Z_TEST_DETAILS.MAIN": Context binding for property VALUE cannot be resolved: The MAIN.1.SFLIGHT1 node does not contain any elements "*_
i even cannot enter debug mode because it dumps in the beginning.Could you please help me out with this.
Thanks and regards,
Urbashihi Abhi...
dat problem is solved bt nw after entering the carrid it again dumps saying "Number of Elements of the Collection of Node MAIN.1.SFLIGHT1 Violates the Cardinality. "
i have set the cardinality to 1-n.
the code written is:
data itab_sflight type standard table of sflight.
DATA lo_nd_sflight1 TYPE REF TO if_wd_context_node.
DATA lo_el_sflight1 TYPE REF TO if_wd_context_element.
DATA ls_sflight1 TYPE wd_this->Element_sflight1.
DATA lv_carrid TYPE wd_this->Element_sflight1-carrid.
navigate from <CONTEXT> to <SFLIGHT1> via lead selection
lo_nd_sflight1 = wd_context->get_child_node( name = wd_this->wdctx_sflight1 ).
@TODO handle non existant child
IF lo_nd_sflight1 IS INITIAL.
ENDIF.
get element via lead selection
lo_el_sflight1 = lo_nd_sflight1->get_element( ).
alternative access via index
lo_el_sflight1 = lo_nd_sflight1->get_element( index = 1 ).
@TODO handle not set lead selection
IF lo_el_sflight1 IS INITIAL.
ENDIF.
get single attribute
lo_el_sflight1->get_attribute(
EXPORTING
name = `CARRID`
IMPORTING
value = lv_carrid ).
select * from sflight into table itab_sflight
where carrid = 'lv_carrid'.
lo_nd_sflight1 = wd_context->get_child_node( name = wd_this->wdctx_SFLIGHT1 ).
lo_nd_sflight1->bind_table( itab_sflight ).
Regards,
Urbashi -
Error run web application designer 3.X
hello forum,
When I run the tool designer of the web application version 3.x.
jumps the following error:
Run-time error "75"
Path / file access error.
I have installed the patch:
gui710_7-10002995.exe: Patch Level 7 for SAP Logon.
bi710sp05_500-10004472.exe: BI Add-on 7.x, Support Package 5, Patch Level 5.
And he still does not work, you know if I need to install any more patch or perform some sort of setup?
A greeting and thanks.Hi,
You are talking in the query designer?
But that will only appear the result (with value) red or green or yellow, correct?
The idea is not to show the value, only the light.
Example:
I have the following:
Client|Value|
11 | 10eur
12 | 12eur
13 | -2eur|
The idea is to have the following:
Client|Alert|
11 | Green
12 | Green
13 | Red
Green to positive, red to negative, but only a light, no values displayed.
Thanks!
Edited by: Pedro Taveira on Nov 3, 2011 2:03 PM -
Error running sample application
Not able to run sample application. while compiling *.java files it's giving error oracle.ifs.bean.* not found. pls. suggest asap.
Do you have your CLASSPATH setup correctly? Your CLASSPATH must include the iFS libraries if you want to compile anything. Read the devkit documentation for more info.
-
Errors running converted application (from applet)
I've converted some codes (applet) into an application. When I run the application, I can see the GUI, but the application reports error as follows:
Exception occurred during event dispatching:
java.lang.NullPointerException
at swarmCanvas.paint(Swarm.java:192)
at sun.awt.RepaintArea.paint(RepaintArea.java:298)
at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:196)
at java.awt.Component.dispatchEventImpl(Component.java:2663)
at java.awt.Component.dispatchEvent(Component.java:2497)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
What I see is only the GUI less the animation that occurs when it was an applet. Could anyone offer me any suggestions or help? Thanks a lot.Here's my codes, many thanks:
* Swarm.class
* This is the major class of the swarm animation. The Swarm class is
* responsible for initialising and coordinating the Flock, swarmCanvas,
* and swarmPanel classes.
* @see Flock.class
* @see Bird.class
* @see Barrier.class
* @author Duncan Crombie
* @version 2.02, 20 September 1997
import java.awt.*;
public class Swarm extends java.applet.Applet implements Runnable {
Thread animator; // animation thread
swarmCanvas arena; // display canvas
swarmPanel controls; // control panel
static int NUMBLUE = 15, NUMRED = 5, MAXPOP = 20;
static double SPEED = 5.0;
static int TURN = 15, MINDIST = 30, MAXDIST = 60;
boolean paused = false;
public void init() { // initialise applet components
arena = new swarmCanvas();
controls = new swarmPanel(NUMBLUE, NUMRED, MAXPOP);
setLayout(new BorderLayout());
add("Center", arena); // add canvas to applet at 'Center'
add("South", controls); // add panel to applet at 'South'
arena.requestFocus();
public void start() { // start thread when applet starts
if (animator == null) {
animator = new Thread(this);
animator.start();
public void stop() { // stop thread when applet stops
if (animator != null) {
animator.stop();
animator = null;
public void run() {
boolean flocking = false;
while (true) {
if (!flocking && arena.unpacked) { // once canvas component is unpacked
Bird.setBoundaries(arena.w, arena.h); // set swarm boundaries
arena.flock = new Flock(NUMBLUE, NUMRED, SPEED, TURN, MINDIST, MAXDIST);
flocking = true;
} else if (flocking) {
Bird.setBoundaries(arena.w, arena.h);
if (!paused)
arena.flock.move(); // animate the flock
arena.repaint(); // update display
try {
Thread.sleep(20); // interval between steps
} catch (InterruptedException e) {}
public boolean handleEvent(Event ev) { // check for control panel actions
if (ev.id == Event.ACTION_EVENT && ev.target == controls.reset) {
resetApplet(); // reset button pressed in controls
return true;
if (ev.id == Event.ACTION_EVENT && ev.target == controls.pause) {
paused = !paused; // toggle paused status
controls.pause.setLabel((paused) ? "Continue" : "Pause");
return true;
if (ev.target == controls.sbRed) {
if (ev.id == Event.SCROLL_LINE_UP)
arena.flock.removeBird(Color.red); // remove a red Bird from flock
else if (ev.id == Event.SCROLL_LINE_DOWN)
arena.flock.addBird(new Bird(Color.red)); // add a red Bird
return true;
if (ev.target == controls.sbBlue) {
if (ev.id == Event.SCROLL_LINE_UP)
arena.flock.removeBird(Color.blue); // remove a blue Bird from flock
else if (ev.id == Event.SCROLL_LINE_DOWN)
arena.flock.addBird(new Bird(Color.blue)); // add a blue Bird
return true;
return super.handleEvent(ev); // pass on unprocessed events
public boolean keyDown(Event e, int x) { // check for key press
boolean shiftKeyDown = ((e.modifiers & Event.SHIFT_MASK) != 0);
if (shiftKeyDown) {
if (x == Event.DOWN) Flock.minDISTANCE -= 5; // less separation
if (x == Event.UP) Flock.minDISTANCE += 5; // more separation
if (x == Event.LEFT) Flock.maxDISTANCE -= 5; // lower detection
if (x == Event.RIGHT) Flock.maxDISTANCE += 5; // higher detection
Barrier.minRANGE = Flock.minDISTANCE;
Barrier.maxRANGE = Flock.maxDISTANCE;
} else {
if (x == Event.DOWN) Bird.maxSPEED -= 1.0; // slower
if (x == Event.UP) Bird.maxSPEED += 1.0; // faster
if (x == Event.LEFT) Bird.maxTURN -= 5; // less turning
if (x == Event.RIGHT) Bird.maxTURN += 5; // more turning
return true; // all key events handled
public void resetApplet() {
arena.flock = new Flock(NUMBLUE, NUMRED, SPEED, TURN, MINDIST, MAXDIST);
controls.sbBlue.setValue(NUMBLUE); // initialise scrollbars
controls.sbRed.setValue(NUMRED);
* swarmPanel.class
* A Panel holding two scrollbars and two buttons for controlling the
* Swarm applet.
* @see Swarm.class
* @author Duncan Crombie
* @version 2.01, 20 September 1997
class swarmPanel extends Panel { // class defines applet control panel
Button reset, pause;
Scrollbar sbBlue = new Scrollbar(Scrollbar.HORIZONTAL);
Scrollbar sbRed = new Scrollbar(Scrollbar.HORIZONTAL);
Label label1, label2;
* The construction method creates and adds control panel components
swarmPanel(int numRed, int numBlue, int maxBoid) {
setLayout(new GridLayout(2, 3)); // define 2 x 3 grid layout for controls
label1 = new Label("Blue #");
label1.setFont(new Font("Dialog", Font.PLAIN, 12)); add(label1);
label2 = new Label("Red #");
label2.setFont(new Font("Dialog", Font.PLAIN, 12)); add(label2);
reset = new Button("Reset"); add(reset);
sbBlue.setValues(numRed, 1, 0, maxBoid);
add(sbBlue);
sbRed.setValues(numBlue, 1, 0, maxBoid);
add(sbRed);
pause = new Button("Pause");
add(pause);
* swarmCanvas.class
* A Canvas for displaying the Flock and Swarm parameters.
* @see Swarm.class
* @author Duncan Crombie
* @version 2.01, 20 September 1997
class swarmCanvas extends Canvas {
Flock flock;
Image offScrImg;
boolean unpacked = false;
int w, h;
/* Double buffered graphics */
public void update(Graphics g) {
if (offScrImg == null || offScrImg.getWidth(this) != w || offScrImg.getHeight(this) != h)
offScrImg = createImage(w, h);
Graphics og = offScrImg.getGraphics();
paint(og);
g.drawImage(offScrImg, 0, 0, this);
og.dispose();
public void paint(Graphics g) {
Dimension d = this.preferredSize();
if (!unpacked) {
this.w = d.width;
this.h = d.height;
unpacked = true;
g.setColor(Color.white);
g.fillRect(0, 0, w, h); // draw white background
g.setColor(Color.black); // set font and write applet parameters
g.setFont(new Font("Dialog", Font.PLAIN, 10));
g.drawString("Bird Speed: " + Bird.maxSPEED, 10, 15);
g.drawString("Bird Turning: " + Bird.maxTURN, 10, 30);
g.drawString("Minimum Distance: " + Flock.minDISTANCE, 10, 45);
g.drawString("Maximum Distance: " + Flock.maxDISTANCE, 10, 60);
flock.display(g); // draw Flock members
if (this.w != d.width || this.h != d.height)
unpacked = false;
public boolean mouseDown(Event ev, int x, int y) {
int radius = Barrier.maxRANGE;
boolean top, bottom;
flock.addBird(new Barrier(x, y)); // place Barrier at click coordinates
top = (y < radius);
bottom = (y > h-radius);
if (x < radius) { // if left
flock.addBird(new Barrier(w + x, y));
if (top) flock.addBird(new Barrier(w + x, h + y));
else if (bottom) flock.addBird(new Barrier(w + x, y - h));
} else if (x > w-radius) { // if right
flock.addBird(new Barrier(x - w, y));
if (top) flock.addBird(new Barrier(x - w, h + y));
else if (bottom) flock.addBird(new Barrier(x - w, y - h));
if (top) flock.addBird(new Barrier(x, h + y));
else if (bottom) flock.addBird(new Barrier(x, y - h));
return true;
===================================================================
* Bird.class
* This class defines the appearance and behaviour of a Bird object.
* @see Swarm.class
* @see Flock.class
* @see Barrier.class
* @author Duncan Crombie
* @version 2.02, 21 September 1997
import java.awt.*;
class Bird {
int iX, iY, iTheta;
Color cFeathers;
static int arenaWIDTH, arenaHEIGHT; // canvas dimensions
static double maxSPEED; // speed of Bird
static int maxTURN; // maximum turn in degrees
Bird(int x, int y, int theta, Color feath) {
iX = x;
iY = y;
iTheta = theta;
cFeathers = feath;
Bird(Color feath) {
this((int)(Math.random() * arenaWIDTH),
(int)(Math.random() * arenaHEIGHT),
(int)(Math.random() * 360),
feath);
public void move(int iHeading) {
int iChange = 0;
int left = (iHeading - iTheta + 360) % 360;
int right = (iTheta - iHeading + 360) % 360;
if (left < right)
iChange = Math.min(maxTURN, left);
else
iChange = -Math.min(maxTURN, right);
iTheta = (iTheta + iChange + 360) % 360;
iX += (int)(maxSPEED * Math.cos(iTheta * Math.PI/180)) + arenaWIDTH;
iX %= arenaWIDTH;
iY -= (int)(maxSPEED * Math.sin(iTheta * Math.PI/180)) - arenaHEIGHT;
iY %= arenaHEIGHT;
public void display(Graphics g) { // draw Bird as a filled arc
g.setColor(this.cFeathers);
g.fillArc(iX - 12, iY - 12, 24, 24, iTheta + 180 - 15, 30);
public int getDistance(Bird bOther) {
int dX = bOther.getPosition().x-iX;
int dY = bOther.getPosition().y-iY;
return (int)Math.sqrt(Math.pow(dX, 2) + Math.pow(dY, 2));
static void setBoundaries(int w, int h) {
arenaWIDTH = w;
arenaHEIGHT = h;
public int getTheta() {
return iTheta;
public Point getPosition() {
return new Point(iX, iY);
public Color getFeathers() {
return cFeathers;
=================================================================
* Flock.class
* This class creates and coordinates the movement of a flock of Birds.
* @see Swarm.class
* @see Bird.class
* @see Barrier.class
* @author Duncan Crombie
* @version 2.02, 21 September 1997
import java.util.Vector;
import java.awt.*;
class Flock { // implement swarming algorithm on flock of birds
private Vector vBirds;
static int minDISTANCE, maxDISTANCE;
Flock(int nBlue, int nRed, double speed, int turn, int minDist, int maxDist) {
vBirds = new Vector(5, 5);
for (int i=0; i < nBlue + nRed; i++)
addBird(new Bird((i < nBlue) ? Color.blue : Color.red));
Bird.maxSPEED = speed;
Bird.maxTURN = turn;
Barrier.minRANGE = minDISTANCE = minDist;
Barrier.maxRANGE = maxDISTANCE = maxDist;
public void addBird(Bird bird) { // add Bird to vector
vBirds.addElement(bird);
synchronized void removeBird(Color col) { // remove Bird from vector
for (int i=0; i < vBirds.size(); i++) { // loop through vector of Birds
Bird bTemp = (Bird)vBirds.elementAt(i);
if (bTemp.getFeathers() == col) { // search for Bird of given colour
vBirds.removeElementAt(i); // if found, remove Bird..
break; // ..and stop searching
* The move function simply tells each Bird in the Vector vBirds to move
* according to the resultant Point of generalHeading.
synchronized public void move() {
for (int i=0; i < vBirds.size(); i++) {
Bird bTemp = (Bird)vBirds.elementAt(i);
bTemp.move(generalHeading(bTemp));
* The display function simply draws each Bird in the Vector vBirds at its
* current position.
public void display(Graphics g) { // display each Bird in flock
for (int i=0; i < vBirds.size(); i++) {
Bird bTemp = (Bird)vBirds.elementAt(i);
bTemp.display(g);
public Point sumPoints(Point p1, double w1, Point p2, double w2) {
return new Point((int)(w1*p1.x + w2*p2.x), (int)(w1*p1.y + w2*p2.y));
public double sizeOfPoint(Point p) {
return Math.sqrt(Math.pow(p.x, 2) + Math.pow(p.y, 2));
public Point normalisePoint(Point p, double n) {
if (sizeOfPoint(p) == 0.0) return p;
else {
double weight = n / sizeOfPoint(p);
return new Point((int)(p.x * weight), (int)(p.y * weight));
* The generalHeading function determines the point a Bird will turn towards
* in the next timestep. The Bird b checks for all Birds (other than self)
* that fall within the detection range. If the Bird is of a different colour
* or closer than the separation distance then they are repulsed else the
* Birds are attracted according to the flocking algorithm.
private int generalHeading(Bird b) {
if (b instanceof Barrier) return 0;
Point pTarget = new Point(0, 0);
int numBirds = 0; // total of Birds to average
for (int i=0; i < vBirds.size(); i++) { // for each Bird in array
Bird bTemp = (Bird)vBirds.elementAt(i); // retrieve element i
int distance = b.getDistance(bTemp); // get distance to Bird
if (!b.equals(bTemp) && distance > 0 && distance <= maxDISTANCE) {
* If the neighbour is a sibling the algorithm tells the boid to align its
* direction with the other Bird. If the distance between them differs from
* minDISTANCE then a weighted forces is applied to move it towards that
* distance. This force is stronger when the boids are very close or towards
* the limit of detection.
if (b.getFeathers().equals(bTemp.getFeathers())) { // if same colour
Point pAlign = new Point((int)(100 * Math.cos(bTemp.getTheta() * Math.PI/180)), (int)(-100 * Math.sin(bTemp.getTheta() * Math.PI/180)));
pAlign = normalisePoint(pAlign, 100); // alignment weight is 100
boolean tooClose = (distance < minDISTANCE);
double weight = 200.0;
if (tooClose) weight *= Math.pow(1 - (double)distance/minDISTANCE, 2);
else weight *= - Math.pow((double)(distance-minDISTANCE) / (maxDISTANCE-minDISTANCE), 2);
Point pAttract = sumPoints(bTemp.getPosition(), -1.0, b.getPosition(), 1.0);
pAttract = normalisePoint(pAttract, weight); // weight is variable
Point pDist = sumPoints(pAlign, 1.0, pAttract, 1.0);
pDist = normalisePoint(pDist, 100); // final weight is 100
pTarget = sumPoints(pTarget, 1.0, pDist, 1.0);
* In repulsion the target point moves away from the other Bird with a force
* that is weighted according to a distance squared rule.
else { // repulsion
Point pDist = sumPoints(b.getPosition(), 1.0, bTemp.getPosition(), -1.0);
pDist = normalisePoint(pDist, 1000);
double weight = Math.pow((1 - (double)distance/maxDISTANCE), 2);
pTarget = sumPoints(pTarget, 1.0, pDist, weight); // weight is variable
numBirds++;
if (numBirds == 0) return b.getTheta();
else // average target points and add to position
pTarget = sumPoints(b.getPosition(), 1.0, pTarget, 1/(double)numBirds);
int targetTheta = (int)(180/Math.PI * Math.atan2(b.getPosition().y - pTarget.y, pTarget.x - b.getPosition().x));
return (targetTheta + 360) % 360; // angle for Bird to steer towards
======================================================================
* Barrier.class
* This class creates and coordinates the movement of a flock of Birds.
* @see Swarm.class
* @see Flock.class
* @see Bird.class
* @author Duncan Crombie
* @version 2.01, 21 September 1997
import java.awt.*;
class Barrier extends Bird {
static int minRANGE, maxRANGE;
Barrier(int x, int y) {
super(x, y, 0, Color.black); // position Barrier and define color as black
public void move(int dummy) {
// do nothing
public void display(Graphics g) { // paint Barrier
g.setColor(Color.black);
g.fillOval(this.iX-5, this.iY-5, 10, 10);
g.setColor(Color.gray); // paint separation circle
g.drawOval(this.iX-minRANGE, this.iY-minRANGE, 2*minRANGE, 2*minRANGE);
g.setColor(Color.lightGray); // paint detection circle
g.drawOval(this.iX-maxRANGE, this.iY-maxRANGE, 2*maxRANGE, 2*maxRANGE);
=====================================================================
import java.awt.*;
import java.awt.event.*;
public class SwarmFrame extends Frame implements ActionListener {
public SwarmFrame() {
super("Flocking Bird");
MenuBar mb = new MenuBar();
setMenuBar(mb);
Menu fileMenu = new Menu("File");
mb.add(fileMenu);
MenuItem exitMenuItem = new MenuItem("Exit");
fileMenu.add(exitMenuItem);
exitMenuItem.addActionListener(this);
Swarm swarmApplet = new Swarm();
add(swarmApplet, BorderLayout.CENTER);
swarmApplet.init();
public void actionPerformed(ActionEvent evt) {
if(evt.getSource() instanceof MenuItem) {
String menuLabel = ((MenuItem) evt.getSource()).getLabel();
if(menuLabel.equals("Exit")) {
dispose();
System.exit(0);
=====================================================================
import java.awt.*;
public class SwarmApplication {
public static void main(String[] args) {
Frame frame = new SwarmFrame();
frame.setBounds(10, 10, 600, 400);
frame.setVisible(true); -
403 Error running ADF application in JCS
I am getting a 403 error while running a ADF application in JCS. I defined a security role and mapped it to a custom role. web.xml and weblogic.xml are pasted below
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5" xmlns="http://java.sun.com/xml/ns/javaee">
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
</context-param>
<context-param>
<description>If this parameter is true, there will be an automatic check of the modification date of your JSPs, and saved state will be discarded when JSP's change. It will also automatically check if your skinning css files have changed without you having to restart the server. This makes development easier, but adds overhead. For this reason this parameter should be set to false when your application is deployed.</description>
<param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<description>Whether the 'Generated by...' comment at the bottom of ADF Faces HTML pages should contain version number information.</description>
<param-name>oracle.adf.view.rich.versionString.HIDDEN</param-name>
<param-value>true</param-value>
</context-param>
<filter>
<filter-name>trinidad</filter-name>
<filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
</filter>
<filter>
<filter-name>ServletADFFilter</filter-name>
<filter-class>oracle.adf.share.http.ServletADFFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>trinidad</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>FORWARD</dispatcher>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
<filter-mapping>
<filter-name>ServletADFFilter</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>FORWARD</dispatcher>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>resources</servlet-name>
<servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>BIGRAPHSERVLET</servlet-name>
<servlet-class>oracle.adfinternal.view.faces.bi.renderkit.graph.GraphServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>BIGAUGESERVLET</servlet-name>
<servlet-class>oracle.adfinternal.view.faces.bi.renderkit.gauge.GaugeServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>MapProxyServlet</servlet-name>
<servlet-class>oracle.adfinternal.view.faces.bi.renderkit.geoMap.servlet.MapProxyServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>GatewayServlet</servlet-name>
<servlet-class>oracle.adfinternal.view.faces.bi.renderkit.graph.FlashBridgeServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>resources</servlet-name>
<url-pattern>/adf/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>resources</servlet-name>
<url-pattern>/afr/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>BIGRAPHSERVLET</servlet-name>
<url-pattern>/servlet/GraphServlet/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>BIGAUGESERVLET</servlet-name>
<url-pattern>/servlet/GaugeServlet/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>MapProxyServlet</servlet-name>
<url-pattern>/mapproxy/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>resources</servlet-name>
<url-pattern>/bi/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>GatewayServlet</servlet-name>
<url-pattern>/flashbridge/*</url-pattern>
</servlet-mapping>
<mime-mapping>
<extension>swf</extension>
<mime-type>application/x-shockwave-flash</mime-type>
</mime-mapping>
<security-constraint>
<web-resource-collection>
<web-resource-name>constraint1</web-resource-name>
<url-pattern>*</url-pattern>
</web-resource-collection>
</security-constraint>
<login-config>
<auth-method>CLIENT-CERT</auth-method>
<realm-name>default</realm-name>
</login-config>
<security-role>
<description>javauser</description>
<role-name>javauser</role-name>
</security-role>
</web-app>
<weblogic-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-web-app http://www.bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd"
xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app">
<security-role-assignment>
<role-name>javauser</role-name>
<principal-name>manager</principal-name>
</security-role-assignment>
<session-descriptor>
<cookie-path>cloudTest1</cookie-path>
</session-descriptor>
<context-root>/cloudTest1</context-root>
</weblogic-web-app>Does it work without security ? Does it work with "BASIC" authentication ? Which browser are you using, there have been authorization issues with CLIENT-CERT on IE. Try FF and clear your cookies / cache before accessing.
Jani Rautiainen
Fusion Applications Developer Relations
https://blogs.oracle.com/fadevrel/ -
why when I run a MVC application is giving me an error saying
Server Error in '/' Application.
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled
correctly.
Requested URL: /
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.340
thanks
I'd ask them over here.
http://forums.asp.net/
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows]
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights. -
Error when trying to run an application that worked when built with 8.6
I have a simple program that I wrote in version 8.6 that I never had a problem building and running applications built with it in 8.6. Two weeks ago I got 2009 in the mail because we had very recently purchased 8.6 and I am getting errors when trying to run an application built with the same code using 2009. The error has to do with the Mean.vi. It claims it cannot find it. The error I get reads as follows:
An error occurred loading VI 'NI_AALBase.lvlib:Mean.vi'. LabVIEW load error code 3: Could not load front panel. I don't need access to this vi's front panel, so I am wondering if it is a problem with the runtime engine and not my code. Please respond as soon as possible as this will quickly start to impact my testing schedule. Thank You.
Solved!
Go to Solution.Hi!
The same problem ???
I discussed it with my local NI technical support team. The application works without any problems now.
Basic rule: when creating an installer be sure that option "Run Time Engine xxxx" in "Additional Installers" category is checked in spite of the fact that Run Time Engine is already installed.
Best regards.
Attachments:
ADDINST.png 13 KB -
Error when running Simple Sample Apps
Hi,
I have deployed "simple sample apps" to NW CE71 EHP1 and was following the configuration document. And when i run the application I get following error:
Error in Connectiont :Could not retrieve metadata
Can somebody advise how to fix the issue?
Thank you,
MaxatThe error was in my Proxy settings. Issue is solved
-
Error running Flex mobile application on desktop
I bought Flash Builder 4.5 and installed the 4.5.1 patch.
When I create a very simple mobile application for Google Android, it will not run on the Desktop (using the Samsung Vibrant model - or other models).
I added a label to the HomeView.
Then I run the application on the desktop and the label will not appear.
I have tried other components as well but to no avail.
It was working fine before I applied the 4.5.1 patch.
Help is much appreciated.
DickMake sure there is no Errors in the errors tab... If there is an error, the last working version of the project will be run (the empty one)
-
Error while running web application through JDEV (10.1.3.0.3) in OC4J.
Here is the error message.
07/10/02 14:45:28 Exception in thread "OC4J Launcher" oracle.classloader.util.AnnotatedNoClassDefFoundError:
Missing class: javax.xml.bind.JAXBContext
Dependent class: com.oracle.corba.ee.impl.orb.config.InternalSettingsORBConfigImpl
Loader: oc4j:10.1.3
Code-Source: /C:/jdev/j2ee/home/lib/oc4j-internal.jar
Configuration: <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar
The missing class is not available from any code-source or loader in the server.
07/10/02 14:45:28 at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2073) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1681) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1633) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1618) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap]
at com.oracle.corba.ee.impl.orb.config.InternalSettingsORBConfigImpl.init (InternalSettingsORBConfigImpl.java:46) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.oracle.corba.ee.impl.orb.config.SunRIORBConfigImpl.init (SunRIORBConfigImpl.java:97) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.oracle.iiop.server.IIOPServerExtensionProvider.configureOrb (IIOPServerExtensionProvider.java:26) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.oracle.corba.ee.impl.orb.ORBServerExtensionProviderImpl.preInitApplicationServer (ORBServerExtensionProviderImpl.java:45) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ApplicationServer.serverExtensionPreInit (ApplicationServer.java:1031) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ApplicationServer.setConfig (ApplicationServer.java:861) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ApplicationServerLauncher.run (ApplicationServerLauncher.java:98) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at java.lang.Thread.run (Thread.java:595) [jre bootstrap, by jre.bootstrap]Hi,
The guide you were refering was pointing to 10.1.2 wizards.
For the latest 10.1.3 tutorial, please follow the below tutorial link :
http://www.oracle.com/technology/products/jdev/101/tutorials/WS/WSandAScontrol.htm
Hope this helps,
Sunil.. -
Error while running fiori application in launchpad which is having image in its empty view
Hi Experts,
I have created a fiori application using odata services and uploaded it into launchpad.I want to display image in its empty view. It is getting displayed when i run the application on eclipse but i am getting the error for the same when i run it on launchpad.
Below is the error:
"NetworkError: 404 NOT FOUND - http://ws-sapsvr01:8010/sap/bc/ui5_ui5/ui2/ushell/shells/abap/img/TeamSAP.jpg"
Can any body help me solve this issue why i am getting this??
Thanks & Regards.
Rahul.Hi Masa,
In my case, i've the file 'preco_ok.jpg' located inside my extended project (Z_MM_MyProject -> WebContent -> images)
And I refer it as follow:
<Image src="images/preco_ok.jpg" class="spaceIndicator"/>
In the local enviroment it is ok, but on launchpad, the 404 error is shown:
GET http://host:port/sap/bc/ui5_ui5/ui2/ushell/shells/abap/images/preco_ok.jpg 404 (NOT FOUND)
Thank you for your support. -
Error while running SDK application in XIR2 server machine
Hi all,
Thanks for your support provided so far.
I have developed a .NET sdk application to extract the metadata from the XI-R2 universe and report files. I'm able to run the application in my machine. But when I run my tool in the server machine which has XI-R2 installed in it, it throws the following error.
System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {DCDC6F02-5766-11D0-AF14-00A0C912DCDD} failed due to the following error: 80040154.
I have referred the Busobj.dll and Designer.Dll in the application to extract metadata. These DLL's are embedded along with the application.
Am I missing any Dll's? Kindly help me.Thanks Ted.
Yes I looked the CLSID, it refers the Desktop Intelligence Application and the following keys under the CLSID are as follows:
1. InProcHandler32-- Ole32.dll
2. Localserver32 -- C:\BusinessObjects\BusinessObjectsEnterprise 11.5\win32_x86 busobj.exe /Automation
3. ProgID -- BusinessObjects.Application.11
4. VersionIndependentProgID --BusinessObjects.Application
Kindly help me. -
An error occurred while preparing the installation. Try running the application again
I Have erased the hard drive of my MBP in order to perform a clean reinstall of OS X Mavericks, according to these instructions.
When I tried to reinstall, my internet connection stopped (was broadcasting via another MBP and the cable from that one got disconnected), so I restarted the erased MBP to try again. Holding command+R, it booted in internet recovery (as the recovery partition was erased along with the rest of the hard drive), but could not connect over the broadcasted WiFi, so I created a bootable USB flash drive according to these instructions on the other MBP.
This installation went smooth without any hiccups, but due to an oversight I had to do it again the next day.
I took the same steps, with the same bootable drive (I did not create a new one the first time) but this time I couldn’t get through the prepare to install phase. At the end, where the “about a second remaining” message stays for about 20 minutes, I get the “An error occurred while preparing the installation. Try running the application again” message. When I quit the installer (only option at that stage) and return to Disk Utility, the internal drive on which I tried to do the installation is not visible anymore.
I tried this (after a reboot every time) with a new bootable usb drive with the same download of the OS X Mavericks installer and with a new one, each ending with the same error. The installer was downloaded on an MBP on which Mavericks is also installed, with the same Apple ID. The App Store did not allow me to change Apple ID for the Mavericks download. Can this pose a problem? It did work the first time, though.
Note that this error occurs at a different stage than the one with the same message due to the wrong date (this discussion amongst others). I also checked the date in terminal and this appears to be correct, when I consider the timezone.
Here are a few lines from the installer log (omitted similar lines and lines that could contain personal information). The most important line is the last one, indicating the error.
Jun 22 02:14:01 localhost Install OS X Mavericks[423]: @(#)PROGRAM:Install PROJECT:Install-846
Jun 22 02:14:01 localhost Install OS X Mavericks[423]: @(#)PROGRAM:IA PROJECT:InstallAssistant-476.8
Jun 22 02:14:01 localhost Install OS X Mavericks[423]: Hardware: MacBookPro9,2 @ 2.50 GHz (x 4), 4096 MB RAM
Jun 22 02:14:01 localhost Install OS X Mavericks[423]: Running OS Build: Mac OS X 10.9.3 (13D65)
Jun 22 02:14:01 localhost Install OS X Mavericks[423]: Env: DYLD_NO_FIX_PREBINDING=1
Jun 22 02:14:01 localhost Install OS X Mavericks[423]: Env: __CF_USER_TEXT_ENCODING=0x0:0:0
Jun 22 02:14:01 localhost Install OS X Mavericks[423]: Env: PATH=/usr/bin:/bin:/usr/sbin:/sbin
Jun 22 02:14:01 localhost Install OS X Mavericks[423]: Env: PWD=/
Jun 22 02:14:01 localhost Install OS X Mavericks[423]: Env: SHLVL=1
Jun 22 02:14:01 localhost Install OS X Mavericks[423]: Env: __OSINSTALL_ENVIRONMENT=1
Jun 22 02:14:01 localhost Install OS X Mavericks[423]: Env: CI_DEFAULT_OPENCL_USAGE=0
Jun 22 02:14:01 localhost Install OS X Mavericks[423]: Env: OS_INSTALL=1
Jun 22 02:14:01 localhost Install OS X Mavericks[423]: Env: _=/System/Library/CoreServices/Language Chooser.app/Contents/MacOS/Language Chooser
Jun 22 02:14:38 localhost Install OS X Mavericks[423]: Using distribution archive from /Volumes/Install OS X Mavericks/Install OS X Mavericks.app/Contents/SharedSupport/OSInstall.mpkg
Jun 22 02:14:38 localhost Install OS X Mavericks[423]: Configuring products from SharedSupport folder
Jun 22 02:14:38 localhost Install OS X Mavericks[423]: Install is double-dmg. Not adding chunklist to download list.
Jun 22 02:14:38 localhost Install OS X Mavericks[423]: Using product <OSInstallDVDProduct> based on media at /Volumes/Install OS X Mavericks/Install OS X Mavericks.app/Contents/SharedSupport at distance 5
Jun 22 02:14:38 localhost Install OS X Mavericks[423]: Using product <OSInstallESDProduct> based on distribution at /Volumes/Install OS X Mavericks/Install OS X Mavericks.app/Contents/SharedSupport/OSInstall.mpkg at distance 5
Jun 22 02:14:38 localhost Install OS X Mavericks[423]: Checking Software Update catalog URL https://swscan.apple.com/content/catalogs/others/index-10.9-mountainlion-lion-sn owleopard-leopard.merged-1.sucatalog
Jun 22 02:14:39 localhost Install OS X Mavericks[423]: JS: installCheckScript threw exception TypeError: 'null' is not an object (evaluating 'my.target.systemVersion')
Jun 22 02:14:39 localhost Install OS X Mavericks[423]: No available package ref for compatibility update. Ignoring.
Jun 22 02:14:39 localhost Install OS X Mavericks[423]: *** IFDCustomizationController_10_6 does not know the size of distant package at (null)
Jun 22 02:14:39 localhost Install OS X Mavericks[423]: *** IFDCustomizationController_10_6 does not know the size of distant package at (null)
Jun 22 02:14:39 localhost Install OS X Mavericks[423]: Can not connect to /var/run/systemkeychaincheck.socket: No such file or directory
Jun 22 02:14:39 localhost Install OS X Mavericks[423]: Could not load Software Update catalog: Error Domain=NSURLErrorDomain Code=-1009 "The Internet connection appears to be offline." UserInfo=0x7fedd960ccc0 {NSUnderlyingError=0x7feddc866ef0 "The Internet connection appears to be offline.", NSErrorFailingURLStringKey=https://swscan.apple.com/content/catalogs/others/index-10.9-mountainlion-lion-sn owleopard-leopard.merged-1.sucatalog, NSErrorFailingURLKey=https://swscan.apple.com/content/catalogs/others/index-10.9-mountainlion-lion-sn owleopard-leopard.merged-1.sucatalog, NSLocalizedDescription=The Internet connection appears to be offline.}
Jun 22 02:14:39 localhost Install OS X Mavericks[423]: Could not fetch SWU catalog to create SWU product
Jun 22 02:14:49 localhost Install OS X Mavericks[423]: LSExceptions [0x7fedd9446e50] unloaded
Jun 22 02:15:12 localhost Install OS X Mavericks[423]: No available package ref for compatibility update. Ignoring.
Jun 22 02:15:12 localhost Install OS X Mavericks[423]: *** IFDCustomizationController_10_6 does not know the size of distant package at (null)
Jun 22 02:15:12 localhost Install OS X Mavericks[423]: *** IFDCustomizationController_10_6 does not know the size of distant package at (null)
Jun 22 02:20:55 localhost Install OS X Mavericks[423]: Created IATool object:dbe23a50
Jun 22 02:20:56 localhost Install OS X Mavericks[423]: Could not find package ref in any source for: com.apple.pkg.BaseSystemBinaries
—a lot of similar messages, but for other packages —
Jun 22 02:20:56 localhost Install OS X Mavericks[423]: No available package ref for compatibility update. Ignoring.
Jun 22 02:21:09 localhost Install OS X Mavericks[423]: Preventing machine sleep.
Jun 22 02:21:42 localhost Install OS X Mavericks[423]: Using product IA_PKSecureNetEnabledProduct <file:///Volumes/schijf/OS%20X%20Install%20Data/> at distance 5
Jun 22 02:21:42 localhost Install OS X Mavericks[423]: Using existing boot files dir at /Volumes/Install OS X Mavericks/.IABootFiles
Jun 22 02:21:42 localhost Install OS X Mavericks[423]: Using mutable product path: /Volumes/schijf/OS X Install Data
Jun 22 02:21:42 localhost Install OS X Mavericks[423]: Using boot files path: /Volumes/Install OS X Mavericks/.IABootFiles
Jun 22 02:21:42 localhost Install OS X Mavericks[423]: Could not find package ref in any source for: com.apple.pkg.BaseSystemBinaries
—a lot of similar messages, but for other packages —
Jun 22 02:21:42 localhost Install OS X Mavericks[423]: Could not find package ref in any source for: com.apple.pkg.OSInstall
Jun 22 02:21:42 localhost Install OS X Mavericks[423]: No available package ref for compatibility update. Ignoring.
Jun 22 02:21:42 localhost Install OS X Mavericks[423]: Could not find package ref in any source for: com.apple.pkg.BaseSystemBinaries
—a lot of similar messages, but for other packages —
Jun 22 02:21:42 localhost Install OS X Mavericks[423]: Could not find package ref in any source for: com.apple.pkg.OSInstall
Jun 22 02:21:42 localhost Install OS X Mavericks[423]: No available package ref for compatibility update. Ignoring.
Jun 22 02:21:42 localhost Install OS X Mavericks[423]: Retrieving 0 packages (0.000 GB)
*****This is where the timer starts saying “”About a minute remaining”*****
Jun 22 02:21:42 localhost Install OS X Mavericks[423]: Verifying InstallMacOSX.pkg/InstallESD.dmg
Jun 22 02:42:36 localhost Install OS X Mavericks[423]: Finished operation queue
Jun 22 02:42:36 localhost Install OS X Mavericks[423]: Opening /Volumes/Install OS X Mavericks/Install OS X Mavericks.app/Contents/SharedSupport/InstallESD.dmg
Jun 22 02:42:38 localhost Install OS X Mavericks[423]: Extracting boot files from /Volumes/OS X Install ESD/BaseSystem.dmg
Jun 22 02:42:39 localhost Install OS X Mavericks[423]: Extracting Boot Bits from Inner DMG:
Jun 22 02:42:41 localhost Install OS X Mavericks[423]: Copied kernelcache
Jun 22 02:42:42 localhost Install OS X Mavericks[423]: Copied Boot.efi
Jun 22 02:42:42 localhost Install OS X Mavericks[423]: Copied PlatformSupport.plist
Jun 22 02:42:42 localhost Install OS X Mavericks[423]: Ejecting disk images
Jun 22 02:42:42 localhost Install OS X Mavericks[423]: Generating the com.apple.Boot.plist file
Jun 22 02:42:42 localhost Install OS X Mavericks[423]: com.apple.Boot.plist: {
"Kernel Cache" = "/.IABootFiles/kernelcache";
"Kernel Flags" = "container-dmg=file:///Install%20OS%20X%20Mavericks.app/Contents/SharedSupport/ InstallESD.dmg root-dmg=file:///BaseSystem.dmg";
Jun 22 02:42:43 localhost Install OS X Mavericks[423]: Done generating the com.apple.Boot.plist file
Jun 22 02:42:43 localhost Install OS X Mavericks[423]: Blessing /Volumes/Install OS X Mavericks -- /Volumes/Install OS X Mavericks/.IABootFiles
Jun 22 02:42:43 localhost Install OS X Mavericks[423]: Blessing Mount Point:/Volumes/Install OS X Mavericks Folder:/Volumes/Install OS X Mavericks/.IABootFiles plist:com.apple.Boot.plist
Jun 22 02:42:43 localhost Install OS X Mavericks[423]: ***************************** Setting Startup Disk *****************************
Jun 22 02:42:43 localhost Install OS X Mavericks[423]: ****** Path: /Volumes/Install OS X Mavericks
Jun 22 02:42:43 localhost Install OS X Mavericks[423]: ****** Boot Plist: /Volumes/Install OS X Mavericks/.IABootFiles/com.apple.Boot.plist
Jun 22 02:42:43 localhost Install OS X Mavericks[423]: /usr/sbin/bless -setBoot -folder /Volumes/Install OS X Mavericks/.IABootFiles -bootefi /Volumes/Install OS X Mavericks/.IABootFiles/boot.efi -options config="\.IABootFiles\com.apple.Boot" -label OS X Installer
Jun 22 02:42:43 localhost Install OS X Mavericks[423]: Bless on /Volumes/Install OS X Mavericks succeeded
Jun 22 02:45:55 localhost Install OS X Mavericks[423]: Got error in writing to /Volumes/schijf/OS X Install Data/minstallconfig.xml
That last line indicates the error that occurred. (The internal drive on which I try to install Mavericks is called “schijf”, it also already has been called Macintosh HD, with no effect. This time I tried another name during the reformat to see if and when the installer renames the disk. Does it do this, or should I call the disk “Macintosh HD” myself?)
By now I also got past the internet recovery issues, being able to get the progress bar under the spinning globe and the option to install Lion (not Mavericks, but I suppose that’s because the MBP shipped with Lion). When I choose this option, the installer first spends a few hours downloading additional components. This eventually took less time than first indicated, but still about 4-5 hours. After this, the installation of about 24 minutes starts, but this takes much longer than the indicated 24 minutes, each minute taking about 15 minutes. When it was less than a minute, the internet connection got disconnected (but I don’t suppose it still needed an internet connection at this stage, having downloaded all additional components) and now the “Less than a minute” message has been there the whole night (about 9,5 hours), the last 9 hours with a spinning beachball on the screen after I accidentally clicked somewhere on the screen (nowhere in particular, he shouldn’t do something because of the click. After unplugging the power adapter, the battery icon on the screen wasn’t updated, and the WiFi icon simply disappeared, instead of showing no bars like it should when there’s no connection).
Does Anyone know how I can fix the error, because I would prefer installing with a bootable drive. Is it worth it to continue waiting on the current, apparently stuck Lion installer to finish or should I force a reboot?
Can I try using the Recovery Disk assistant (OS X Recovery Disk Assistant v1.0) to create a recovery disk with the other MBP? I think not, as this might cause trouble with 2 different MBP's using the same license.
Thanks in advance!Since this thread seems to be gaining more speed than the other one i'm working on, i figured i'd add these images to help you all out detailing the exact problem.
I'm having the same issue and I wanted to provide some info specific to my mac, and some info in general to help with diganosis.
First, my specs
Secondly, I am running an aftermarket 500 GB drive.
Third, not sure if this is realated, but this screen suggests the proress will take 3 minutes, then it abruptly umps to the restart phase after about 1.5 - 2.5 minutes.
And finally, here is the seeminly unavoidable error message.
Also, other things I've tried now are
installing it from the "show package contents area",
mounting said DMG and trying to install from there.
installing a package file called "upgradeos.pkg"
no luck.
Maybe you are looking for
-
Facing problem during file upload
hi we r designing a portal where it is required to upload files based on individual users who have logged in. For this purpose we r using a file field in one page and http upload tag in another page. The file uploads successfuly to the database, but
-
I upgraded weblogic sp2 to Weblogic sp3 in Solaris environment.When i restart the server, all the components are getting deployed and the server listens to the correct port but immediately the shutdown begin and the server undeploys all the component
-
FINAL CALL.....help me pick one
hi all, i am now ready to go for a new pc. since the money is of constraint i am planning to go for any one of the following two comps at same price, specs of which are as follows: Processor: Intel i-5 2500 4 cores Mobo: Intel DH67GD Ram: 4 GB DDR 3
-
Hi Experts, I have PCD path of portal page. Can I get application path(the full path with project path and application name) of the application that portal page is holding? Regards, Gopal
-
Mac won't recognize Sony DCR-SR40 Handycam
I'm trying to import videos from a Sony Handycam DCR-SR40. This was purchased about 8 years ago. (i.e. 2006 or so) The camera works fine, I can play, record, use all features. I am running a mac book pro previously with OS Mavericks, recently upgra