BeanInfo not being found when running from a JSP in WebLogic 6.1

Hi,
I wrote a BeanInfo base class for dynamically building HTML Tables using an array of beans. I wrote the code and tested it all using the command line and verified that the Beans were dynamically loading and displaying based upon the rules I had defined in the base class. Basically I was using the Introspector to find the class. When I transfered the code into a JSP running on WebLogic 6.1 it is never finding my BeanInfo. I even tried having the end BeanInfo be the bean itself (Had the Bean extend the BeanInfo). Still didn't find it and keeps giving me the default (or GenericBeanInfo) class to represent my Bean when calling the Introspector.getBeanInfo. I am making sure that my Introspector.setBeanInfoSearchPath is being done correctly. Like I said it is working ont the command line.
Why is the Introspector not finding the correct BeanInfo class for my Bean when I do it inside of a JSP?

Never mind, I figured out what is wrong. It always returns the GenericBeanInfo but it still goes throught the motions of calling the underlying BeanInfo.
So, ignoe. I can't delete the topic.

Similar Messages

  • Class not being created when running from jar

    Hi all,
    Tech info first:
    IDE: Sun Java Studio Enterprise 8
    Plaform: windows xp
    I have created a Swing app, that connects to a com port(using the RXTXcomm). now, when I run the app in the IDE, everything is fine and dandy, but, when I run the jar file, the application loads, but the class in the app which deals with the com port is not created. here is the code:
        private static void createAndShowGUI() {
            //Make sure we have nice window decorations.
            JFrame.setDefaultLookAndFeelDecorated(true);
            Main receiver = new Main();
            receiver.getPropertiesFromFile();
            //Create and set up the window.
            frame = new JFrame("R�FILOG RFID Empf�nger");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setContentPane(receiver.mainPanel);
            frame.setJMenuBar(receiver.createMenuBar());
            frame.addWindowListener(receiver);
            frame.setLocationByPlatform(true);
            //Display the window.
            frame.pack();
            frame.setVisible(true);
            portListener = new RFIDReaderComm(receiver, "COM3");
            portListener.getConfiguration();        
        public static void main(String[] args) {
            //Schedule a job for the event-dispatching thread:
            //creating and showing this application's GUI.
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();   
    portListener in the createAndShowGUI() function is an interface level parameter and is the class that is not being created. There is no error message.
    If I move the two lines that deal with the port listener before the frame.pack() line, then the GUI is not even loaded, and when I view the processes in the task manager, the process starts and then quits without anything becoming visible. So from this I guess there is a problem with creating the class when running from a jar, but without any error messages, I have not a clue where to start...can anyone help?
    thanks in advance.

    Well, some more info, so maybe someone can come up with some tips for me...this is really important, and any help is greatly appreciated.
    This is obviously a classpath problem. After running the my jar file with java -jar I finally got the error NoClassDefFoundError
    Kind of obvious I suppose. But, I cannot seem to get the two jar files I need into the classpath. I have tried the following:
    Updating my computers CLASSPATH with the relevant paths - not working
    Trying to get the Sun Java Studio Enterprise to build the required jar files into the final package - cannot get this to work
    Tried updating the manifest.mf in the following way:
    Created a text file Manifest.txt with the lines:
    Class-Path: RXTXcomm.jar
    Class-Path: BrowserLauncher2-10rc4.jar
    ran the command (in the same directory as Manifest.txt):
    jar cfm RUFILOGScanner.jar Manifest.txt classes/*.class
    but this does not work either. When I run: jar tf RUFILOGScanner.jar all I get is:
    META-INF/
    META-INF/MANIFEST.MF
    classes/
    classes/CRCCalculator.class
    classes/Main$1.class
    classes/Main.class
    classes/RFIDReaderComm.class
    classes/URLDialog$1.class
    classes/URLDialog$2.class
    classes/URLDialog.class
    the classes I want added are not there. Plus, (I think this is because I am running SE8) the manifest.mf is not in a folder called META-INF. In fact, I have no folder called META-INF. Is this significant?
    Please, can anyone help me?

  • Parent members not being updated when running AGG

    I have a scenario where eventhough the bottom level members change the parent members are not being updated when we run an agg
    For example if the bottom level member was 150 and we run the aggregate the numbers are fine. If the bottom level member was changed to #Missing then the parent members are not updated when we run the agg
    IN the script below we use CALC DIM(COstCenters,SpaceTYpe)
    My concern is the setting SET FRMLBOTTOMUP ON i use, because it looks like it's skipping that block. HOw can work around this issue without affecting the performance too much. For example using SET CREATEONMISSINGBLK ON might help, but will have a performance impact
    Here are the details of the script
    SET MSG SUMMARY;
    SET FRMLBOTTOMUP ON;
    SET CALCPARALLEL 4;
    FIX("Budget","Version1", "FY2011", "RSF","No_Period","M3","M6","M9","M12",@IDESCENDANTS("$1"),@LEVMBRS
    (SpaceType,0),@LEVMBRS(CostCenters,0))
    CALC DIM (ManagedBU,AllocatedBU);
    ENDFIX
    FIX("Budget", "Version1", "FY2011", "RSF","No_Period","M3","M6","M9","M12",AllocatedBU,ManagedBU,
    @LEVMBRS(SpaceType,0),@LEVMBRS(CostCenters,0))
    "$1";
    ENDFIX
    /* Aggregating numbers for the report so it could be viewed n a top cost center level */
    FIX("Budget", "Version1", "FY2011", "RSF","No_Period","M3","M6","M9","M12",@IDESCENDANTS(AllocatedBU),@iDESCENDANTS(ManagedBU),@IDESCENDANTS("$1")
    CALC DIM(COstCenters,SpaceTYpe);
    ENDFIX
    /* Aggregating numbers for the report so it could be viewed in a top regional level*/
    FIX("Budget", "Version1", "FY2011", "RSF","No_Period","M3","M6","M9","M12",@IDESCENDANTS(ManagedBU),@IDESCENDANTS(AllocatedBU),@IDESCENDANTS(SpaceType),CostCenters)
    @IANCESTORS("$1");
    ENDFIX

    yes Aggmissg will work with from bottom up. As for performance, believe it or not, having Aggmssg on is quicker that off. That is because when off, it has to look at the children blocks to determine if there are data values present that need to overwrite the parent value where hen it is on, it does not look it just does it.

  • VO substitution not taking effect when running from Jdev

    Hi,
    I made a VO substition. However, when running the page from Jdev, the substition is not in effect. When I press "about this page" I see the original view objects - not my own.
    I have verified that my .jpx file contains the substitution.
    I have tried followed the instructions in the OAF user guide and added -Djbo.project=<myprojectname> to the project runtime java options.
    However - if deploying the jpx file on the server with jpximport, the substitution is working. But why is it necessary to deploy that substition on the server when running locally. Also, that should not be necessary according to the user guide.
    Any ideas?

    When running locally u don't need to dceploy substitution on server.You only need to add substitutions in jdev and added -Djbo.project=<myprojectname>
    Note that
    the Name value is the .jpx file name without the .jpx extension (for example, ExtendLabSolutions). Be
    sure to include a space between any existing options and the new option.Also confirm u have put correct jpx file name.
    When I press "about this page" I see the original view objects - not my own.
    This is because about this page must be picking VO definations from DB, and since ur extended files are not in jdev... it will not reflect here.--Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • External projector not being detected when running Leopard

    We have recently upgraded a number of our instructor laptops to Leopard. Since the upgrade, we have confirmed an odd problem.
    We have a number of multimedia carts in classrooms. The carts use an Extron VSW2 splitter to supply video to a ceiling mounted NEC LT280 projector. One input on the Extron device gets video from a CPU in the cart, the second input is for the laptop.
    We have tested identical computers (2 - PowerBook G4 12" laptops, and 2 - MacBook Pro 15" laptops). In each case, one laptop is running OS 10.4.11, the other 10.5.1.
    The computers running 10.4.11 detect the the projector and mirror the display. The computers running 10.5.1 will not detect the projector. The computers running 10.5.1 blank the screen when the video cable is attached, but nothing is displayed through the projector. System Profiler reports under 'Hardware -> Graphics/Displays -> Display Connector:' No Display Connected.
    If I bypass the VGA splitter (plug the laptops into the VGA port at the wall plate which goes to the projector), both the 10.4 and 10.5 computers function perfectly.
    If I do not have a desktop connected to the VGA splitter, both the 10.4 and 10.5 laptops seem to work fine.
    I have contacted the vendor that installed the units – Extron has never heard of this problem.
    Right now this issue is affecting several instructors, but later in the term, as students need to give presentations, this will turn into a major impediment.
    My speculation (unfounded, at this point) is that Leopard may be reducing the signal/voltage being delivered to the video port; the result being that there is not enough signal to trigger the switchover in Extron device.
    Any guidance or direction would be greatly appreciated.

    I think that Extron has an loop through on Input 1 for a monitor. You're probably using it for the CPU on the cart. Try running the Macs into Input 1 instead of Input 2. You may get it to work. The proj output on Extron stuff is usually buffered so that the projector doesn't pass info back to the computer. If you go into input 1, the computer will "see" the monitor and output properly.
    Maybe.
    Mind you, that doesn't help a whole lot 'cause you need the monitor for the CPU, right?

  • Spark Classes and Skins not being included when running FlexUnit task via Ant

    I have a series of unit tests that run on a spark component. This spark component has a custom skin defined for it, and that is working beautifully.
    Inside that component is a spark list... By default, after digging into the list code, spark lists should use a default skin called "BorderContainerSkin". When I run the application that uses this component directly (whether compiled via FlashBuilder or via Ant/Hudson), the component itself runs and looks exactly like I would expect. When I run my unit tests in the browser (via Run As Web Application command on my TestRunner), the unit tests all perform as expected.
    However, when I run the FlexUnit tests via Ant (either through windows non-headless, or linux headless), an exception is thrown with the following error:
    Error: Skin for FromToList132.FromToListSkin133.VGroup134.fromList cannot be found.
        at spark.components.supportClasses::SkinnableComponent/attachSkin()[E:\dev\4.x\frameworks\pr ojects\spark\src\spark\components\supportClasses\SkinnableComponent.as:632]
        at spark.components.supportClasses::SkinnableComponent/validateSkinChange()[E:\dev\4.x\frame works\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:405]
        at spark.components.supportClasses::SkinnableComponent/commitProperties()[E:\dev\4.x\framewo rks\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:419]
        at spark.components.supportClasses::ListBase/commitProperties()[E:\dev\4.x\frameworks\projec ts\spark\src\spark\components\supportClasses\ListBase.as:785]
        at spark.components::List/commitProperties()[E:\dev\4.x\frameworks\projects\spark\src\spark\ components\List.as:907]
        at mx.core::UIComponent/validateProperties()[E:\dev\4.x\frameworks\projects\framework\src\mx \core\UIComponent.as:7933]
        at mx.managers::LayoutManager/validateProperties()[E:\dev\4.x\frameworks\projects\framework\ src\mx\managers\LayoutManager.as:572]
        at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.x\frameworks\projects\framewo rk\src\mx\managers\LayoutManager.as:730]
        at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.x\frameworks\projects \framework\src\mx\managers\LayoutManager.as:1072]
    (Note: fromList is the id of the spark list used in the FromToList component.)
    The issue is that the "BorderContainerSkin" class isn't ever getting imported along the way. I did several things that worked to "fix" the problem, but they are all hacky and don't explain the root problem:
    1- If I explicitly import that skin into my test file, then everything works great.
    2- If I add the <includes> directive into my mxmlc task in the Ant file, and again specifically call out that skin class, then again it will work.
    However, how would I know what skins from the spark library are going to get included and which aren't? How would I know that a default skin isn't included or where to find it or even what it is?
    It seems like either I'm missing something in my Ant file or there is a serious bug here with the FlexUnit task. Can anyone shed light on if this is a known issue, any permanent fixes (that don't involve keeping track of a long list of strings of class references), or anything that I might be missing?
    Thank you for any help!

    Guessing the ant tasks aren't forcing the include of the spark skins libraries... which is a little silly. I would assume the compiler would take care of this but it is something we can investigate...
    Not 100% sure as to why, but this is what it sounds like.
    Mike

  • JavaHelp not rendering HTML when run from Fatjar

    I'm experiencing a strange problem with JavaHelp: when I run my app from Eclipse and open JavaHelp, the html help pages render just fine. If I Fatjar the app and run it from the fatjar, however, then when I open the JavaHelp, my html help pages are displayed as raw text, HTML tags and all. For some reason it's not rendering the HTML. I'm guessing that maybe the fatjar is messing up the JEditorPane's ability to detect the content-type of the help pages, but I have no idea how to fix it if that's the case.
    I'm using a plain vanilla HelpSet file, pretty much straight out of the JavaHelp User's Guide.
    Anyone have any idea what might be causing this or how I might fix it/work around it? Has anyone else seen this problem before?

    For whatever it's worth, I am seeing this problem as well. It doesn't seem to have to do with FatJar, as I'm seeing it when I simply do the following:
        HelpSet helpSet = null;
        final ClassLoader cl = this.getClass().getClassLoader();
        try {
          helpSet = new HelpSet(null, HelpSet.findHelpSet(this.getClass().getClassLoader(), "IdeHelp.hs")); // XXX bogus for now
        } catch (final Exception kaboom) {
          helpSet = null;
        if (helpSet != null) {
          final HelpBroker helpBroker = helpSet.createHelpBroker();
          final ActionListener helpItemActionListener = new CSH.DisplayHelpFromSource(helpBroker);
          final JMenuItem primaryHelpItem = new JMenuItem("Help\u2026");
          primaryHelpItem.addActionListener(helpItemActionListener);
          helpMenu.add(primaryHelpItem);
        }I suspect it's a problem with the classloader, but I haven't dug to find out what exactly.
    Best,
    Laird

  • Linked scripts not being found when I start up director

    hello;
    about 2 weeks ago I linked many of my director scripts, mainly the movie scripts and parent scripts, as they are often used by many different director applications that I build;
    however, now every time I open director I get several pop-up boxes  telling me that I need to locate scripts, maybe 4 or 5 scripts;
    and each time I open director I get a different set of missing links ( .ls files ), though I haven't changed anything in about 2 weeks;
    any thoughts;
    thanks,
    Shannon

    I may have found a solution;
    I am using mx2004;
    unfortunately I did not take screenshots of the procedure that I went through, so I will just describe it:
    when director opens and does not find a linked file, say A.ls, a look-for-file  dialog box pops; over the past several weeks I have been using this dialog box to locate the missing linked file;
    however today I hit cancel; and afterwards another dialog box, slightly different from the first ( looks almost the same but somehow different - sorry no screenshot ) popped up and again asked me for A.ls, and so I located it with this second look-for-file dialog box;
    afterwards, so far, I can open director without any missing link issues;
    EDIT ... I spoke too soon ... this is not a reliable solution;

  • RTF template does not format properly when run from Concurent Manager

    Hi
    I have complex RTF template; many stuff in are in header in word table format,body section again fields are in table format and Footer again in word table format.
    When I run BI Publisher report as concurrent request half the content like header and footer are not displayed. I can see copmlete report when I preview using XML data in word. Is there any limitaions that certan fonts, word format features not supported in RTP template. What is the best way to put header, body and footen in main body area rather using Header and Footer features of word?
    Thanks and regards

    You can use the start:body etc syntax to move your header/footer into the main part of the document. This way you can use form fields.
    Regards,
    Gareth

  • Sqlora11.dll not found when running Pro*C application on 11g server

    Hello,
    Here is my environment:
    Workstation: Windows XP (32bit) with Oracle Client 11g 32bit
    Server: Windows 2003 server 64bit with Oracle 11g 64bit
    I have a Pro*C program that I have been able to pre-compiled, compiled and linked on my workstation using Mingw/gcc compiler and standard include files (sdtio.h...) from MS Visual C++ 2005 Express Edition.
    Precompilation: E:\app\oracle\product\11.1.0\client_1\BIN\proc.exe iname=Fill_Translated.pc oname=Fill_Translated.c userid=xxx/yyy@my11gDB code=ansi_c parse=full mode=oracle dynamic=oracle lines=yes sqlcheck=semantics errors=yes sys_include="C:\Program Files\Microsoft Visual Studio 8\VC\include" include=("E:\app\oracle\product\11.1.0\client_1\precomp\public","E:\app\oracle\product\11.1.0\client_1\oci\include")
    Compilation: c:\mingw\bin\gcc.exe -c Fill_Translated.c -o Fill_Translated.o -Wall -I E:\app\oracle\product\11.1.0\client_1\precomp\public -I E:\app\oracle\product\11.1.0\client_1\oci\include
    Link: c:\mingw\bin\gcc.exe -o Fill_Translated.exe Fill_Translated.o -L E:\app\oracle\product\11.1.0\client_1\precomp\LIB\ -lorasql11
    The result is an executable file that gets connected to an 11g database hosted on a w2003 64-bit server, opens a table with blob fields and expands the blob content into a target table (one blob source record generates thousands of target records). Everything works fine when running from my workstation.
    For some reasons, this executable file must run on the O11g server itself. So I copied and pasted the executable file on the server and tried to run it. I thought it would work...
    But I get the following error message in a popup window: This application has failed to start because orasql11.dll was not found. Re-installing the application may fix this problem.
    At this point, I do not know anymore what to do to solve this problem !
    Does it come from the fact that the complete build have been done on a Windows 32bit platform and the server is a 64-bit platform ?
    Do I have to install a O11g 64bit client on my server to make it work ?
    Do I have to rebuild everything from the server, meaning that I must install a kind of development environment on my server (Mingw/gcc and so on) ?
    Is there something to change in the registry of the server or in the path environment variable so that this dll is found ?
    Any others ideas ??
    Thank you for your answers.

    Actually, I do not have any O11g client installed on my Oracle server. But the DLL exists in my $ORACLE_HOME/lib on my server, more precisely in E:\app\dev_ora\product\11.1.0\db_1\BIN.
    As I built my executable file on a win32 platform with O11g client 32bit installed, I was wondering if the same executable file copied onto the server was not trying to find the relevant 32 bit library on my win64 platform, which of course does not exists as I have only a 64bit version of this library !! Would-it be the cause of the problem ?
    Does an O11g 32bit client installation on my Oracle 11g 64bit server would solve the problem ? Any inconvenient to have on the same server both an O11g 64bit server and an O11g 32bit client if it appears to be the solution ?

  • Create trigger not audited when run from sql developer Version 3.2.20.09

    Creating or editing a trigger is not being stored in the audit table when run from sql developer.
    Here is a sample script to show the issue:
    Grant Connect,create table,create trigger To testuser Identified By testuser;
    create table testuser.testtab(t1 number);
    Select Count(*) From Dba_Audit_Trail Where Owner='TESTUSER';
    CREATE OR REPLACE TRIGGER testuser.testtab_bi_trg BEFORE
      Insert
          ON testuser.testtab FOR EACH ROW
    begin
      null;
    end;
    Select Count(*) From Dba_Audit_Trail  Where Owner='TESTUSER';
    drop user testuser cascade;
    If I run the script from sql developer the CREATE TRIGGER statement does not get audited.
    If I run the script from sql plus or All Arround Automations PL/SQL Developer the CREATE TRIGGER statement does get audited.
    If I edit the trigger from sql developer the CREATE TRIGGER statement does not get audited.
    If I edit the trigger from  All Arround Automations PL/SQL Developer the CREATE TRIGGER statement does get audited.

    DoyleFreeman wrote:
    Not sure what you mean by "perform the audit".
    Have you tested my script? Does the "Select Count(*) From Dba_Audit_Trail  Where Owner='TESTUSER';" increment by 1 after each of the ddl statements or only after the Create table statement.
    Your question doesn't have ANYTHING to do with sql developer and should be posted in the Database General forum
    https://forums.oracle.com/community/developer/english/oracle_database/general_questions
    Yes - and it works just fine once you ENABLE AUDITING. Your scripIt  does NOT include the statements or code used to ENABLE auditing and, specifically, enable auditing for triggers.
    Auditing doesn't just 'happen'; you have to enable it and you have to specify any non-default auditing that you want to perform.
    Have you read any of the extensive documentation about auditing to learn how to use it?
    See the Database Security Guide
    http://docs.oracle.com/cd/E11882_01/network.112/e16543/auditing.htm
    Also see 'Auditing Functions, Procedures, Packages, and Triggers
    http://docs.oracle.com/cd/E11882_01/network.112/e16543/auditing.htm#BCGBEAGC
    And see the AUDIT statement in the SQL language doc for how to specify auditing of specific operations.
    http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_4007.htm
    Select count(*) From Dba_Audit_Trail  Where (Owner='SCOTT' or username = 'SCOTT')
    and action_name = 'CREATE TRIGGER';
    COUNT(*)
    0
    audit create trigger by scott
    CREATE OR REPLACE TRIGGER emp_copy_bi_trg BEFORE
      Insert
          ON emp_copy FOR EACH ROW
    begin
      null;
    end;
    Select count(*) From Dba_Audit_Trail  Where (Owner='SCOTT' or username = 'SCOTT')
    and action_name = 'CREATE TRIGGER';
    COUNT(*)
    1

  • Error -43 file not found when exporting from QT Pro 7.5

    I get the error -43 (a file could not be found) when trying to export into any format from within Quicktime Pro 7.5 (861) which i believe is the most current version. I also cannot perform a simple "save as" to save my video into another name, i dont get an error message for that one, but it just doesnt do anything. Im not sure if there is any point placing this on this forum, but maybe someone at Apple is interested in offering a little support...?

    OK so i found the solution myself - seems apple programmers have been not doing their jobs properly, to get this working the file name of the video that i want exported cannot be anything other than in 8.3 format (like old MS-DOS) but it's more than that, even if you do have the file in 8.3 format it still cant be in a directory that has a name longer than 8 characters, or which has spaces in it etc. so in my case i copied my video to c:\temp and renamed all of them to the old MS-DOS 8.3 format, now the export works... amazing I wonder how long i would have waited for apple support if i hadnt resolved this myself.

  • Subreport not displayed when Run from SAP Business One

    We have a crystal report that displays a subreport when it is run from within the Crystal 2008 Designer but not when run from within SAP. Has anybody else seen this error? We have tried importing it into SAP and checking the connections of the report and subreport etc but to no avail.

    Sastry,
    The main report is a document layout with the sub report linked into it using the DocEntry key field from SAP. The subreport should display data based on that link.
    This main report only has the one sub report and when you preview in Crystal it returns data, when you preview using the same criteria but inside of SAP, it is not displayed.
    Thanks
    Mark

  • Images and .properties(bunldes) files are not being found from my JSPs

    Hi,
    I have created .ear file by using ANT Application. And deployed into Oracle9iAS(OC4J). Here problem is that images and .properties(internationalization bundles)files are not found from JSPs.
    Here is my directory structure.
    public_html--->locale -->BusinessEntity -->businessentity_en_US.properties
    --->enterprise -->images -->knowldege.jpg
    --->BusinessEntity-->BEAdd.jsp
    in my jsp bundle(.properties)file is accessed like this:-
    <i18n:bundle baseName="/locale/-->BusinessEntity/businessentity" id="businessentity" locale="<%= locale %>" />
    in my jsp images accessed like this:-
    src="/enterprise/images/knowldege.jpg".
    In my working environment, without creating .ear file, images and .properties files are being found my JSPs. But if i create .ear file and after deploy, images and .properties files are not being found my JSPs.
    please let me know where i might did wrong
    thanks in advance
    srinivas

    Hi i am again. Here is my configuration files(server.xml and default-web-site.xml)
    server.xml :-
    <?xml version="1.0"?>
    <!DOCTYPE application-server PUBLIC "-//Evermind//DTD Orion Application-server//EN" "http://xmlns.oracle.com/ias/dtds/application-server.dtd">
    <application-server application-directory="../applications"
    deployment-directory="../application-deployments"
    >
         <library path="../tools.jar" />
         <rmi-config path="./rmi.xml" />
         <jms-config path="./jms.xml" />
         <log>
              <file path="../log/server.log" />
         </log>
         <transaction-config timeout="30000" />
         <global-application name="default" path="application.xml" />
         <application name="nalluri" path="../applications/trainiumear.ear" auto-start="true" />
         <global-web-app-config path="global-web-application.xml" />
         <web-site path="./default-web-site.xml" />
         <cluster id="-1640090707" />
    </application-server>
    default-web-site.xml:-
    <?xml version="1.0"?>
    <!DOCTYPE web-site PUBLIC "Orion Web-site" "http://xmlns.oracle.com/ias/dtds/web-site.dtd">
    <web-site port="8888" display-name="Default Oracle9iAS Containers for J2EE Web Site">
         <default-web-app application="nalluri" name="Commonwar" />
         <access-log path="../log/default-web-access.log" />
    </web-site>
    thanks in advance
    wating for reply
    srinivas

  • Opening Excel Workbook Fails when run from Scheduled Task on Windows Server 2008 Rw

    Hi,
    I have a little vbs script that instantiates the Excel.Application object and then opens a work book to perform some tasks on it. The script runs fine when run from the command line. When I attempt to run it as a scheduled task (it is supposed to update
    data that is pulled from a SQL Server at regular intervals), it fails with the following error:
    Microsoft Office Excel cannot access the file 'c:\test\SampleWorkbook.xlsm'. There are several possible reasons: .....
    The file does exist. The path reported in the error is correct. The account under which the task is running is the same account I use to run it from the command line. User Account Control is not enabled, and the task is set up to run with highest privileges.
    When I run the same script through the Task Scheduler from a Windows Server 2003 machine, it works without issue.
    I was just wondering if somebody on this forum has run into a similar issue in connection with Windows Server 2008 R2 and figured out what the magic trick is to make it work. I'm sure it is rights related, but I haven't quite figured out what which rights
    are missing.
    Thanks in advance for any advice you may have.

    This is truly killing me ... trying to get it working on Windows Server 2012 without success.
    I desperately need to automate running Excel macros in a "headless" environment, that is non-interactive, non-GUI, etc.
    I can get it to work using Excel.Application COM, either via VBScript or Powershell, successfully on many other Windows systems  in our environment - Windows Server 2008 R2, Windows 7 (32-bit), etc.,  -BUT-
    The two servers we built out for running our automation process are Windows Server 2012 (SE) - and it just refuses to run on the 2012 servers - it gives the messages below from VBScript and PowerShell, respectively- 
    I have tried uninstalling and re-installing several different versions of Microsoft Excel (2007 Standard, 2010 Standard, 2010 Professional Plus, 32-bit vs. 64-bit, etc.), but it makes no difference.
    Would be extremely grateful if any one out there has had any success in running Excel automation on Server 2012 in a non-interactive environment that they could share.
    ( I have tried adding the "%windir%\syswow64\config\systemprofile\desktop"
    folder, which did fix the issue for me when testing on Windows Server 2008 R2, but sadly did not resolve it on Windows Server 2012 )
    [VBScript error msg]
    Z:\TestExcelMacro.vbs(35, 1) Microsoft Office Excel: Microsoft Office Excel cannot
    access the file 'Z:\TestExcelMacro.xlsm'. There are several possible reasons:
    • The file name or path does not exist.
    • The file is being used by another program.
    • The workbook you are trying to save has the same name as a currently open work
    [Powershell error msg]
    Exception calling "Add" with "0" argument(s): "Microsoft Office Excel cannot open or save any more documents because th
    ere is not enough available memory or disk space.
     To make more memory available, close workbooks or programs you no longer need.
     To free disk space, delete files you no longer need from the disk you are saving to."
        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId : ComMethodTargetInvocation
    You cannot call a method on a null-valued expression.
        + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
        + FullyQualifiedErrorId : InvokeMethodOnNull

Maybe you are looking for