Compiling in SQLDeveloper gives error, but not sqlplus

Hi All,
My case is very strange. I am able to compile a package body from sqlplus successfully, but gets the error "PLS-00707: unsupported construct or internal error [2603]" if I do the same from Oracle SQL Developer. My procedure is so big that I could not copy it here.
Thanks,
Sharmin

you are in the wrong forum, this one is dedictaed to oracle forms.

Similar Messages

  • Connection ... able to connect using sql developer, but not sqlplus or toad too

    Hi folks, having this issue, with only one of my so many databases, what might be the reason and how to fix/correct this, please assist.
    Able to connect using sql developer, but not sqlplus or toad too; sqlplus error: ORA-12154: TNS:could not resolve the connect identifier specified
    thanks in advance.

    SQLDEVELOPER works since it use JDBC Thin & does not use tnsnames.ora
    ORA-12154 ALWAYS only occurs on SQL Client & no SQL*Net packets ever leave client system
    ORA-12154 [B]NEVER[/B] involves the listener, the database itself or anything on the DB Server.
    ORA-12154 occurs when client requests a connection to some DB server system using some connection string.
    TNS-03505 is thrown by tnsping & is same error as ORA-12154 thrown by sqlplus or others.
    The lookup operation fails because the name provided can [B]NOT[/B] be resolved to any remote DB.
    The analogous operation would be when you wanted to call somebody, but could not find their name in any phonebook.
    The most frequent cause for the ORA-12154  error is when the connection alias can not be found in tnsnames.ora.
    The lookup operation of the alias can be impacted by the contents of the sqlnet.ora file; specifically DOMAIN entry.
    TROUBLESHOOTING GUIDE: ORA-12154 & TNS-12154 TNS:could not resolve service name [ID 114085.1]
    http://edstevensdba.wordpress.com/2011/02/26/ora-12154tns-03505/

  • My code not give error nut not give pdf report output

    hi master
    sir see my code not give error nut not give pdf report output
    String reportSource = "./WEB-INF/reports/mfa.jasper";
    String reportDest = "./reports/mfa1.html";
    Connection conn = null ;
    Statement msqlStatement = null ;
    ResultSet mrs = null ;
    Connection mconn = null ;
    ExternalContext econtext = getExternalContext();
    InputStream stream = econtext.getResourceAsStream(reportSource);
    if (stream == null) {
    throw new IllegalArgumentException("Unknown report name '" + reportSource
    + "' requested");
    try {
    String mfat = ac_categoryDataProvider.getCachedRowSet().getDataSourceName();
    javax.naming.Context mctx = new javax.naming.InitialContext() ;
    DataSource mds = (DataSource)mctx.lookup(mfat);
    Connection mcon= mds.getConnection();
    mcon.setAutoCommit(false) ;
    JasperPrint jasperPrint = null;
    //getSessionBean1().getTripRowSet(),
    //getSessionBean1().getAc_categoryRowSet(), mfat getSessionBean1().getAc_categoryRowSet()
    jasperPrint = JasperFillManager.fillReport(stream, null,mcon);
    JRExporter exporter = null;
    HttpServletResponse response = (HttpServletResponse)econtext.getResponse();
    FacesContext fcontext = FacesContext.getCurrentInstance();
    exporter = new JRPdfExporter();
    exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);
    exporter.setParameter(JRExporterParameter.OUTPUT_STREAM,
    response.getOutputStream());
    exporter.exportReport();
    fcontext.responseComplete();
    } catch (Exception ex) {
    log(" Error Description" , ex);
    error("Error counting rows: " + ex.getMessage() );
    error("Error counting rows: " + ex );
    please give me idea
    thank's
    aamir

    Thanks Sven.
    The query works but the other way. The output is for all the targets, not for the respective target which we select from :p1_target.
    select target_name,target_type, column_label,
    warning_threshold,critical_threshold,occurrence_count
    from sysman.MGMT$TARGET_METRIC_SETTINGS@crmodem
    where target_name in (select MEMBER_TARGET_NAME from MGMT$TARGET_FLAT_MEMBERS@crmodem
    where upper(AGGREGATE_TARGET_NAME) like '%X' || :P1_TARGET || '%')
    Thanks again.

  • During Itunes installation gives error:  Could not write value ManageLL....

    Hi,
    I have 2 PCs at home and on one itunes installed just fine but on another during installation i am getting the following error:
    Could not write value ManageLLRouting to key \System\CurrentControlSet\Services\Bonjour\Service\Parameters
    Anyone has an idea? Google didnt give me anything on such issue.
    Will appreciate your help.

    Hi clinton86,
    Welcome to the Apple Support Communities! I understand that are receiving an alert when trying to import a CD to iTunes and are being asked to reinstall iTunes. iTunes and all of its components must be removed in a specific order when uninstalling from a Windows computer. Please use the following article as a reference.
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    http://support.apple.com/kb/ht1923
    1. Remove iTunes and related components from the Control Panel
    Use the Control Panel to uninstall iTunes and related software components in the following order and then restart your computer:
    iTunes
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support (iTunes 9 or later)
    Important: Uninstalling these components in a different order, or only uninstalling some of these components may have unintended affects.
    I hope this helps,  
    -Joe

  • Portlet gives ERROR: Content not available and log says FileNotFoundExcepti

    I'm trying to deploy my 'works on JBoss' portlets onto portlet server 7.2
    I uses psadmin register-portlets... to load my ear file with the portlets
    I went into 'Add New Channel or Container' and picked the sandbox and 'channel'
    Step 1.1 I picked JSR 168 or 268
    Step 2 I could see my portlets in the drop down so I picked one
    That seemed to work fine.
    Then I went into 'design desktop layout' and I picked my portlet from the list there and put it onto the sandbox
    Looking good. There were some odd warning errors in the log referring to JSF which don't look relevant so I ignored them (see below)
    Next I logged into sanbox and all I see are two frames (I added two portlets) both saying ERROR: Content not available
    In my log I have two identical errors:
    2008-11-21T17:17:35.875+1300|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=33;_ThreadName=com.sun.portal.desktop.context.ReusableProviderCaller;_RequestID=2cb012a6-0fbc-498a-9ecd-02efae5c854a;|ApplicationDispatcher[] PWC1231: Servlet.service() for servlet default threw exception
    java.io.FileNotFoundException: /servlet/PortletAppEngineServlet
         at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:732)
         at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:384)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
         at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:855)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:660)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:578)
         at com.sun.portal.portletcontainer.impl.PortletContainer.invokePAE(PortletContainer.java:790)
         at com.sun.portal.portletcontainer.impl.PortletContainer.invokePAE(PortletContainer.java:673)
         at com.sun.portal.portletcontainer.impl.PortletContainer.getMarkup(PortletContainer.java:209)
         at com.sun.portal.providers.window.WindowProvider.getPortletContent(WindowProvider.java:382)
         at com.sun.portal.providers.window.WindowProvider.getContentInternal(WindowProvider.java:247)
         at com.sun.portal.providers.window.WindowProvider.getContent(WindowProvider.java:212)
         at com.sun.portal.providers.portletwindow.PortletWindowProvider.getContent(PortletWindowProvider.java:109)
         at com.sun.portal.desktop.context.ReusableProviderCaller.run(ReusableProviderCaller.java:206)Earlier in the log I can see:
    [#|2008-11-21T17:17:14.343+1300|WARNING|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.application|_ThreadID=26;_ThreadName=httpSSLWorkerThread-8080-3;/faces/desktop/Library.jsp;/faces;_RequestID=eaa404b5-8589-4873-940e-4146d603277e;|JSF1015: Request path '/faces/desktop/Library.jsp' begins with one or more occurrences of the FacesServlet prefix path mapping '/faces'.|#]
    #|2008-11-21T17:28:18.453+1300|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=24;_ThreadName=httpSSLWorkerThread-8080-4;|
    com.sun.web.ui.component.DropDown::The current value of component frm:createChannel:step2:sheet2:section1:p2:providers does not match any of the selections.
    Did you forget to reset the value after changing the options? |#]Those don't mean anything to me but they look like the console is complaining about something internal.
    Where did I go wrong here? I did not deploy the ear file normally, just ran the psadmin. Do I need to do both? Is there some other step I missed?
    Thanks for any help

    As you can see from docs - http://docs.sun.com/app/docs/doc/820-2052/gdela register-portlet is supported for EAR files generated by JCAPS tools. In you case you need to manually add the portal required artifacts. In case of WAR this is handled by deploy-portlet command. I don't remember exact artifacts that were added in PS7.2 portlet deployment. You can deploy a WAR and see the artifacts that will be added and the entry in web.xml as well.
    Regards,
    Deepak

  • Firefox Spry Error (but not  in IE)

    Hey Guys,
    Can anyone help me troubleshoot this error I'm receiving on
    my Spry page. It's this line of code:
    var selIndex = selObj.selectedIndex;
    It's happening in Firefox, but not in IE (works fine in IE).
    The page URL is:
    http://www.spearsenterprises.com/products.html
    Any suggestions would be appreciated.
    Thanks.

    Put an id="selectBike" on your select.
    --== Kin ==--

  • Camera tracker solving without errors but not showing result points

    hi
    I am trying the new camera tracker in AE cs6,
    im using very simple shots that can be tracked easily,
    and im having some strange behaviours,
    basically in many shots the analysis takes places with no errors but after the camera solve no result points appear, even if i use the advanced mode , changing all other parameters etc, and no errors are reported anywhere, also i select the effect on the panel and i also make sure the points size parameters are scaled up,
    but if i click on processing points (the unchecked box below 3d solve) i can see they are all there, and i can also create camera and the camera is created, so its as if all the process takes place correctly but for some reason the solve points are not shown on screen
    it has happened to me that with same shot sometimes they appeared and sometimes not, but most times they dont
    what can be happening in here?
    thanks so much

    will try to explain better my problem
    if i click on
    Render Track Points
    i can see there are great track points that follow all the movement perfectly,
    and yet without checking that box no solve points appear, even when i select the effect on effects panel
    or change any other parameter or do the advanced mode
    i can still click on create camera etc, but i cannot attach a text etc to a specific solve point because no solve points appear
    and yet as i say, if i click on the Render Track Points box i can see great tracking points all over the place following the action
    so the fact that selecting Render Track Points on effects panel shows great perfect points following all , does that confirm that camera solve was successful?
    i just cannot understand why i cannot see any solve points that i can interact with
    i have tried to scale sizes all the way up, select effect on panel and hundred other things
    thank you for any help

  • Ms-7030 bios 1.9 everthing gives error but after some time evrythng normal

    hi.
    i read the forum about ms-7030 bios version 1.9
    i don't know my problem is because of the 1.9 bios but my problem is that
    my pc was normally booting in my fifth or sixth reset. in every boot it gives different errors, sometimes no signal to monitor sometimes blue screen with sys errors, but after that six or seven attempt computer works fine with no problem.
    any idea?
    k8n neo platinum
    512 ddr400 ram
    sempron 2600+
    sapphire ati 9550 256
    samsung 80 gb harddisk

    i have same issue like you, but i have only 3 restarts 
    i think it`s a PSU problem...maybe you must buy better PSU, minimum on 12V rail 18A and more...
    keep posted if you solve this problem...

  • WSIFServiceFactory.newInstance() gives error but in WSAD itis ok

    Hi,
    on calling
    WSIFServiceFactory.newInstance() gives error
    java.lang.NoClassDefFoundError: oracle/j2ee/ws/wsdl/extensions/wsif/schema/Schema2Java
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at org.apache.wsif.util.WSIFUtils.createSimpleTypesMap(WSIFUtils.java:704)
         at org.apache.wsif.WSIFServiceFactory.newInstance(WSIFServiceFactory.java:84)
    with regards
    Siddharth singh

    Hi,
    the line
    java.lang.NoClassDefFoundError: oracle/j2ee/ws/wsdl/extensions/wsif/schema/Schema2Java
    points to a missing library class.Make sure Schema2Java is accessible from your project
    Frank

  • Compiles in Java 5.0 but not 6.0

    I did my homework on my school computer (in eclipse) and compiled in in 6.0 and everything worked. Then I saved it to a usb drive
    and brought it home. I tried to run it on my computer (in eclipse) in 6.0 and it gave me this error:
    Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)when I tried to run it. The weird thing is, if I change eclipse's preferences to compile in 5.0 everything works fine. I just don't understand
    why it compiled in 6.0 at school but won't work on my home computer in 6.0? I'm worried that my teacher might grade the assignment in
    6.0 because if he does I'll get a 0 even though everything works 100% in 5.0.
    I was just wondering if anyone could shed some light on this for me. Thanks in advance!
    Here is my assignment (just giving this so you know what the program is suppose to do):
    http://www2.ics.hawaii.edu/~esb/2008spring.ics211/hw9.html
    It basically reads from a file and adds items in the file to a PriorityQueue using a heap as the data structure. It keeps track of levels
    traversed to re-establish the heap property. How long add/poll take in realTime. And when add/poll occurs in simulatedTime.
    Here's my program:
    import java.io.*;
    import java.util.*;
    public class KinseyAnthony9<T> {
         private static String name = "";
         private static long deadline;
         private static long duration;
         private static int time;
         private static int simulatedTime = 0;
         private static boolean add;
         public static void ProcessLine(Scanner line){
              if(line.next().equalsIgnoreCase("schedule")){
                   add = true;
                   if(line.hasNext()){
                        name = line.next();
                   if(line.hasNext()){
                        deadline = Long.parseLong(line.next());
                   if(line.hasNext()){
                        duration = Long.parseLong(line.next());
                   else {
                        System.out.print("There is a format error in the supplied file");
                        System.exit(1);
                   return;
              else {
                   add = false;
                   if(line.hasNext()){
                        time = Integer.parseInt(line.next());
                   else {
                        System.out.print("There is a format error in the supplied file");
                        System.exit(1);
         public static void main(String[] param) {
              Comparator<MyProc> procCompare = new ProcComparator();
              MyPQueue<MyProc> myQueue = new MyPQueue<MyProc>(procCompare);
    //          PriorityQueue<MyProc> myQueue = new PriorityQueue<MyProc>(1000, procCompare);
              if(param.length == 1) {
                   try {
                        File readMe = new File(param[0]);
                        Scanner readFile = new Scanner(readMe);
                        String line = "";
                        while(readFile.hasNextLine()) {
                             line = readFile.nextLine();
                             Scanner readLine = new Scanner(line);
                             ProcessLine(readLine);
                             if(add) {
                                  System.out.println(simulatedTime + ": adding " + name + " with deadline " + deadline + " and duration " + duration + ".");
                                  myQueue.add(new MyProc(name, deadline, duration));
                             else if(!add) {
                                  String procName = "";
                                  long procDeadline = 0;
                                  long procDuration = 0;
                                  while(simulatedTime != time) {
                                       Scanner procScan = null;
                                       int queueSize = myQueue.size();
                                       if(queueSize <= 0) {
                                            simulatedTime = time;
                                            break;
                                       if(queueSize > 0) {
                                            procScan = new Scanner(myQueue.peek().toString());
                                            procName = procScan.next();
                                            procDeadline = Long.parseLong(procScan.next());
                                            procDuration = Long.parseLong(procScan.next());
                                            System.out.println(simulatedTime + ": performing " + procName + " with deadline " + procDeadline + " and duration " + procDuration + ".");
                                            myQueue.poll();
                                            simulatedTime += procDuration;
                                            if(simulatedTime > time) {
                                                 System.out.println((simulatedTime-procDuration) + ": adding " + procName + " with deadline " + procDeadline + " and duration " + (simulatedTime-time) + ".");
                                                 myQueue.add(new MyProc(name, deadline, (simulatedTime-time)));
                                                 simulatedTime = time;
                                                 break;
                                            else if(simulatedTime <= time) {
                                                 if(procDeadline < simulatedTime) {
                                                      System.out.println(simulatedTime + ": done performing " + procName + " (late).");
                                                 else {
                                                      System.out.println(simulatedTime + ": done performing " + procName + ".");
                   //catch any exception that might occur
                   catch(Exception e){
                        System.out.println(e); //print out the error
                        System.exit(1); //exit
              //Check if more than one or less than one parameter is entered
              else {
                   //if so give an error
                   System.out.println("Error with parameter.");
                   System.exit(1); //exit
    class ProcComparator implements Comparator<MyProc>{
         public int compare(MyProc x, MyProc y){
              long result = x.getDeadline() - y.getDeadline();
              if(result < 0)
                   return -1;
              else if(result > 0)
                   return 1;
              else
                   return 0;
    class MyPQueue<T>{
         public MyHeap<T> theHeap;
         public MyPQueue(Comparator<T> comp) {
              theHeap = new MyHeap<T>(comp);
         public boolean add(T item){
              if(theHeap.add(item)) return true;
              else return false;
         public T peek(){
              return theHeap.peek();
         public int size(){
              return theHeap.numItems();
         public T poll(){
              T result = null;
              if(theHeap.numItems() == 0) return result;
              try{
                   result = theHeap.remove();
              catch(Exception e){
                   System.out.println(e);
                   System.exit(1);
              return result;
         public String toString(){
              return theHeap.toString();
    @SuppressWarnings("unchecked")
    class MyHeap<T>{
         private Comparator<T> heapComparator = null;
         private final int MAX_SIZE = 1000;
         private T heap[];
         private int rTraverseCount = 0;
         private int aTraverseCount = 0;
         public MyHeap(Comparator<T> comp){
              heapComparator = comp;
              heap = (T[])new Object[MAX_SIZE];
         public int numItems() {
              int numItems = 0;
              for(int i = 0; heap[i] != null; i++) {
                   numItems++;
              return numItems;
         public T peek() {
              if(numItems() == 0) return null;
              return heap[0];
         public boolean add(T item) {
              long start = System.nanoTime();
              long time;
              int numItems = numItems();
              if(numItems == 0) {
                   heap[numItems] = item;
                   System.out.println("--> " + aTraverseCount +" levels were traversed to re-heapify the tree.");
                  time = System.nanoTime() - start;
                   System.out.println("--> It took " + time + "ns to complete the add operation.");
                   return true;
              else if(numItems > 0) {
                   heap[numItems] = item;
                   siftUp(0, numItems);
                   if(aTraverseCount == 1)
                        System.out.println("--> " + aTraverseCount +" level was traversed to re-heapify the tree.");
                   else
                        System.out.println("--> " + aTraverseCount +" levels were traversed to re-heapify the tree.");
                   aTraverseCount = 0;
                   time = System.nanoTime() - start;
                   System.out.println("--> It took " + time + "ns to complete the add operation.");
                   return true;
              return false;
         public T remove() throws Exception{
              long start = System.nanoTime();
              long time;
              int numItems = numItems();
              T result = heap[0];
              if(numItems == 0){
                   throw new Exception("NoSuchElementException");
              if(numItems == 1){
                   heap[0] = null;
                   time = System.nanoTime() - start;
                   System.out.println("--> It took " + time + "ns to complete the remove operation.");
                   System.out.println("--> " + rTraverseCount +" levels were traversed to re-heapify the tree.");
                   return result;
              else {
                   heap[0] = heap[numItems - 1];
                   heap[numItems - 1] = null;
                   removalswap(0);
                   if(rTraverseCount-1 == 1)
                        System.out.println("--> " + (rTraverseCount-1) +" level was traversed to re-heapify the tree.");
                   else
                        System.out.println("--> " + (rTraverseCount-1) +" levels were traversed to re-heapify the tree.");
                   rTraverseCount = 0;
              time = System.nanoTime() - start;
              System.out.println("--> It took " + time + "ns to complete the remove operation.");
              return result;
         public void removalswap(int root) {
              rTraverseCount++;
              T valueHolder = heap[root];
              int left = (2*root) + 1;
              int right = (2*root) + 2;
              if(heap[right] != null && heap[left] != null){ //make sure left and right children aren't null
                   if(heapComparator.compare(heap[root],heap[left]) <= 0 &&  //if root is less than or equal
                      heapComparator.compare(heap[root],heap[right]) <= 0) return; //to its children return
                   if(heapComparator.compare(heap[root],heap[left]) > 0){ //if root is greater than left
                        if(heapComparator.compare(heap[left], heap[right]) > 0){ //compare left and right
                             heap[root] = heap[right]; //and swap with the smaller of the two
                             heap[right] = valueHolder;//in this case right is smaller so swap with right
                             removalswap(right);
                        else { //in this case left is smaller so swap with left
                             heap[root] = heap[left];
                             heap[left] = valueHolder;
                             removalswap(left);
                   else if(heapComparator.compare(heap[root],heap[right]) > 0){ //root can be greater than left
                             heap[root] = heap[right]; //but smaller than right. In this case just swap with the
                             heap[right] = valueHolder; //right child.
                             removalswap(right);               
              else if(heap[right] == null && heap[left] != null){ //the right child can be null while the left child
                   if(heapComparator.compare(heap[root],heap[left]) <= 0) return;//is not, but the left child will never
                   else { //be null if the right child isn't. If this is the case see if the root is greater than the
                        heap[root] = heap[left]; //left child and swap if so.
                        heap[left] = valueHolder;
                        removalswap(left);
         public void siftUp(int root, int end) {
              int child = end;
              int parent = (child-1)/2;
              while(child > root){
                   parent = (child-1)/2;
                   if(heapComparator.compare(heap[parent], heap[child]) > 0) {
                        swap(parent,child);
                        child = parent;
                   else{
                        return;
         public void swap(int parent, int child){
              aTraverseCount++;
              T holdValue = heap[parent];
              heap[parent] = heap[child];
              heap[child] = holdValue;
         public String toString(){
              int i = 0;
              String heapPrint = "";
              while(heap[i] != null){
                   heapPrint += heap;
                   i++;
              return heapPrint;
    class MyProc {
         private String name;
         private long deadline;
         private long duration;
         public MyProc(String n, long dl, long dur) {
              name = n;
              deadline = dl;
              duration = dur;
         //Acessors
         public String getName() {
              return name;
         public long getDeadline() {
              return deadline;
         public long getDuration() {
              return duration;
         //Mutators
         public void setName(String n) {
              name = n;
         public void setDeadline(long dl) {
              deadline = dl;
         public void setDuration(long dur) {
              duration = dur;
         public String toString(){
              return name + " " + deadline + " " + duration;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    But if I run that in terminal I get this:
    anthony-computer:~ anthonyjk$ java -version
    java version "1.5.0_13"Yes - commandline/Terminal, that's what I meant.
    So long as the program doesn't use any 1.6-only features, then will it will compile OK both at school (using1.6) and at home (using 1.5). Eclipse can be told to produce .class files that are compatible with a particular runtime. In your case the school compiler was producing 1.6 class files that are no good when you take them home. Hence the need to recompile, telling Eclipse you want 1.5 compatible .class files.
    Or - as I mentioned - download and install the most recent JDK for use at home. There'll be less confusion that way

  • Tried the solutions posted for this "SubVI filter not executable​. Undefined error" but not solving the problem

    Hello,
    I am trying to use a lowpass filter for my application but getting the error "SubVI filter not executable. Undefined error".I tried working with the solutions at this post 
    http://forums.ni.com/t5/LabVIEW/SubVI-filter-not-e​xecutable-Undefined-error/m-p/1996701#M657751 and results with
    1. Create a blank vi, put a VI filter in the block diagram (this should not be functional as it is not wired), copy it and paste it in my other project. I believe if the filter is the first vi of a blank project, it is funcitonal and then you may copy it wherever you need to.
    Result:
    2.Tried to open the filter panel of the Filter but showing the same error as shown inthe below image
    Don't why the solutions worked for others are not working.Can someone suggest a solution for this.
    thanks in advance.

    Hi PatanGova,
    Very strange error. Actually, there are no required inputs on this express VI, so it should be able to run even without wires. It is not correct as you said: "this should not be functional as it is not wired". Nothing will happen, true, but the run arrow should not be broken.
    For some reason, the VI with the Filter express VI fails to compile. I tried it on my computer (LV 2013) and get no error when I add it to a new VI. As was suggested in the linked forum thread, you need to open the front panel of the Filter VI and run it to see the explicit error.
    If you do, do you also get the error:
    "This VI claims to be part of a library that does not include the VI. The VI might have been deleted from the library. Add the VI to the library again or select File - Disconnect from the library."?
    If you do, it seems that you may have a project library somewhere that has taken ownership of the express VI. The ownership prevents you from running or editing the express VI. To free the VI, you need to do one of two things. Either, you need to load the library into memory, or you need to disconnect the VI from the library. Either way, you need to find the project library that has taken the ownership of the VI. As soon as it is released, it should run for you. You release it by selecting File»Disconnect from Library on the VI.
    The workaround described in your link (and also here: http://forums.ni.com/t5/LabVIEW/compatibility-prob​lem-labview-2009-2010-2011-quot-This-VI-claims/td-​... tells that you can make a copy of the VI and thereby create another instance that is free. This solution may work for you as well, but if not, you may not have created the copy properly. Maybe your copy of the VI also became part of some project library that took ownership. In either way, you should rather find the project library to release the VI before trying the workaround to copy it.
    If project library ownership is not the problem, maybe the problem is connected to LV 2011, as most forum posters report that it only happens here.

  • FAGLL03 gives output but not FBL3N

    Hello Experts
    We are working on Ecc 6.0.
    Issue is that for a GL account FAGLL03 / FAGLB03(drilldown) gives the line items posted for a GL but when I execute FBL3N for the same GL, system prompts the error that - No line item display possible for account XXXX & hence I dont get any data.
    The reason being that data is not coming in FBL3N is that Line Item indicator is not checked for this GL.
    So if Line Item indicator was never checked for this GL, then how FAGLL03 / FAGLB03(drilldwon) gives the line item data for the same GL & not by FBL3N?
    Regards
    Kapil

    Hi,
    FAGLL03: In this report line item display are possible for those GLs which line item display is not maintained.
    FBL3N: In this report line item display is possible for only those GLs for which line item display is checked on.
    FAGBLO3 is just like FS10N but it displays the Balances of G/L Accounts LEDGER wise, (Leading Ledger or Non-Leading) also you can see the line item by double clicking the balance, regardless of line item display is on or off. 
    You can activate the line item display for an account later (account has already been posted to) using report RFSEPA01 in SA38.
    1. Check the line item display in the GL maste
    2. Block the GL for posting in FS00
    3. Then go to SE38 and execute above stated report RFSEPA01
    4. Enter the Company code and the GL and run the same.
    Thanks
    Javed

  • Not enough disk space error - but not rea

    I have a Nomad Jukebox 3 - no really. It runs like a champ!? I use it most often for recording 44KHz audio. I just did the auto-update thing for the mediasource and plugins, blah blah blah. Now I can't sync a large recording (about .4GB)?to my computer. It gives me this error:?There is not enough disk space at the destination for this transfer. this is obviously a bug because it was working before the update. Please HELP!!

    I have the same problem - a Jukebox 3 which usually refuses to transfer files over about a gig.
    My old system disk was 30Gb, and it always worked OK with that, but when I reinstalled everything on a 20Gb disk, I got problems. I slightly suspect it may get confused when it checks for disk space by a disk that's a lot bigger than was available back when the Jukebox 3 came out. If anyone knows how to fix this I'd be most grateful - last time I had to record the audio in through my soundcard!

  • HP 8600 scan to yahoo mail as .pdf gives error but opens in gmail outlook

    I have scan opening problem with HP 8600.  I can open any .pdf with no problem.  I have Win 7 and current Adobe.  But anything scanned by HP 8600 to yahoo mail gives...it is either not a supported file type or because the file has been damaged...
    When I scan to both gmail and yahoo, gmail opens with no problem but the yahoo mail gives the error message above.  I have tried on numberous PCs and with at least 3 different yahoo users.  To make this even more puzzling,  I can forward the same email with attachment from gmail to yahoo and the attachment will now open, but the scan sent directly to yahoo mail still will not open..   looking for answers, not work arounds.  I have already reinstall the printer.
    I can also forward the yahoo mail  .pdf attachment that will not open to gmail and it opens!

    Hi d4ny_79,
    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    Sorry to hear that you are having issue with the "Scan to E-mail" feature. As for the link that was not working for you, here is an updated link to try for the HP Print and Scan Doctor.   I would suggest you run the Doctor first and if you are still having issues, please let me know and I will be happy to offer more assistance. 
    Sorry for the inconvenience.
    Thanks for your time.
    Click the “Kudos Thumbs Up" at the bottom of this post to say “Thanks” for helping!
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    W a t e r b o y 71
    I work on behalf of HP

  • Sender File Adapter - No error, but not generating any message

    I am working on a file to RFC scenario.  The sender file adapter is using content conversion to read a comma delimited file.  The file is being picked up and archived correctly, and the adapter monitor does not show any errors.  However, the process disappears at this point.  I don't see any messages in SXMB_MONI, and there is no sign that the process is reaching the RFC adapter.  Has anyone ever had this happen before?
    I have four line types for Buildings, Additions, Floors, and Rooms.
    I list all four in the recordset structure, and I identify a key for each with the keyFieldValue parameter.  I list a fieldSeparator of ',' and an endSeparator of 'nl' for each row.  And i have a list of the fieldnames in the fieldnames parameter.
    The only thing i'm not sure about is the keyFieldinStructure parameter.  I have specified ignore there, because I don't want that field in my XML.  Do I still need that field in my sender datatype, even if I'm ignoring it, or can I leave it out?
    Thanks for any help.  Please don't just list blogs unless they have something you think is helpful with my specific problem.  I have already read all of the blogs that deal generally with the sender file adapter and file content conversion, and I need more specific help at this point.

    I made one error before, it IS showing up in the Recovered Adapter Audit Log (it took that log about 10 minutes to open that particular tab so I didn't notice them there).
    Here is what it says there:
    2006-06-12 11:22:59 Success Channel CC_S_File_FIPM_Buildings: Entire file content converted to XML format
    2006-06-12 11:22:59 Warning Channel CC_S_File_FIPM_Buildings: Empty document found. Proceed without sending message
    2006-06-12 11:22:59 Success File "/interfaces/one line building.txt" archived after processing
    Here are my parameters in the file content conversion:
    Buildings.fieldNames     RecordType,PLTXT,STORT,STREET,POST_CODE1,CITY1,REGION,PARNR,X_COORD,Y_COORD,ASSIGN_SQ_FT,BLDG_NUM,CAMPUS,GR_SQ_FT,NET_SQ_FT
    Buildings.keyFieldValue     'B'
    Buildings.fieldSeparator     ','
    Buildings.endSeparator     'nl'
    Buildings.keyFieldInStructure     ignore
    Additions.fieldNames     RecordType,ASSIGN_SQ_FT,BLDG_ABBR,CAMPUS,ADDITION,BLDG_USE,BLDG__NUMBER
    Additions.keyFieldValue     'A'
    Additions.fieldSeparator     ','
    Additions.endSeparator     'nl'
    Additions.keyFieldInStructure     ignore
    Floors.fieldNames     RecordType,BLDG_ABBR,CAMPUS,ADDITION,FLOOR,ASSIGNABLE_SQUARE_FOOT,BLDG_NUMBER
    Floors.keyFieldValue     'F'
    Floors.fieldSeparator     ','
    Floors.endSeparator     'nl'
    Floors.keyFieldInStrucutre     ignore
    Rooms.fieldNames     RecordType,SHTXT,MSGRP,ADDITION,ASSIGNED_DEPT,BLDG_ABBV,FLOOR_CAMPUS,AREA,RCD_CODE,DEPT_CODE,BUILDING_NUMBER,ROOM_COMMON_KEY
    Rooms.keyFieldValue     'R'
    Rooms.fieldSeparator     ','
    Rooms.endSeparator     'nl'
    Rooms.keyFieldInStructure     ignore
    And here is my data type:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_FIPM_BuildingUpdate xmlns:ns0="urn:XXXXXX:FIPM:Buildings:SYS">
       <Buildings>
          <PLTXT/>
          <STORT/>
          <STREET/>
          <POST_CODE1/>
          <CITY1/>
          <REGION/>
          <PARNR/>
          <X_COORD/>
          <Y_COORD/>
          <ASSIGN_SQ_FT/>
          <BLDG_NUM/>
          <CAMPUS/>
          <GR_SQ_FT/>
          <NET_SQ_FT/>
       </Buildings>
       <Additions>
          <ASSIGN_SQ_FT/>
          <BLDG_ABBR/>
          <CAMPUS/>
          <ADDITION/>
          <BLDG_USE/>
          <BLDG_NUMBER/>
       </Additions>
       <Floors>
          <BLDG_ABBR/>
          <CAMPUS/>
          <ADDITION/>
          <FLOOR/>
          <ASSIGNABLE_SQUARE_FOOT/>
          <BLDG_NUMBER/>
       </Floors>
       <Rooms>
          <SHTXT/>
          <MSGRP/>
          <ADDITION/>
          <ASSIGNED_DEPT/>
          <BLDG_ABBV/>
          <FLOOR/>
          <CAMPUS/>
          <AREA/>
          <RCD_CODE/>
          <DEPT_CODE/>
          <BUILDING_NUMBER/>
          <ROOM_COMMON_KEY/>
       </Rooms>
    </ns0:MT_FIPM_BuildingUpdate>
    I'm going to recheck everything again, but maybe you guys will see something?  I don't.
    Vanda

Maybe you are looking for

  • Oracle Performance Report how-to

    Hello everyone! I've got a task to check what is the problem of oracle perofrmance on production server which is 150% percents more powerful then test one. I've run ADDM report on the server, and that was a result sing the report name addmrpt_1_2_3.t

  • How do I get this to unfreeze?

    I have an ipod mini and it's locked up. It says it's still charging even when it's not plugged into my computer and my computer is telling me that there is nothing plugged into it. Is there anyway to get this thing to work?

  • Assigning logical system to a client in CUA

    Hi All, I have got a doubt in the basic configuration in the setup of CUA. I have performed all the steps that is given in the CUA cook book. In, assiging the logical system to a client, whether this step shoud be done only in the central system alon

  • IWeb Configuration Server Problem

    Hi, I have recently been using iWeb to publish simple websites without any problem.  However, for the last 24hrs I have been getting the following error message whenever I try and publish: "Couldn't reach the MobileMe configuration server. Try publis

  • Clas Hortien,Please Help me for MSSQL2005 ERROR.

    hi,Clas Hortien, i can start  mssql2005, i find a souluton from ms support web site ,but i donot know how to do it, the notes as follows http://support.microsoft.com/kb/929665/zh-cs You cannot start the SQL Server service after you install Active Dir