Info msg from deployment of app

Deploying app from Creator on Windows XP to Sun Java System Web Server 6.1SP6 Solaris SPARC
How to resolve this?? (even though the app runs) Is there a missing library (jar) file??
[17/Jul/2007:15:16:00] info ( 9888):      for host 111.222.333.444 trying to GET /frag/JSCreator_index.jsp, service-j2ee reports: WEB2798: [] ServletContext.log(): WEB4102: SAX property not recognized: Property 'http://xml.org/sax/handlers/LexicalHandler' is not recognized.
Thanks

Hello,
There are a variety of solutions to you problem. But it depends on factors like:
- What platforms do you want to support?
- Does you code use any native calls or is it Pure Java?
- Do you want a native installer or a do you want the application to BE compiled as native?
First, It is my opinion that SUN's preferred deployment option would be WebStart, it is really cool, you should give it a look at least. Lets you distribute your application via a web site, let the clients cache it, lets you ascociate icons and splash screen plus a lot of other technical goodies.
If that is not an option, I recommend you take a look a this tutorial that talks about how to make you application look more native.
http://today.java.net/pub/a/today/2003/12/08/swing.html
I hope this helps and reaches you in time.
Homero

Similar Messages

  • Device info missing from My Account App?

    Did Comcast for some reason remove your devices info from the My Account menu on X1? You use to be able to bring up the My Account App and you could see info about all your devices.

    geek46 wrote:
    gate1975mlm wrote:
    Did Comcast for some reason remove your devices info from the My Account menu on X1? You use to be able to bring up the My Account App and you could see info about all your devices.Yep... they sure did....  See this thread:  http://forums.xfinity.com/t5/X1/My-Equipment-now-MIA/m-p/2557464#U2557464Thanks

  • Send Msg. from HTML DB App to another server : Best method?

    Hi folks,
    I am new to HTML DB and have a question about how to best pass information from an HTML DB application to another server. I need to convert an existing Perl-based application to HTML DB.
    I currently use sockets. The caller program opens the socket and sends a message across the network where a Perl service is listening on that port. Ideally, I would like to keep the Perl service on the destination server.
    Specifications:
    Sender : Runs HTML DB release 1.6 Oracle 10g on Windows 2003 server, IE 6
    Receiver: Windows 2003 server. Basic server: No web services running.
    I searched the archives and have not found any information on using sockets. Perhaps I am missing the obvious. Is there a better way?
    If not, can I use Perlscript in my HTML within HTML DB? Something like this:
    <SCRIPT LANGUAGE="PerlScript" RUNAT="myserver">
    $window->document->write('calling socket......');
    use IO::Socket;
    my $sock = new IO::Socket::INET (
               PeerAddr => 'otherserver',
               PeerPort => 'xxxx',
               Proto     => 'tcp',
              die "Could not create socket: $!\n" unless $sock;
    # Pass info
    print $sock "var1|val1|var2|val2";
    close($sock);
    </SCRIPT>Any help would be greatly appreciated.
    Cheers!

    Turns out, this was quite simple with UTL_TCP. I defined the following process and then attached it to a button on the page:
    DECLARE
      c  utl_tcp.connection; 
      ret_val integer;
    BEGIN
      c := utl_tcp.open_connection(remote_host => 'xxx.xx.x.xxx',
                                   remote_port =>  xx,
                                   charset     => 'US7ASCII');
      ret_val := utl_tcp.write_line(c, 'The medium is the message'); 
      utl_tcp.close_connection(c);
    END;

  • Help using JMX to Get Context of Deployed Web Apps

    I think this question is more of a JMX question that anything else (like a JNDI question), so I am posting here. If anyone feels this should be posted elsewhere, please let me know.
    I want to be able to get a handle to each deployed web app's context, so that I may get a BasicDataSource from it, then look at the connection attributes inside of that BasicDataSource, i.e., Number of active connections, number of idle connections, etc. for each deployed web app.
    This is the path I am heading down (if there is another way, please let me know). The code below is inside of a JSP running inside of a web app within my Tomcat 5.0.16 server, running JDK 1.4.2.
    Here is the entire JSP...
    <%@ page import="org.apache.commons.dbcp.BasicDataSource,
                     javax.naming.InitialContext,
                     javax.naming.Context,
                     javax.management.ObjectName,
                     javax.management.MBeanServer,
                     java.util.Set,
                     org.apache.catalina.mbeans.MBeanUtils,
                     java.util.Iterator,
                     javax.management.ObjectInstance,
                     org.apache.catalina.core.StandardContext"%>
    <html>
        <head>
            <meta http-equiv="refresh" content="3"> <!-- refresh every 3 seconds -->
        </head>
        <body>
    <%
        //InitialContext ctx = new InitialContext();
        //Context envCtx = (Context) ctx.lookup("java:comp/env");
        String dsName = "";//"jdbc/raptor";
        String appName = "";//(String) envCtx.lookup("appName");
        BasicDataSource ds = null;//(BasicDataSource) envCtx.lookup(dsName);
        MBeanServer mBeanServer = MBeanUtils.createServer();
        ObjectName oname = new ObjectName("*:j2eeType=WebModule,*");
        Set contexts = mBeanServer.queryMBeans(oname, null);
        Iterator it = contexts.iterator();
        while(it.hasNext()) {
            ObjectInstance oi = (ObjectInstance)it.next();
            ObjectName cname = oi.getObjectName();
            System.out.println(">>> cname = " + cname.toString()); // this prints something like this: Catalina:j2eeType=WebModule,name=//localhost/accesstracker,J2EEApplication=none,J2EEServer=none
                Is this the right way to do this??? I seem to be getting the web app, I just want to be able to
                get a handle to that web app's context, get a BasicDataSource from it, then look at the connection
                attributes inside of that BasicDataSource, i.e., Number of active connections, number of idle
                connections, etc. for each deployed web app
            //javax.naming.Context iCtx = (javax.naming.Context) mBeanServer.invoke(cname, "findStaticResources", null, null); // will this do it???
            Object obj = new InitialContext().lookup("java:comp/env"); // this only gets the current context (the web app I'm currently in)
            if(obj != null){
                Context envCtx = (Context) obj;
                appName = (String) envCtx.lookup("appName");
                ds = (BasicDataSource) envCtx.lookup("jdbc/raptor");
            }else{
                System.out.println("obj is null");
    %>      <%=cname.toString()%><br/>
            Application name: <%=appName%><br/>
              Number of Active Connections = <%=ds.getNumActive()%>
            <br/>
              Number of Idle Connections = <%=ds.getNumIdle()%>
            <br/>
              Initial Size of Pool = <%=ds.getInitialSize()%>
            <br/>
              Maximum Number of Active Connections = <%=ds.getMaxActive()%>
            <br/>
    <%
    %>
        </body>
    </html>The above JSP will output all of the info for each deployed web app, however, when it gets to getting the Context of the web app, it simply outputs information repeatedly for the web app this JSP is in (which makes sense since I'm using InitialContext).
    I appreciate any help anyone could provide.
    Thank you

    If you want your application to work only with specific JRE version, you should use static versioning. I installed JRE 1.3.1_15 and JRE 5.0U5 , both of them works successfully. I used the below syntax to load applets:
    for 1.3.1_15:
    <object
        classid = "clsid:CAFEEFAC-0013-0001-0015-ABCDEFFEDCBA"
        codebase = "http://java.sun.com/products/plugin/autodl/jinstall-1_3_1_15-windows-i586.cab#Version=1,3,1,15"
        WIDTH = 150 HEIGHT = 25 >
        <PARAM NAME = CODE VALUE = "HelloWorld.class" >
        <param name = "type" value = "application/x-java-applet;jpi-version=1.3.1_15">
        <param name = "scriptable" value = "false">
        <comment>
         <embed
                type = "application/x-java-applet;jpi-version=1.3.1_15" \
                CODE = "HelloWorld.class" \
                WIDTH = 150 \
                HEIGHT = 25
             scriptable = false
             pluginspage = "http://java.sun.com/products/plugin/index.html#download">
             <noembed>
                </noembed>
         </embed>
        </comment>
    </object>for 5.0U5
    <object
        classid = "clsid:CAFEEFAC-0015-0000-0005-ABCDEFFEDCBA"
        codebase = "http://java.sun.com/update/1.5.0/jinstall-1_5_0-windows-i586.cab#Version=1,5,0,5"
        WIDTH = 150 HEIGHT = 25 >
        <PARAM NAME = CODE VALUE = "HelloWorld.class" >
        <param name = "type" value = "application/x-java-applet;jpi-version=1.5.0_05">
        <param name = "scriptable" value = "false">
        <comment>
         <embed
                type = "application/x-java-applet;jpi-version=1.5.0_05" \
                CODE = "HelloWorld.class" \
                WIDTH = 150 \
                HEIGHT = 25
             scriptable = false
             pluginspage = "http://java.sun.com/products/plugin/index.html#download">
             <noembed>
                </noembed>
         </embed>
        </comment>
    </object>- Mike

  • Print messages from iphone facebook app

    i would like to print msgs from iphone facebook app,inbox messages,which i hav unfortunately deleted on my computer facebook inbox,how do i print msgs..i have an epson iprint app n epson printer...
    Message was edited by: abi n

    Hi,
    This Menu item only works if you have Buddy Lists  (any other account other than iMessages).
    By default there are two accounts in Messages when you first start it up.
    The iMessages one requires the Apple ID  but the Bonjour one only needs to be Enabled (Check box in the account settings)
    Bonjour is the one that uses the fact Macs can "see" each other on  LAN and then uses this to Instant Messages to other Computers (Macs) on your LAN.
    Once the iMessages account has an ID it should be logged in.
    In the Main Window select the "To" spot.
    Type in your name *as it appears in the Contacts App > My Card.
    Select your iPhone Number.
    Send an iMessages to your iPhone Number.
    The main window should then show the sync of the received message of the iPhone  making it look like you are talking to yourself.
    If you have not already the next step is to add the Apple ID in use in iMessages on the Mac on to the iPhone Settings for Messages there.
    this then links the iPhone and Mac for iMessages purposes.
    Next in iOS 8.1 and Yosemite you need to enable the "Text Forwarding' on the iPhone. This (if you are close enough to your Mac) should make the Code Number appear on the Mac version
    Type the Number into the iPhone.
    Now they should "sync" SMS messages.
    Summary.
    You can't tell other than trying to send an iMessages whether the account is logged in or not.
    From what you posed I can't be sure if you have done the pairing.
    9:50 pm      Thursday; November 6, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Some files in "DOCUMENTS" icon in dock won't open. Get msg saying You need a newer version of Pages to open this document." Have Pages 4.1 installed.  Same files will open ok from Finder, Pages App. Recently sync'd with ipad2 (Pages) after iOS5 installed.

    Some files in "DOCUMENTS" icon in dock won't open. Get msg saying "You need a newer version of Pages to open this document." Already have Pages 4.1 installed.  Same files will open ok from Finder/Pages App./selected file. Prob not noted until recently after sync'd with ipad2 (Pages) when I installed iOS5. Anyone-- please?!

    You have 2 versions of Pages on your Mac.
    Pages 5.2 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5.2 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Older versions of Pages 5 can not open files from later versions of Pages 5.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Anything that is saved to iCloud and opened in a newer version of Pages is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Apple has removed almost 100 features from Pages 5 and added many bugs:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Rate/review Pages 5.2 in the App Store.
    Peter

  • How do you remove credit card info from apple store app on ipad?

    Is there a way to remove my credit card info on the apple store app on iOS? There is no option for none. I don't mean from iTunes I have a gift card on file in iTunes.

    Do you mean the App store? Both iTunes and the App store use what ever is set up on your appleID, be it credit card or iTunes card. Its the same account.

  • Unable to deploy ADF app from Jdev 10.1.3.3 to OAS 10.1.3.1

    Dear colleagues,
    I'm deploying my app from JDev 10.1.3.3 to OAS 10.1.3.1. And it is driving me crazy, my application is a J2EE ADF application. When I try to deploy I'm getting the following errors: I've tried everything during days, but still I'm not able to run it :(. The application is working fine in Jdeveloper
    This first error, I could solved adding the jhsadfrt-10.1.3.jar in the OracleAS_1\j2ee\home\applib directory. See the error solved:
    Operation failed with error:
    ******************** FIRST ERROR (SOLVED)********************************************
         Missing class: oracle.jheadstart.model.adfbc.v2.JhsApplicationModule
         Dependent class: amaos.model.common.AmaosModule
         Loader: amaos.root:0.0.1
         Code-Source: /D:/product/10.1.3.1/OracleAS_1/j2ee/home/applications/amaos/ejb2.jar
         Configuration: <ejb> in D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\amaos
    (Failure analysis caught java.lang.IllegalStateException: ClassLoader "amaos.root:0.0.1" (from <application> in /D:/product/10.1.3.1/OracleAS_1/j2ee/home/applications/amaos/): This loader has been closed and should not be in use.)
    ******************* CURRENT ERROR AFTER SOLVING THE FIRST ****************
    The missing class is available from the following locations:
    1. Code-Source: /E:/product/10.1.3.1/OracleAS_2/BC4J/lib/bc4jct.jar (from <code-source> in /E:/product/10.1.3.1/OracleAS_2/j2ee/home/config/server.xml)
    This code-source is available in loader adf.generic.domain:10.1.3.1.
    This code-source is available in loader adf.oracle.domain:10.1.3.1
    2. Code-Source: /E:/product/10.1.3.1/OracleAS_2/BC4J/lib/bc4jmt.jar (from <code-source> in /E:/product/10.1.3.1/OracleAS_2/j2ee/home/config/server.xml)
    This code-source is available in loader adf.generic.domain:10.1.3.1.
    This code-source is available in loader adf.oracle.domain:10.1.3.1
    3. Code-Source: /E:/product/10.1.3.1/OracleAS_2/BC4J/lib/adfm.jar (from <code-source> in /E:/product/10.1.3.1/OracleAS_2/j2ee/home/config/server.xml)
    This code-source is available in loader adf.generic.domain:10.1.3.1.
    This code-source is available in loader adf.oracle.domain:10.1.3.1
    Any ideas?
    Thanks
    Message was edited by:
    Benalúa

    Benalua,
    (sorry, I don't know how to type the "u" with the diacritic mark above it in your name)
    Did you deploy the ADF 10.1.3.3 libraries to the 10.1.3.1 app server? An alternative might be to apply the 10.1.3.3 patch to the 10.1.3.3 app server.
    John

  • Deploying an app from export script stored in the database.

    I am in the situation where I want to deploy a copy of an application programatically into the current workspace, but each against a separate schema. The end game would be to have many copies of the same App in the same workspace (obviously with different application numbers assigned) but each app pointing to a different schema.
    The workflow would be something like this:
    <ol>
    <li>Create a new tablespace for the new schema</li>
    <li>Create the new Schema</li>
    <li>create the required objects in the new schema (we're going to use DataPump for that)
    </li>
    <li>Assign the schema to the current workspace (make it available to use for a new APP)</li>
    <li>Read the app.sql from a BLOB in the database and deploy it into the current workspace pointed to the new schema.</li>
    </ol>
    I was wondering if there are already API's in place that would help me do these things (especially steps 4 and 5).
    I started poking around in the ApEx internals, looking specifically at the deployment of the SAMPLE apps to see if there was anything I could use, but it looks like the WWV_FLOW_SAMPLE_APP package is wrapped so I can't see what it's doing.
    I also looked at the code behind the "COPY APPLICATION" function and it looks like I might be able to use wwv_flow_imp_parser.parse to install the application in the current schema, but would probably need some clarification on whether there are any "gotchas" there.
    If that works, then it seems the hard part is assigning the new schema to the workspace as normally that is done from within the INTERNAL user's workspace.
    Thanks in advance for the help.
    Doug

    Ok... For others who may be interested in this, I have figured out part of the answer...
    To complete steps 2 and 4 mentioned in my original messages (Creating the user and makeing it available to a workspace) here is what I've come up with.
    DECLARE
    l_username varchar2(256);
    l_password varchar2(256);
    l_df_ts    varchar2(256);
    l_tmp_ts   varchar2(256);
    l_PCID     number;
    l_workspace_name varchar2(255);
    BEGIN
    l_username := 'DOUG';
    l_password := 'DOUG';
    l_df_ts    := 'USERS';
    l_tmp_ts   := 'TEMP';
    l_workspace_name := 'HAAS';
    -- CREATE THE USER AND THEN ADD THAT USER TO THE CORRECT WORKSPACE.
    -- First make sure that
    --  1. The name you're trying to create is not a "reserved" name like INTERNAL
    --  2. We're not working in an installation that is "RUNTIME ONLY"
    --  3. We're not working with a schema that is already in place or restricted.
    IF  flows_030100.wwv_flow_provisioning.reserved_schema(p_schema => l_username) = false
    and not (flows_030100.wwv_flow_provisioning.site_admin_is_restricted
              and
             flows_030100.wwv_flow_provisioning.restricted_schema(p_schema => l_username, p_workspace_name => l_worlkspace_name)
    THEN
        -- CREATE THE USER
        flows_030100.wwv_flow_provision.create_user(
        p_username    => l_username,
        p_password    => l_password);
        -- ASSIGN THE TABLESPACEs
        flows_030100.wwv_flow_provision.set_user_tablespace(
        p_username    => l_username,
        p_default_ts  => l_df_ts,
        p_temp_ts     => l_tmp_ts);
        -- Grant the appropriate roles and privs to the user
        flows_030100.wwv_flow_provision.grant_initial_privs(l_username);
        -- Create the link between the workspace and the schema name.
         BEGIN
        -- FIRST get the Workspace ID (known as the PROVISIONING_COMPANY_ID) from the APEX Dictionary.
        -- This assumes that the workspace we're working in is HAAS
            select provisioning_company_id
              into l_PCID
              from flows_030100.wwv_flow_companies
             where short_name = l_workspace_name;
        -- Now insert a row into the company_schema table to line the schema to a workspace.   
            insert into flows_030100.wwv_flow_company_schemas (security_group_id, schema)
            values (l_pcid, upper(l_username));
            commit;
        EXCEPTION
           WHEN NO_DATA_FOUND then
                --IF things fail then we need to kill to drop the user that we created.
                flows_030100.wwv_flow_provision.drop_user(p_username => l_username);
                --Then rais the application error or do whatever...
                raise_application_error(-20100,'Trying to use an invalid worksapce - '|| l_workspace_name);
        END;
    end if;
    end;I'm still trying to work on deploying the APP stored in a BLOB to the workspace and so far have the following code, but get the message :
    ORA-20001: You do not have privs on the DAVID schema.
    ORA-06512: at "FLOWS_030100.WWV_FLOW_IMP_PARSER", line 1599
    ORA-06512: at line 29
    declare
      l_file_id   number := 2113831202674379;
      l_parse_as_schema varchar2(4000) := 'DAVID';
      l_new_ap_ID number;
      l_orig_ap_id number;
      l_workspace_name varchar2(255) := 'HAAS';
      l_PCID     number;
    begin
        execute immediate 'alter session set current_schema = FLOWS_030100';
        flows_030100.wwv_flow_security.g_security_group_id := 10;
        flows_030100.wwv_flow_security.g_user := 'ADMIN';
      -- Import copy from application with new application ID and name
      -- First get the new Application ID
      l_new_ap_id := flows_030100.wwv_flow_utilities.minimum_free_flow;
      BEGIN
        select flow_id
          into l_orig_ap_id
          from flows_FILES.wwv_flow_file_objects$
         where id = l_file_id;
      end;
      flows_030100.wwv_flow_imp_parser.parse (
         p_file_id          => l_file_id,
         p_parse_as_schema  => l_parse_as_schema,   
         p_install_as_flow  => l_new_ap_id,
         p_original_flow_id => l_orig_ap_id,
         p_adjust_offset    => TRUE
      -- Get the Security group ID
          select provisioning_company_id
              into l_PCID
              from flows_030100.wwv_flow_companies
             where short_name = l_workspace_name;
      -- reset name with new application name
      update flows_030100.wwv_flows
      set name = 'TEST_NAME'
      where id = l_new_ap_id
      and security_group_id = l_PCID;
    end;

  • Building and deploying J2EE apps ?  Now there is a solution for production root cause analysis.

    Is your organization building and deploying J2EE apps? If so, Halo
    can help solve one of the toughest issues facing enterprises today:
    Finding the root cause of software faults.
    "Halo monitors, pinpoints, reports on and provides a source-code level
    root cause of software faults in deployed J2EE apps. Halo is unique
    because it's the only technology that can give you a root cause
    diagnosis in a fully deployed, live production application. Halo has
    such low performance overhead that customers deploy their final,
    production versions of their applications with Halo enabled.
    Used with Web Application Servers like WebLogic, Halo helps ensure
    that deployed code is reliable and able to be quickly fixed if
    problems turn up. Most important, because Halo is an "always on"
    technology, you get all the information you need to rapidly solve a
    problem on the first fault. Problem replication and bug reports are
    obsolete with Halo
    "Halo has a unique ability to provide a root cause diagonosis and
    understanding
    of software problems in production systems, without needing to
    replicate the
    issue.
    Test on WebLogic proved that Halo runs with extremely low overhead and
    is suitable for use in deployed production systems"
    Andrew Sliwkowski, Software Engineer
    BEA Systems, Inc.
    The key is Halo's high performance, low overhead TraceBack
    instrumentation technology. Based on technology out of MIT and proven
    in the field, TraceBack enables you to instrument JARs, EARs and WARs
    within minutes, without touching source code.
    Halo is useful throughout the entire application life cycle, from
    development through test, beta and deployment.
    If you have interest in learning more visit our website at
    www.incer.com or email me directly at [email protected] (Rick Martin)

    I have two questions. We have just started developing apps using jdev9i, 9iAS v2 and are new to the j2ee environment so my questions may be very easy ones.
    Question 1: We have set up Oracle pooling connection to our databases. We have a development, test and production database. When I deploy my application, it includes the connections. This is preventing me from moving the EAR files from dev to test to prod without modification and re deploying to my EAR file. Is there a way or a place that I can put my database connections that will not be included in my EAR files and the application still find them?datasources.xml is where the info regradings connection to databases is licated. If you're using 9iAS
    you can use EM to create datasource entry at the global level. In OC4J standalone you could use admin.jar
    or edit the file. Check out the standalone user's guide at http://otn.oracle.com/tech/java/oc4j/pdf/oc4j_so_usersguide_r2.pdf.
    Also, you will othe OC4J docs on OTN.
    Question 2: I have a stand alone oc4j set up for our developers to use while testing their applications. The applications include libraries supplied in jdev such as xml parser v2. I do not want to deploy those lib files with the app because I will have to redeploy all my apps if I upgrade jdev. I just want to be able to upgrade the libraries, test the apps and not have to redeploy everything. I can do this by coping the jdev lib to 9iAS but I can't seem to find the right place to put the lib for the stand alone oc4j instance. You can use the library tag within application.xml for server wide availability. Check out the article
    http://otn.oracle.com/oramag/oracle/02-sep/o52oc4j_2.html specifically class loading in OC4J section
    Any help would be greatly appreciated. Thanks in advance.

  • Difficult ClassLoader problems with multiple deployed enterprise Apps

    Greetings!
    When multiple instances of an enterprise application are deployed, ClassLoader issues are causing ClassCast Exceptions in the instantiation of Stateless SessionBeans. These ClassCast Exceptions are causing the Stateless Session beans to not be created appropriately/correctly, and in turn there is an InvocationTargetException resulting in an HTTP 500 Internal Server Error (mapped to a custom handler).
    The setup is SJSAS2005Q2, JDK 1.5, MySQL 5.0, Linux (RedHat 9, and Debian 3.0/3.1)
    Below is a typical example:
    Exception creating stateless session bean : [{0}]java.lang.reflect.InvocationTargetException
    <<long stack Trace omitted>>
    Caused by: java.lang.ClassCastException: $Proxy111     at com.acjust.ecommerce.ejb.preferences.PreferenceManagerBean.ejbCreate(PreferenceManagerBean.java:354)     ... 67 moreHere is the code from PreferenceManagerBean, the offending line is the (first one) that does a lookup on PreferencesBean and casts the result. This is a SessionFacade (there are many others) and they all (may) exhibit this behavior when there are multiple enterprise apps running.
        public void ejbCreate() {
             LookupServiceHelper lookup = LookupServiceHelper.getInstance();
             preferencesHome = (LocalPreferencesHome)
                   lookup.getLocalHome(IConstants.PREFERENCES_BEAN);
             companyInformationHome = (LocalCompanyInformationHome)
                   lookup.getLocalHome(IConstants.COMPANY_INFORMATION_BEAN);
             businessAddressHome = (LocalBusinessAddressHome)
                   lookup.getLocalHome(IConstants.BUSINESS_ADDRESS_BEAN);
             sitePreferencesHome = (LocalSitePreferencesHome)
                   lookup.getLocalHome(IConstants.SITE_PREFERENCES_BEAN);
             paymentPreferencesHome = (LocalPaymentPreferencesHome)
                   lookup.getLocalHome(IConstants.PAYMENT_PREFERENCES_BEAN);
             productPreferencesHome = (LocalProductPreferencesHome)
                   lookup.getLocalHome(IConstants.PRODUCT_PREFERENCES_BEAN);
        }When there is one instance of the App, it works perfectly. When there are two instances, one works perfectly, and the other one will have the above issues with the instantiation of Stateless Session Beans (the broken enterprise app is the one that is NOT loaded or reloaded most recently).
    Thinking that the problem may be solved by rearranging or repackaging the software, multiple solutions have been tried. (ClassCast Exceptions such as these are typically the result of helper classes being loaded by one class-loader, then loaded by another, compared or casted, and the two are not equivalent). In this case, though, the software is behaving as though each enterprise app does not have its own class loader hierarchy, which is obviously highly undesirable for the situation at-hand. At any rate, bundling all library classes at the app server classpath level, putting all library classes in each jar, and war, and putting all library classes in the ear/lib directory and using MANIFEST.MF classpath entries to point all ear subcomponents at the library classes - none of these potential solutions has alleviated this problem. In addition, the EJB classes themselves triggering the exception(s) are not helper classes but EJBs that are correctly packaged in their respective EJB-JARS.
    Here is the sun SJSAS 8 classloader hierarchy from the userguide:
    http://docs.sun.com/source/817-6087/dgdeploy.html#wp58491
    Can somebody from the Sun App Server team speak to whether or not this is an Application Server issue? Why should the classloader hierarchy from one enterprise app interfere with any other? Are there known workarounds?
    Any help is greatly appreciated.
    Best, Adam

    Hi Ken,
    I have pretty much ruled out "artifacts" in the Application Server's Classpath, because we already tried reinstalling the Application Server. It is a freshly downloaded SJSAS 8 2005 Q2 downloaded a few days ago with nothing added to the Server Classpath other than a database driver [${com.sun.aas.installRoot}/mysql/lib/mysql-connector-java-3.1.11-bin.jar added to the server CLASSPATH suffix after the PointBase driver(s)].
    Yes, each ear has its own name. Once the two enterprise apps have been created/packaged by the ANT build script (they are the same except for the slight differences in deployment descriptors we discussed earlier), one is renamed and we use the SJSAS administrative console to deploy them, both deploy correctly, without errors and begin listening for connections at their respective context-roots. Each enterprise application has two web-wars, one public/customer facing, and one administrative. The first enterprise app listens on /e (public facing) and /a (administrative) and the second listens on / (public facing) and /admin (administrative).
    Also, you are correct; each ear has its own copy of the LookupServiceHelper class. Again, there is nothing shared on the App Server Classpath other than that jdbc driver for mysql.
    Here is the LookupServiceHelper code:
    package com.acjust.ecommerce.util;
    import java.sql.Connection;
    import java.sql.SQLException;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.Map;
    import java.util.logging.Logger;
    import javax.ejb.EJBLocalHome;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import javax.sql.DataSource;
    * This class provides JNDI helper functions to look up EJB
    * Home implementations.
    * @author Copyright (c) 1998-2005 by A. C. Just, Inc. All Rights Reserved.
    public class LookupServiceHelper {
        * This is the only object of type LookupServiceHelper; this class
        * is a singleton.
        private static LookupServiceHelper instance = null;
         * The logging object for this singleton
        private final Logger logger = Logger.getLogger(getClass().getName());
        private InitialContext initialContext = null;
        private Map cache = null;
         * The no argument constructor is private to enforce the fact
         * that we do not want to create any other instances of this
         * class.
        private LookupServiceHelper() {
            try {
                initialContext = new InitialContext();          
                cache = Collections.synchronizedMap(new HashMap());
            } catch (NamingException ne) {
                throw new LookupServiceException(ne);
            } catch (Exception e) {
                throw new LookupServiceException(e);
         * This method returns the only object of this class.
         * @return instance The only object of type LookupServiceHelper.
        public static LookupServiceHelper getInstance() {
             if(null == instance) {
                  try {
                       instance = new LookupServiceHelper();
                  } catch (LookupServiceException lse) {
                       instance.logger.severe("Failed to create lookup service " +
                                 lse.getMessage());
             return instance;
         * This utility method looks up an enterprise JavaBean
         * in the distributed naming service.  It is not type safe;
         * that property is guaranteed by the callers.
         * @param bean The name of the enterprise JavaBean to find
         * in the naming service (a prefix will be automatically added).
         * @return An Object that can be casted to a LocalHomeInterface.
        public EJBLocalHome getLocalHome(String bean) {
            EJBLocalHome localHome = null;
            logger.entering("LookupServiceHelper","getLocalHome",bean);
            try {
                String jndiHomeName = getFullyQualifiedEJBName(bean);
                logger.info("looking for " + jndiHomeName);
                if (cache.containsKey(jndiHomeName)) {
                     logger.info("found cached reference");
                    localHome = (EJBLocalHome) cache.get(jndiHomeName);
                } else {
                     logger.info("no reference found; performing lookup");                 
                    localHome = (EJBLocalHome) initialContext.lookup(jndiHomeName);
                    cache.put(jndiHomeName, localHome);
            } catch (NamingException ne) {
                throw new LookupServiceException(ne);
            } catch (Exception e) {
                throw new LookupServiceException(e);
            logger.exiting("LookupServiceHelper","getLocalHome",localHome);
            return localHome;
         * This utility method looks up a javax.mail.Session session
         * in the distributed naming service.  It is not type safe;
         * that property is guaranteed by the callers.
         * @param resource The name of the mail session resource to find
         * in the naming service (a prefix will be automatically added).
         * @return An Object that can be casted to a javax.mail.Session.
        public javax.mail.Session getMailSession(String resource) {
            javax.mail.Session session = null;
            logger.entering("LookupServiceHelper","getMailSession",resource);
            try {
                String jndiName = getFullyQualifiedMailResourceName(resource);
                logger.info("looking for " + jndiName);
                if (cache.containsKey(jndiName)) {
                     logger.info("found cached reference");
                    session = (javax.mail.Session) cache.get(jndiName);
                } else {
                     logger.info("no reference found; performing lookup");
                    session = (javax.mail.Session) initialContext.lookup(jndiName);
                    cache.put(jndiName, session);
            } catch (NamingException ne) {
                throw new LookupServiceException(ne);
            } catch (Exception e) {
                throw new LookupServiceException(e);
            logger.exiting("LookupServiceHelper","getMailSession",session);
            return session;
          * Get a connection from the database pool.
          * @return Connection
         public Connection getDBConnection(String resource) {
              Connection connection = null;
              try {
                   String jndiName = getFullyQualifiedDBName(resource);
                   logger.info("looking for " + jndiName);
                   if(cache.containsKey(jndiName)) {
                        logger.info("found cached reference");
                        connection = (Connection) cache.get(jndiName);
                   } else {
                        logger.info("no reference found; performing lookup");
                        DataSource dataSource = (DataSource) initialContext
                                  .lookup(jndiName);
                        connection = dataSource.getConnection();
                        //do not cache the database connection;
                        //you will get an IllegalStateException if you do
                        //cache.put(jndiName,connection);
              } catch(NamingException ne) {
                   logger.warning("getConnection failed (naming): " + ne.getMessage());
                   throw new LookupServiceException(ne);
              } catch (SQLException sql) {
                   logger.warning("getConnection failed (db): " + sql.getMessage());
                   throw new LookupServiceException(sql);
              return connection;
         * This utility method takes an enterprise JavaBean name
         * and combines it with a prefix to form a fully qualified name
         * suitable for using to query the distributed naming service.
         * @param bean The name of the enterprise JavaBean to add.
         * @return The fully qualified name (e.g. java:comp/env/ejb/ABeanRef).
        private String getFullyQualifiedEJBName(String bean) {
            return IConstants.JNDI_EJB_PREFIX + bean;
         * This utility method takes a messaging resource name
         * and combines it with a prefix to form a fully qualified name
         * suitable for using to query the distributed naming service.
         * @param resource The name of the mail resource
         * @return The fully qualified name (e.g. java:comp/env/mail/MailSessionRef).
        private String getFullyQualifiedMailResourceName(String resource) {
            return IConstants.JNDI_MAIL_PREFIX + resource;
         * This utility method takes a messaging resource name
         * and combines it with a prefix to form a fully qualified name
         * suitable for using to query the distributed naming service.
         * @param jdbc The name of the JDBC resource.
         * @return The fully qualified name (e.g. java:comp/env/jdbc/mysql).
        private String getFullyQualifiedDBName(String resource) {
             return IConstants.JNDI_DB_PREFIX + resource;
    Some sample exception stack trace(s) (this is a different stateless session than the one before - but indicative of the same problem).
    [#|2005-11-10T14:00:20.566-0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb|_ThreadID=29;|EJB5070: Exception creating stateless session bean : [{0}]
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.ejb.containers.StatelessSessionContainer.createStatelessEJB(StatelessSessionContainer.java:410)
         at com.sun.ejb.containers.StatelessSessionContainer.access$100(StatelessSessionContainer.java:75)
         at com.sun.ejb.containers.StatelessSessionContainer$SessionContextFactory.create(StatelessSessionContainer.java:597)
         at com.sun.ejb.containers.util.pool.NonBlockingPool.getObject(NonBlockingPool.java:168)
         at com.sun.ejb.containers.StatelessSessionContainer._getContext(StatelessSessionContainer.java:359)
         at com.sun.ejb.containers.BaseContainer.getContext(BaseContainer.java:1072)
         at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:772)
         at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:126)
         at $Proxy167.authenticateCustomer(Unknown Source)
         at com.acjust.ecommerce.web.businessdelegate.customer.CustomerManagerBusinessDelegate.authenticate(CustomerManagerBusinessDelegate.java:77)
         at com.acjust.ecommerce.web.action.customer.LoginAction.execute(LoginAction.java:29)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor297.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
    Caused by: java.lang.ClassCastException: $Proxy214
         at com.acjust.ecommerce.ejb.client.customermanager.CustomerManagerBean.ejbCreate(CustomerManagerBean.java:71)
         ... 49 more
    |#]
    [#|2005-11-10T14:00:20.577-0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb|_ThreadID=29;|EJB5018: An exception was thrown during an ejb invocation on [CustomerManagerBean]|#]
    [#|2005-11-10T14:00:20.578-0800|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb|_ThreadID=29;|
    javax.ejb.EJBException: nested exception is: javax.ejb.EJBException: nested exception is: javax.ejb.CreateException: Could not create stateless EJB: java.lang.reflect.InvocationTargetException
    javax.ejb.EJBException: nested exception is: javax.ejb.CreateException: Could not create stateless EJB: java.lang.reflect.InvocationTargetException
    javax.ejb.CreateException: Could not create stateless EJB: java.lang.reflect.InvocationTargetException
         at com.sun.ejb.containers.StatelessSessionContainer.createStatelessEJB(StatelessSessionContainer.java:418)
         at com.sun.ejb.containers.StatelessSessionContainer.access$100(StatelessSessionContainer.java:75)
         at com.sun.ejb.containers.StatelessSessionContainer$SessionContextFactory.create(StatelessSessionContainer.java:597)
         at com.sun.ejb.containers.util.pool.NonBlockingPool.getObject(NonBlockingPool.java:168)
         at com.sun.ejb.containers.StatelessSessionContainer._getContext(StatelessSessionContainer.java:359)
         at com.sun.ejb.containers.BaseContainer.getContext(BaseContainer.java:1072)
         at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:772)
         at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:126)
         at $Proxy167.authenticateCustomer(Unknown Source)
         at com.acjust.ecommerce.web.businessdelegate.customer.CustomerManagerBusinessDelegate.authenticate(CustomerManagerBusinessDelegate.java:77)
         at com.acjust.ecommerce.web.action.customer.LoginAction.execute(LoginAction.java:29)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor297.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
    javax.ejb.EJBException: nested exception is: javax.ejb.CreateException: Could not create stateless EJB: java.lang.reflect.InvocationTargetException
         at com.sun.ejb.containers.StatelessSessionContainer$SessionContextFactory.create(StatelessSessionContainer.java:599)
         at com.sun.ejb.containers.util.pool.NonBlockingPool.getObject(NonBlockingPool.java:168)
         at com.sun.ejb.containers.StatelessSessionContainer._getContext(StatelessSessionContainer.java:359)
         at com.sun.ejb.containers.BaseContainer.getContext(BaseContainer.java:1072)
         at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:772)
         at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:126)
         at $Proxy167.authenticateCustomer(Unknown Source)
         at com.acjust.ecommerce.web.businessdelegate.customer.CustomerManagerBusinessDelegate.authenticate(CustomerManagerBusinessDelegate.java:77)
         at com.acjust.ecommerce.web.action.customer.LoginAction.execute(LoginAction.java:29)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor297.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
    javax.ejb.EJBException: nested exception is: javax.ejb.EJBException: nested exception is: javax.ejb.CreateException: Could not create stateless EJB: java.lang.reflect.InvocationTargetException
         at com.sun.ejb.containers.StatelessSessionContainer._getContext(StatelessSessionContainer.java:364)
         at com.sun.ejb.containers.BaseContainer.getContext(BaseContainer.java:1072)
         at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:772)
         at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:126)
         at $Proxy167.authenticateCustomer(Unknown Source)
         at com.acjust.ecommerce.web.businessdelegate.customer.CustomerManagerBusinessDelegate.authenticate(CustomerManagerBusinessDelegate.java:77)
         at com.acjust.ecommerce.web.action.customer.LoginAction.execute(LoginAction.java:29)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor297.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
    |#]
    [#|2005-11-10T14:00:20.651-0800|WARNING|sun-appserver-pe8.1_02|org.apache.struts.action.RequestProcessor|_ThreadID=29;|Unhandled Exception thrown: class javax.ejb.EJBException|#]
    [#|2005-11-10T14:00:20.779-0800|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=29;|StandardWrapperValve[action]: Servlet.service() for servlet action threw exception
    javax.ejb.EJBException: nested exception is: javax.ejb.EJBException: nested exception is: javax.ejb.CreateException: Could not create stateless EJB: java.lang.reflect.InvocationTargetException
    javax.ejb.EJBException: nested exception is: javax.ejb.CreateException: Could not create stateless EJB: java.lang.reflect.InvocationTargetException
    javax.ejb.CreateException: Could not create stateless EJB: java.lang.reflect.InvocationTargetException
         at com.sun.ejb.containers.StatelessSessionContainer.createStatelessEJB(StatelessSessionContainer.java:418)
         at com.sun.ejb.containers.StatelessSessionContainer.access$100(StatelessSessionContainer.java:75)
         at com.sun.ejb.containers.StatelessSessionContainer$SessionContextFactory.create(StatelessSessionContainer.java:597)
         at com.sun.ejb.containers.util.pool.NonBlockingPool.getObject(NonBlockingPool.java:168)
         at com.sun.ejb.containers.StatelessSessionContainer._getContext(StatelessSessionContainer.java:359)
         at com.sun.ejb.containers.BaseContainer.getContext(BaseContainer.java:1072)
         at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:772)
         at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:126)
         at $Proxy167.authenticateCustomer(Unknown Source)
         at com.acjust.ecommerce.web.businessdelegate.customer.CustomerManagerBusinessDelegate.authenticate(CustomerManagerBusinessDelegate.java:77)
         at com.acjust.ecommerce.web.action.customer.LoginAction.execute(LoginAction.java:29)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor297.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
         at com.sun.enterprise.web.connector.grizzly.Proce                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      

  • Building & deploying ColdFusion apps via Ant

    I'm trying to create a Ant build script for building and
    deploying ColdFusion applications as a WAR. I am able to compile
    the ColdFusion code, and creating the WAR itself is pretty simple,
    but there's two steps I'm not familiar with:
    a) How do you generate the applications' web.xml, config.xml,
    neo-debug.xml, neo-query.xml, license.properties, etc files that
    are needed in the WAR?
    b) Is it possible to use Ant to do deploy time configuraton
    of the ColdFusion app? For example, setting the database that will
    be used.
    I have looked at the build.xml that is generated by
    ColdFusion MX7's administration tool, but this only does the
    compile step and the WAR creation step. The doesn't seem to be any
    documented Ant task for the other things I asked about above.
    If anyone has done this, I would very much appreciate it if
    you could point me in the right direction. Sample ant build files
    would be especially appreciated, but even just a clue as to where
    to look for the info I need would be very helpful.

    I've also been looking into this and it appears you can only pre-load apps onto the iPhone that you have made, ie ones you have access to the original .ipa file.
    If anyone knows of a way to configure a large deployment of iPhones with a standard app base, Skype, WiFi finder, Units across 20+ iPhones please post it here.
    If anyone can save me from downloading each app 60 times it'll be much appreciated.

  • Deploying OBI Apps...

    Hello, team!
    I'm going to deploy OBI Apps. I have the Oracle book "Oracle® Business Intelligence Applications Fusion
    Edition". Will it be enough to deploy OBI Apps or do I need something additional information to deploy sample Applications catalog?
    Thank you beforehand for any information!
    Alex.

    Hi Alex,
    I reckon this thread should rather be placed in the [OBI Apps Forum|http://forums.oracle.com/forums/forum.jspa?forumID=410] .
    Documentation that you need to use depends on the version of OBIA that you are trying to install.
    For example - in the version 7.9.5 there is only one PDF (+OBIA FE Installation and Configuration Guide+) with all the info, whereas in version 7.9.5.1 there are more PDFs (documentation is basically split into smaller parts).
    For more info, take a look here
    do I need something additional information to deploy sample Applications catalog?If you just need sample WebCatalog (if I got that right..), you don't need anything more than to download OBIA from Oracle website and install it on top of exixting OBI installation (OBIEE or OBISE1).
    Nevertheless if you want the whole infrastructure running (Infa/ODI + DAC + OBIA), you will need to follow all the installation steps.
    Hope it helps..
    MB

  • How do I stream music from non-iTunes apps to Airport (mac air core-i7 OS 10.7.5 airport firmware 7.6.1 --- option-clicking speaker icon only shows internal speakers - audio streaming works from iTunes just fine.

    How do I stream music from non-iTunes apps to Airport (mac air core-i7 OS 10.7.5 airport firmware 7.6.1 --- option-clicking speaker icon only shows internal speakers - audio streaming works from iTunes just fine.

    Hello Achates:
    I did not read the rather long post. If you wish to reinstall OS X 10.4, use your software install DVD. Backup is essential. To minimize your risk, I would use an archive and install:
    http://docs.info.apple.com/article.html?artnum=107120
    In that way, you will have a fresh copy of OS X and your current settings will be preserved.
    Incidentally, I do not agree that the printer problem is best solved by reinstalling OS X. I have had HP printers for sometime and, on one occasion, had difficulty after an upgrade. HP technical support walked me through uninstalling all traces of the HP driver and then reinstalling.
    Barry

  • Can't buy an App from the mac app store with iTunes gift card.

    Hello ,
    I have iTunes credit over 10 $ but still i can't buy an App from the mac App store although it show that i have credit and im sure i do, i tried exiting the Mac App Store and try again but still when i click on buy it opens a new window with billing info after i type my Account details, i don't use credit card and have always redeemed iTunes Gift Cards , but now it doesn't let me buy it!
    Any help on how to buy an App without the store taking me to billing info to add , would be appreciated
    I have a Macbook Air 2013 Model.
    with Yosemite installed.
    Thanks,

    Yes.
    Click Redeem on the right side of the MAS window under Quick Links.
    Carolyn   

Maybe you are looking for

  • Freqent "Your computer restarted because of a problem" after sleep wake up

    After wake up from sleep (eg. at the morning, when I'm starting to work) my MacBook Pro Retina is often restarted at the login screen and after logged in, appears window "Your computer restarted because of a problem". It happens about 3-4 times per w

  • Associated Trips not shown in SCASE for Post Audit Cases

    Hi All,         In My Project there was an EHP6 upgrade after which there were some issues. Most of them were resolved expect for this SCASE tcode issue. Here when a search is made to check Violated Trips case for Items, Associated Trips are not gett

  • Output for TV Monitor Viewing

    We're putting together an animated slideshow presentation for a sales office, which will be viewed on a large TV. I have experience with Photoshop, Illustrator, InDesign, Dreamweaver, Flash, and Edge Animate....and wonder which of the ACCloud apps sh

  • Constant Updaye Message

    I get a message in the corner of my iMac2-4 times a day saying iMovie has just been updated. DRIVING ME CRAZY! Help

  • Need help setting up roundcube webmail in Apple Mail app

    My wife's work uses an email service known as Roundcube for their email which from what I can tell is an IMAP service. She wants to be able to access the email from her Apple Mail app but I am not sure what the setting I should put in are for incomin