IFlex

Hello friends
I am working on a flex project & using IFrame. The
problem is that when i click outside the IFrame area it gets
disappear.
Its urgent please help.
I have added <div id="myFrame"
style="position:absolute;background-color:transparent;border:0px;visibility:visible;">
</div>
and already set wmode="opaque"

Any idea?

Similar Messages

  • Deploying Web application in Tomcat

    Hi,
    I am trying to deploy a web application "Simulator" in Tomcat. I am getting an error HTTP Status 404.
    1> Here is my web.xml file........
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <servlet>
    <servlet-name>IOServlet</servlet-name>
    <servlet-class>com.iflex.fcc.xmlgateway.IOServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>com.iflex.fcc.xmlgateway.IOServlet</servlet-name>
    <url-pattern>/servlet/com.iflex.fcc.xmlgateway.IOServlet</url-pattern>
    </servlet-mapping>
    </web-app>
    2> The folder structure which I created is............
    D:\tomcat\tomcat-jwsdp-1.4\webapps\Simulator\WEB-INF\classes\
    (followed by my package structure) com\iflex\fcc\xmlgateway\IOServlet
    3> The Url which I use to access this servlet is,
    http://localhost:8888/Simulator/servlet/com.iflex.fcc.xmlgateway.IOservlet
    Pls. Help me.

    Change this line in ur web.xml
    <servlet-name>com.iflex.fcc.xmlgateway.IOServlet</servlet-name>
    to
    <servlet-name>IOServlet</servlet-name>
    By the way, kya iflex recruit kar rahi hai ??
    -L.

  • Calling a Webservice  from other Webservice

    Hi,
    am using oracle appserver R3 & oc4j10.1.3 with build in1.5...._b05. I have deployed a webservice as application A .it got deployed and tested successfuly. Now i writen Webservice B which will call the previous webservice A.
    am following wsdl to java approch for creating webservice.
    But's it failing at the following code execution
    _port = ((com.iflex.fcubs.gw.ws.types.FCUBSCustomerService)factory.loadService(com.iflex.fcubs.gw.ws.types.FCUBSCustomerService.class)).getFCUBSCustomerServiceSEI();
    Exception is
    java.lang.NoClassDefFoundError: oracle/j2ee/ws/common/util/localization/Localizable
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
    at java.lang.Class.getConstructor0(Class.java:2640)
    at java.lang.Class.newInstance0(Class.java:321)
    at java.lang.Class.newInstance(Class.java:303)
    at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:92)
    at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryImpl.java:121)
    at com.iflex.adap.GWOC4JWebServiceInvoker.callService(GWOC4JWebServiceInvoker.java:40)
    and i downloaded wsclient_extended.zip took the jar file out of that and put in webservice\lib and applib directories.
    Now am get in other excepiton in same code..
    new Exception Trace is :
    java.lang.LinkageError: loader constraints violated when linking oracle/webservices/transport/ClientTransport class
    at com.iflex.fcubs.gw.ws.types.runtime.FCUBSCustomerService_Impl.getFCUBSCustomerServiceSEI(FCUBSCustomerService_Impl.java:60)
    at com.iflex.adap.GWOC4JWebServiceInvoker.callService(GWOC4JWebServiceInvoker.java:51)
    at com.iflex.adap.seibel_wrapper.wrapper(seibel_wrapper.java:52)
    line @#60 of FCUBSCustomerService_Impl
    com.iflex.fcubs.gw.ws.types.runtime.FCUBSCustomerService_Stub stub = new com.iflex.fcubs.gw.ws.types.runtime.FCUBSCustomerService_Stub(handlerChain);
    Please this is very urgent.. look for more help..
    please........ help me to come out from the proplem..
    Thankfully,
    Bogi

    I have done this before, essentially all the webservice should have to do is access the generated client stub for the web service it is calling.
    Web service #1
    + business logic
    + client stub to Web service ----------------------------------------> Web service #2
    I think you need to package all the classes used by the Web service client into the your Web service's EAR.
    I tried this in JDev and I was able to do it very quickly. I created a project and generated a Web service client stub to access the target Web Service (#2). After I was satisfied that it worked, I created the JAX-RPC based Web service. In JDev this is fairly simple. Just create an interface that extends java.rmi.remote, and a implementation of the interface. Afterwards right click on the class and JDev will bring up a dialog box, one of the options is to generate a Web service.
    I did this all within the context of a single JDev project. This way I didn't have any issues with packaging two separate applications. In one of my methods of my Web service I would call the Web service using the generated client stub.
    In a separate project I generated a client to access the Web service (#1).

  • Using Table.Join formula takes extremly long time to get results.(Why Query Folding doesn't work?)

    Hi,
    I built a query with 4 tables inside (load from Oracle DB and two of them are quite big, more than millions of rows). After filtering, I tried to build relationships between tables using Table.Join formula. However, the process took extremly long time to
    bring out results (I ended the process after 15 mins' processing). There's a status bar kept updating while the query was processing, which is showed as  . I suppose
    this is because the query folding didn't working, so PQ had to load all the data to local memory first then do the opertion, instead of doing all the work on the source system side. Am I right? If yes, is there any ways to solve this issue?
    Thanks.
    Regards,
    Qilong 

    Hi Curt,
    Here's the query that I'm refering,
    let
        Source = Oracle.Database("reporting"),
        AOLOT_HISTS = Source{[Schema="GEN",Item="MVIEW$_AOLOT_HISTS"]}[Data],
        WORK_WEEK = Source{[Schema="GEN",Item="WORK_WEEK"]}[Data],
        DEVICES = Source{[Schema="GEN",Item="MVIEW$_DEVICES"]}[Data],
        AO_LOTS = Source{[Schema="GEN",Item="MVIEW$_AO_LOTS"]}[Data],
        Filter_WorkWeek = Table.SelectRows(WORK_WEEK, each ([WRWK_YEAR] = 2015) and (([WORK_WEEK] = 1) or ([WORK_WEEK] = 2) or ([WORK_WEEK] = 3))), 
        Filter_AlotHists = Table.SelectRows(AOLOT_HISTS, each ([STEP_NAME] = "BAKE" or [STEP_NAME] = "COLD TEST-IFLEX" or [STEP_NAME] = "COLD TEST-MFLEX") and ([OUT_QUANTITY] <> 0)),
        #"Added Custom" = Table.AddColumn(Filter_AlotHists, "Custom", each Table.SelectRows(Filter_WorkWeek, (table2Row) => [PROCESS_END_TIME] >= table2Row[WRWK_START_DATE] and [PROCESS_END_TIME] <= table2Row[WRWK_END_DATE])),
        #"Expand Custom" = Table.ExpandTableColumn(#"Added Custom", "Custom", {"WRWK_YEAR", "WORK_WEEK", "WRWK_START_DATE", "WRWK_END_DATE"}, {"WRWK_YEAR", "WORK_WEEK",
    "WRWK_START_DATE", "WRWK_END_DATE"}),
        Filter_AolotHists_byWeek = Table.SelectRows(#"Expand Custom", each ([WORK_WEEK] <> null)),
        SelectColumns_AolotHists = Table.SelectColumns(Filter_AolotHists_byWeek,{"ALOT_NUMBER", "STEP_NAME", "PROCESS_START_TIME", "PROCESS_END_TIME", "START_QUANTITY", "OUT_QUANTITY", "REJECT_QUANTITY",
    "WRWK_FISCAL_YEAR", "WRWK_WORK_WEEK_NO"}),
        Filter_Devices= Table.SelectRows(DEVICES, each ([DEPARTMENT] = "TEST1")),
        SelectColumns_Devices = Table.SelectColumns(Filter_Devices,{"DEVC_NUMBER", "PCKG_CODE"}),
        Filter_AoLots = Table.SelectRows(AO_LOTS, each Text.Contains([DEVC_NUMBER], "MC09XS3400AFK") or Text.Contains([DEVC_NUMBER], "MC09XS3400AFKR2") or Text.Contains([DEVC_NUMBER], "MC10XS3412CHFK") or Text.Contains([DEVC_NUMBER],
    "MC10XS3412CHFKR2")),
        SelectColumns_AoLots = Table.SelectColumns(Filter_AoLots,{"ALOT_NUMBER", "DEVC_NUMBER", "TRACECODE", "WAFERLOTNUMBER"}),
        TableJoin = Table.Join(SelectColumns_AolotHists, "ALOT_NUMBER", Table.PrefixColumns(SelectColumns_AoLots, "AoLots"), "AoLots.ALOT_NUMBER"),
        TableJoin1 = Table.Join(TableJoin, "AoLots.DEVC_NUMBER", Table.PrefixColumns(SelectColumns_Devices, "Devices"), "Devices.DEVC_NUMBER")
    in
        TableJoin1
    Could you please give me some hints why it needs so long to process?
    Thanks.

  • MQ adapter response queue not found.

    On OC4j server start up only the request quese is looked up.
    --------------The MDBs (ejb-jar.xml)----------------
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar id="ejb-jar_ID">
    <display-name>FCRJChannelsNH</display-name>
    <enterprise-beans>
    <message-driven id="MessageDriven_1093512188974">
    <ejb-name>FCRJNetworkHandlerMDB</ejb-name>
    <ejb-class>com.iflex.fcr.nh.FCRJNetworkHandlerMDB</ejb-class>
    <transaction-type>Bean</transaction-type>
    <message-driven-destination>
    <destination-type>javax.jms.Queue</destination-type>
    </message-driven-destination>
    <activation-config>
    <activation-config-property>
    <activation-config-property-name>
    DestinationType
    </activation-config-property-name>
    <activation-config-property-value>
    javax.jms.Queue
    </activation-config-property-value>
    </activation-config-property>
    <activation-config-property>
    <activation-config-property-name>
    DestinationName
    </activation-config-property-name>
    <activation-config-property-value>
    java:comp/resource/MQSeries/AtmChannelRequestQ1
    </activation-config-property-value>
    </activation-config-property>
    <activation-config-property>
    <activation-config-property-name>
    ConnectionFactoryJndiName
    </activation-config-property-name>
    <activation-config-property-value>
    java:comp/resource/MQSeries/LibyaQCF
    </activation-config-property-value>
    </activation-config-property>
    </activation-config>
    <env-entry>
    <description>
    Name of this application.
    </description>
    <env-entry-name>applicationName</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>CHANNELS</env-entry-value>
    </env-entry>
    <ejb-ref>
    <description>
    This is a reference to the transaction handler bean
    </description>
    <ejb-ref-name>ejb/TransactionHandlerBean</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>com.iflex.fcr.th.FCRJTransactionHandlerSessionHome</home>
    <remote>com.iflex.fcr.th.FCRJTransactionHandlerSessionRemote</remote>
    </ejb-ref>
    </message-driven>
    </enterprise-beans>
    </ejb-jar>
    --------------orion-ejb-jar.xml looks like this --------------
    <?xml version="1.0" encoding="utf-8"?>
    <orion-ejb-jar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/orion-ejb-jar-10_0.xsd" deployment-version="10.1.3.0.0" deployment-time="10919c03f8d" schema-major-version="10" schema-minor-version="0" >
    <enterprise-beans>
    <message-driven-deployment name="FCRJNetworkHandlerMDB" wrapper-class="MessageListener_MessageEndpoint11" resource-adapter="MQChannelConnector">
    <ejb-ref-mapping name="ejb/TransactionHandlerBean" />
    <config-property>
    <config-property-name>DestinationType</config-property-name>
    <config-property-value>javax.jms.Queue</config-property-value>
    </config-property>
    <config-property>
    <config-property-name>DestinationName</config-property-name>
    <config-property-value>java:comp/resource/MQSeries/AtmChannelRequestQ1</config-property-value>
    </config-property>
    <config-property>
    <config-property-name>ConnectionFactoryJndiName</config-property-name>
    <config-property-value>java:comp/resource/MQSeries/LibyaQCF</config-property-value>
    </config-property>
    </message-driven-deployment>
    </enterprise-beans>
    <assembly-descriptor>
    <default-method-access>
    <security-role-mapping name="&lt;default-ejb-caller-role&gt;" impliesAll="true" />
    </default-method-access>
    </assembly-descriptor>
    </orion-ejb-jar>
    The server's console looks as below
    08/05/14 20:21:44 JMSResourceAdapter ctor
    08/05/14 20:21:44 JMSResourceAdapter::start() ENTER
    08/05/14 20:21:44 JMSResourceAdapter::start(), lookupMethod: resourceProvider, resourceProviderName: MQSeries
    08/05/14 20:21:44 JMSResourceAdapter::start() EXIT
    CommonMangedCFImpl(Queue)::ctor
    CommonMangedCFImpl(Queue)::setResourceAdapter
    CommonMangedCFImpl(Queue)::setJndiLocation, loc: LibyaQCF
    CommonMangedCFImpl(Queue)::createConnectionFactory() enter
    08/05/14 20:21:44 AdminObjectImpl (Queue)::setJndiName: AtmChannelRequestQ1
    08/05/14 20:21:44 AdminObjectImpl (Queue)::setResourceProviderName: MQSeries
    08/05/14 20:21:44 AdminObjectImpl (Queue)::setJndiName: AtmChannelResponseQ1
    08/05/14 20:21:44 AdminObjectImpl (Queue)::setResourceProviderName: MQSeries
    08/05/14 20:21:44 JMSActivationSpec::ctor
    08/05/14 20:21:44 JMSActivationSpec::setDestinationType, type: javax.jms.Queue
    08/05/14 20:21:44 JMSActivationSpec::setDestination, dest: java:comp/resource/MQSeries/AtmChannelRequestQ1
    08/05/14 20:21:44 JMSActivationSpec::setConnetionFactoryJndiName, loc: java:comp/resource/MQSeries/LibyaQCF
    08/05/14 20:21:44 JMSActivationSpec::setResourceAdapter
    08/05/14 20:21:44 JMSActivationSpec::validate
    08/05/14 20:21:44 JMSResourceAdapter::endpointActivation() ENTER
    08/05/14 20:21:44 EndpointConsumer::ctor
    08/05/14 20:21:44 WorkConsumer::ctor
    08/05/14 20:21:44 WorkConsumer(): Looking up: java:comp/resource/MQSeries/LibyaQCF
    08/05/14 20:21:44 WorkConsumer(): Looked up: java:comp/resource/MQSeries/LibyaQCF
    08/05/14 20:21:44 WorkConsumer(): Looking up: java:comp/resource/MQSeries/AtmChannelRequestQ1
    08/05/14 20:21:44 WorkConsumer(): Looked up: java:comp/resource/MQSeries/AtmChannelRequestQ1
    08/05/14 20:21:44 WorkConsumer::creating JMS conn/sess/rec
    08/05/14 20:21:45 EndpointConsumer::Started worker
    08/05/14 20:21:45 JMSResourceAdapter::endpointActivation() EXIT
    08/05/14 20:21:45 WorkConsumer::run method ENTER
    08/05/14 20:21:45 WorkConsumer::run(): created endpoint
    08/05/14 20:21:45 WorkConsumer::run(): beforeDelivery done
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 20625 ms.
    08/05/14 20:21:49 Oracle Containers for J2EE 10g (10.1.3.3.0) initialized
    08/05/14 20:21:56 On message...............................
    08/05/14 20:21:58 java.lang.NullPointerException
    08/05/14 20:21:58      at com.iflex.fcr.nh.FCRJNetworkHandlerMDB.onMessage(FCRJNetworkHandlerMDB.java:602)
    08/05/14 20:21:58      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    08/05/14 20:21:58      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    08/05/14 20:21:58      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    08/05/14 20:21:58      at java.lang.reflect.Method.invoke(Method.java:324)
    08/05/14 20:21:58      at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    08/05/14 20:21:58      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    08/05/14 20:21:58      at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    08/05/14 20:21:58      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    08/05/14 20:21:58      at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
    08/05/14 20:21:58      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    08/05/14 20:21:58      at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    08/05/14 20:21:58      at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
    08/05/14 20:21:58      at FCRJNetworkHandlerMDB_EndPointProxy_205g09l.onMessage(Unknown Source)
    08/05/14 20:21:58      at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:122)
    08/05/14 20:21:58      at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
    08/05/14 20:21:58      at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
    08/05/14 20:21:58      at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
    08/05/14 20:21:58      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819)
    08/05/14 20:21:58      at java.lang.Thread.run(Thread.java:534)
    08/05/14 20:21:58 WorkConsumer::run(): return from onMessage()
    08/05/14 20:21:58 WorkConsumer::run(): calling afterDelivery on:FCRJNetworkHandlerMDB_EndPointProxy_205g09l@12bed82
    08/05/14 20:21:58 WorkConsumer::run(): afterDelivery done
    08/05/14 20:21:58 WorkConsumer::run(): beforeDelivery done
    08/05/14 20:26:59 WorkConsumer::run(): calling afterDelivery on:FCRJNetworkHandlerMDB_EndPointProxy_205g09l@12bed82
    08/05/14 20:26:59 WorkConsumer::run(): afterDelivery done
    08/05/14 20:26:59 WorkConsumer::run(): beforeDelivery done
    08/05/14 20:32:00 WorkConsumer::run(): calling afterDelivery on:FCRJNetworkHandlerMDB_EndPointProxy_205g09l@12bed82
    08/05/14 20:32:00 WorkConsumer::run(): afterDelivery done
    08/05/14 20:32:00 WorkConsumer::run(): beforeDelivery done
    08/05/14 20:37:00 WorkConsumer::run(): calling afterDelivery on:FCRJNetworkHandlerMDB_EndPointProxy_205g09l@12bed82
    08/05/14 20:37:00 WorkConsumer::run(): afterDelivery done
    08/05/14 20:37:00 WorkConsumer::run(): beforeDelivery done

    Hi todd,
    Thanks for the reply and following is my aim.
    1) My client is a simple 'C' client which will place a messge in IBM MQ (in my case the queue name is IN.QUEUE) using the MQ client libraries.
    2) I expect the Tuxedo MQ adapter should pick up the message from the MQ(i.e. IN.QUEUE) and calls the Tuxedo service (TOUPPPER)
    a) As part of the MQ message i have filled the MQMD.ReplytoQ as OUT.QUEUE i.e. i am expecting the response of my tuxedo message in OUT.QUEUE
    b) Also i have configured the MQMD.Format as "MYUPPER", meaning as per my TM_MQI.CFG configuration it should call the TOUPPER tuxedo message
    3) What i expect is the response of the TOUPPER message should be put in my ReplyToQueue .i.e OUT.QUEUE.
    4) My simple 'C' client will read the MQ message from OUT.QUEUE.
    5) Everything works fine, expect the response message is not put in OUT.QUEUE.
    Regards,
    Kiruba.

  • Class loader Exception

    I am getting the following error even though the corresponding file is present in the app.jar.
    This happens when hibernates are getting loaded , when i start the oracle app server.
    Does anyone knows why its so.
    Caused by: org.hibernate.MappingException: entity class not found: com.iflex.fcr.app.deposit.td.us.dto.DepositRateHistoryDTOCheckNew
         at org.hibernate.mapping.PersistentClass.getMappedClass(PersistentClass.java:99)
         at org.hibernate.tuple.PropertyFactory.getGetter(PropertyFactory.java:166)
         at org.hibernate.tuple.PropertyFactory.buildIdentifierProperty(PropertyFactory.java:44)
         at org.hibernate.tuple.EntityMetamodel.<init>(EntityMetamodel.java:115)
         at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:412)
         at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:108)
         at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
         at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:216)
         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1176)
         at com.iflex.fcr.infra.das.orm.hibernate.SessionFactoryLoader.<clinit>(Unknown Source)
         ... 5 more
    Caused by: oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: com.iflex.fcr.app.deposit.td.us.dto.DepositRateHistoryDTOCheckNew
         Dependent class: org.hibernate.util.ReflectHelper
         Loader: global.libraries:1.0
         Code-Source: /D:/product/10.1.3.1/OracleAS_3/j2ee/FSI_RETAIL/applib/hibernate313.jar
         Configuration: <code-source> in /D:/product/10.1.3.1/OracleAS_3/j2ee/FSI_RETAIL/config/server.xml
    This load was initiated at global.libraries:1.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.
         at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2078)
         at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1679)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1635)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1620)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:164)
         at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:108)
         at org.hibernate.mapping.PersistentClass.getMappedClass(PersistentClass.java:96)
         ... 14 more

    Neither, not using Oracle HTTP Server nor using JDK 1.4 incluence the behaviour of OC4J. It is your application deployment. As it should be with every Java EE server you provide an EAR file structure with modules like WAR files or EJB jar files. Each of these modules has more or less its own class loading environment.
    OC4J however supports application and global shared libraries. Application shared libraries can be packaged in the EAR file using the Java EE 5 library mechanism. In essence your libraries must be known by the class loader of the Java EE module otherwise your application doesn't work.
    What I need to know is what type of application (WAR, EJB, combo of both) you're using and how the files are laid out in the directory structure.
    To have an example, see this blog entry: http://blogs.oracle.com/olaf/2007/07/25
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Java.sql.SQLException: Internal error: Cannot obtain XAConnection

    Hi,
    I am getting this error .
    I have a multi data source which serves two Data source and is using load balancing
    I get the below error:
    Cannot obtain XAConnection weblogic.common.ResourceException: No good connections available.
    The complete error trace is below:
    GWMDBBean [onMessage(Message)] 09_MAY 16:24:13:165->EXCEPTION
    java.sql.SQLException: Internal error: Cannot obtain XAConnection weblogic.common.ResourceException: No good connections available.
         at weblogic.jdbc.common.internal.MultiPool.findPool(MultiPool.java:187)
         at weblogic.jdbc.common.internal.ConnectionPoolManager.reserve(ConnectionPoolManager.java:87)
         at weblogic.jdbc.common.internal.ConnectionPoolManager.reserve(ConnectionPoolManager.java:61)
         at weblogic.jdbc.jta.DataSource.getXAConnectionFromPool(DataSource.java:1514)
         at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1301)
         at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:426)
         at weblogic.jdbc.jta.DataSource.connect(DataSource.java:383)
         at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:346)
         at com.iflex.fcubs.gwutil.db.GWDBUtil.getConnection(GWDBUtil.java:119)
         at com.iflex.fcubs.gwservices.db.GWMsgProcessor.getConnection(GWMsgProcessor.java:95)
         at com.iflex.fcubs.gwservices.db.inbound.GWMsgSchemaProc.processMsg(GWMsgSchemaProc.java:165)
         at com.iflex.fcubs.gw.mdb.GWMDBBean.processMessage(GWMDBBean.java:1051)
         at com.iflex.fcubs.gw.mdb.GWMDBBean.onMessage(GWMDBBean.java:371)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
         at weblogic.ejb.container.internal.NewJMSMessagePoller.processOneMessage(NewJMSMessagePoller.java:245)
         at weblogic.ejb.container.internal.NewJMSMessagePoller.run(NewJMSMessagePoller.java:121)
         at weblogic.ejb.container.internal.NewJMSMessagePoller.timerExpired(NewJMSMessagePoller.java:204)
         at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
         at com.iflex.fcubs.gw.mdb.GWMDBBean.processMessage(GWMDBBean.java:1060)
         at com.iflex.fcubs.gw.mdb.GWMDBBean.onMessage(GWMDBBean.java:371)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
         at weblogic.ejb.container.internal.NewJMSMessagePoller.processOneMessage(NewJMSMessagePoller.java:245)
         at weblogic.ejb.container.internal.NewJMSMessagePoller.run(NewJMSMessagePoller.java:121)
         at weblogic.ejb.container.internal.NewJMSMessagePoller.timerExpired(NewJMSMessagePoller.java:204)
         at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    The Data Sources Configuration are as below:
    <initial-capacity>15</initial-capacity>
    <max-capacity>15</max-capacity>

    This indicates that none of your datasources have been able to successfully connect to the database.
    Please check the connectivity to your database from the datasources.
    Also, you can login into the console and check if the connections are good, by doing test connection on the datasource.
    http://docs.oracle.com/cd/E21764_01/apirefs.1111/e13952/taskhelp/jdbc/jdbc_datasources/TestDataSources.html
    The error you get when you do test connection will help you to understand any connectivity issues.
    Arun

  • Where can I buy a replacement stand for external iSight?

    I've found the Sightflex/iFlex on Amazon.com, but the product cannot be shipped to Canada. I just got an iSight off eBay, but can't use it until I get a stand

    jaruzek wrote:
    Unless I've been using the wrong search terms on eBay, no I have not. Results always include the camera itself (which I already have).
    The link you sent me was last updated in 2006, so it didn't help too much, but thanks.
    If anyone knows where to get something like a SightFlex, that'd be awesome. I'm not beyond DIY either.
    I found a few using keywords "iSight Mounts." (w/o the quotes)

  • ApplicationInitialContextFactory should only be used inside Orion server :(

    Hi
    I was trying to deploy a J2EE application on OAS 10g(10.1.2 standalone)
    Please help in debugging this error which reappears every time in spite of changes made in orion-web.xml as suggested in a forum message earlier.
    ERROR javax.naming.NamingException: com.evermind.server.ApplicationInitialContextFactory should only be used inside Orion server environments. For client com.evermind.server.ApplicationClientInitialContextFactory or com.evermind.server.rmi.RMIInitialContextFactory should be used
         at com.evermind.server.PreemptiveApplicationContext.getContext(PreemptiveApplicationContext.java:31)
         at com.evermind.naming.FilterContext.lookup(FilterContext.java:138)
         at javax.naming.InitialContext.lookup(InitialContext.java:349)
         at in.co.iflex.icrs.util.ServiceLocator.getRemoteHome(ServiceLocator.java:99)
         at in.co.iflex.icrs.factory.facade.FacadeFactoryJ2EE.getSMSFacade(Unknown Source)
         at in.co.iflex.icrs.util.SessionManager.getUserNames(Unknown Source)
         at in.co.iflex.icrs.servlet.FrontViewController.loadConfiguration(FrontViewController.java:139)
         at org.apache.velocity.servlet.VelocityServlet.initVelocity(VelocityServlet.java:230)
         at org.apache.velocity.servlet.VelocityServlet.init(VelocityServlet.java:198)
         at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2354)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4795)
         at com.evermind.server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2821)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:680)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    The following error appear in redirected output/errors server log file
    Error creating Tag Library Descriptor Cache : null java.lang.NullPointerException
    at oracle.jsp.parse.tldcache.ApplicationTldCacheImpl.getCurrentResources(ApplicationTldCacheImpl.java:85)
    at oracle.jsp.parse.tldcache.TldCacheImpl.initCache(TldCacheImpl.java:100)
    at oracle.jsp.parse.tldcache.ApplicationTldCacheImpl.<init>(ApplicationTldCacheImpl.java:59)
    at com.evermind.server.http.HttpApplication.initDefaultServlets(HttpApplication.java:5106)
    at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:941)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:549)
    at com.evermind.server.Application.getHttpApplication(Application.java:890)
    at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:707)
    at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:625)
    at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:278)
    at com.evermind.server.http.HttpServer.setSites(HttpServer.java:278)
    at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:179)
    at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2394)
    at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1551)
    at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:92)
    at java.lang.Thread.run(Thread.java:534)
    Oracle Application Server Containers for J2EE 10g (10.1.2.0.2) initialized
    Thanks

    Hi Avi
    I am still getting the same error .
    I already had <ejb-ref> entry in web.xml.
    <ejb-ref>
    <ejb-ref-name>SMSBean</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>in.co.iflex.icrs.sms.ejb.common.SMSHome</home>
    <remote>in.co.iflex.icrs.sms.ejb.common.SMSRemote</remote>
    </ejb-ref>
    Let me give more details.
    My ejb-jar.xml entry:
    <session>
         <description>SMS Bean</description>
         <display-name>SMSBean</display-name>
         <ejb-name>SMSBean</ejb-name>
         <home>in.co.iflex.icrs.sms.ejb.common.SMSHome</home>
         <remote>in.co.iflex.icrs.sms.ejb.common.SMSRemote</remote>
         <ejb-class>in.co.iflex.icrs.sms.ejb.internal.SMSFacadeBean</ejb-class>
         <session-type>Stateless</session-type>
         <transaction-type>Container</transaction-type>
    </session>
    The orion-web.xml entry:
    <ejb-ref-mapping name="SMSBean" />
    Folks, is anybody able to sense what is wrong here?
    Thanks

  • Using jasper Reports with Tomcat5.5

    hi ,
    i am trying to use Jasper Reports with Tomcat 5.5 but not able to do it.
    i have written a simple java program to read data from MySql database and generate a report in PDF format. the good thing is that when i am doing this as a independent java program and running it in Eclipse3.2 then its working fine. but i am not able to run it as a sevlet thru Tomcat5.5.
    any help ? is there any issue with version ...
    i am using JDK 1.5 , Tomcat5.5
    regs,
    sajid

    i am not able to figure it out. usually all web app picks files in WEB-INF folder . see below the exception ....
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Servlet execution threw an exception
         org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    root cause
    java.lang.VerifyError: (class: net/sf/jasperreports/engine/xml/JRXmlDigesterFactory, method: configureDigester signature: (Lorg/apache/commons/digester/Digester;)V) Incompatible argument to function
         net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:202)
         net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:195)
         com.iflex.poc.reports.ReportManager.generateReport(ReportManager.java:25)
         com.iflex.poc.reports.ReportServlet.doGet(ReportServlet.java:15)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.16 logs.

  • OC4J and Handle.getEJBObject()

    Hi all,
    I am developing a Stateless session bean. I want to save its remote reference through a client so that I can call it later. The code is working fine in Websphere 6.0 but not in OC4J 10.1.3.
    The Client Code is:
    Hashtable env = new Hashtable();
    //Setting properties
    env.put(Context.INITIAL_CONTEXT_FACTORY, ctxFactory);
    env.put(Context.SECURITY_PRINCIPAL, security_principal);
    env.put(Context.SECURITY_CREDENTIALS, security_credentials);
    env.put(Context.PROVIDER_URL, serverURL);
    env.put(("dedicated.rmicontext","true");
    public void callEJB(boolean startWhile)
    InitialContext ic = new InitialContext (env);
    //Looking up Home Object
    SEJBRemoteHome homeObj =
    (SEJBRemoteHome)PortableRemoteObject.narrow (ic.lookup (SEJB_Bean),SEJBRemoteHome.class);
    SEJBRemote remObj = homeObj.create ();
    Handle EjbObjHandle = null;
    EJBObject eObj = null;
    if(startWhile)
    EjbObjHandle = remObj.getHandle();
    //Saving Ejb handle
    saveEjbObjHandle(EjbObjHandle);
    //Calling EJB method
    remObj.setPollProperty(startWhile);
    else
    //Getting Handle
    EjbObjHandle = getEjbObjHandle();
    EJBObject ejbObjRef = null;
    ejbObjRef = EjbObjHandle.getEJBObject();
    remObj = (SEJBRemote)PortableRemoteObject.narrow
    (ejbObjRef,SEJBRemote.class);
    remObj.setPollProperty(startWhile);
    ejbObjRef.remove();
    }//methos to save Handle
    public void saveEjbObjHandle(Handle o)
    try {
    ObjectOutputStream objOut = new ObjectOutputStream(new
    FileOutputStream(EJBObjPath ));
    objOut.writeObject(o);
    objOut.close();
    catch (Exception e)
    e.printStackTrace();
    //method to Get handle
    public Handle getEjbObjHandle ( )
    Handle pHandleIn=null;
    try {
    ObjectInputStream objIn = new ObjectInputStream(new
    FileInputStream(EJBObjPath));
    pHandleIn = (Handle)objIn.readObject( );
    objIn.close();
    catch (Exception e)
    e.printStackTrace();
    return pHandleIn;
    Error Msg:
    oracle.oc4j.rmi.OracleRemoteException: Error looking up EJBHome at location 'SEJB_Bean'
    at com.evermind.server.ejb.StatelessSessionHandle.getEJBObject(StatelessSessionHandle.java:42)
    at com.iflex.fcubs.ssiadservices.ejb.SSIADEJBClient.callEJB(SEJBClient.java:209)
    at com.iflex.fcubs.ssiadservices.ejb.SEJBClient.main(SEJBClient.java:361)
    Nested exception is:
    javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
    at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:284)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at com.evermind.server.ejb.StatelessSessionHandle.getEJBObject(StatelessSessionHandle.java:31)
    at com.iflex.fcubs.ssiadservices.ejb.SEJBClient.callEJB(SEJBClient.java:209)
    at com.iflex.fcubs.ssiadservices.ejb.SEJBClient.main(SEJBClient.java:361)
    I am getting this error while I am trying to executing else part. For if part it is initiating ejb and calling successfully the ejb method.
    Can anyone explain this to me....and solve my problem. Am I violating any rule of OC4J or J2EE. I am trying to solve this error for past 3 weeks.....but unable to solve.
    Any help will be appriciated.
    Thanks....

    Hi,
    Thank you for your reply, mean while I found this but got the error I mentioned in :]
    How to start servers after reboot ?
    Any idea ?

  • Foreign JMS server connection issue.

    Hi All,
    We are migrating a JMS application from websphere 6.1 to weblogic 10.3. The message queue resides in a TIBCO EMS server.
    We are trying to configure the foreign JMS server through JMS Module in the admin console. We are getting the following error will deploying the application.
    +<May 4, 2009 12:32:52 AM PDT> <Warning> <EJB> <BEA-010061> <The Message-Driven EJB: TxnMessageSubscriber is unable to connect to the JMS destination: weblogic.bbmdb-txn.jms/system+
    module-0-jms.xml. The Error was:
    Can not get distribute destination information. The destination JNDI name is weblogic.bbmdb-txn.jms/systemmodule-0-jms.xml, the provider URL is null>
    we have provided the connection URL in "JNDI Connection URL" column in the foreign server setup page.
    Is there any other thing that need to be configured?

    I m facing the same problem, we are using Weblogic Server 10.3.
    We have defined a cluster on one Weblogic server and have created one managed server in the cluster machine and the other managed server in another machine.
    We are using Foreign JMS and I m getting the error as follow:
    ####<Jun 19, 2009 3:30:53 PM IST> <Warning> <EJB> <iflexpkw513> <Managed1> <[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1245405653881> <BEA-010061> <The Message-Driven EJB: TestJMSALSB is unable to connect to the JMS destination: fcssi/FCSSI. The Error was:
    Can not get distribute destination information. The destination JNDI name is fcssi/FCSSI, the provider URL is null>
    Not able to understand what is the problem here...
    ejb-jar.xml :
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar id="ejb-jar_ID">
    <enterprise-beans>
    <message-driven>
    <ejb-name>TestJMSALSB</ejb-name>
    <ejb-class>samplemdb.TestJMSALSB</ejb-class>
    <transaction-type>Container</transaction-type>
    <message-driven-destination id="MessageDrivenDestination_1169302343246">
         <destination-type>javax.jms.Queue</destination-type>
    </message-driven-destination>
    </message-driven>
    </enterprise-beans>
    </ejb-jar>
    weblogic-ejb-jar.xml :
    <?xml version="1.0" encoding="UTF-8"?>
    <weblogic-ejb-jar
    xmlns="http://www.bea.com/ns/weblogic/90" xmlns:j2ee="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-ejb-jar.xsd">
    <weblogic-enterprise-bean>
    <ejb-name>TestJMSALSB</ejb-name>
    <message-driven-descriptor>
    <destination-jndi-name>fcssi/FCSSI</destination-jndi-name>
    <connection-factory-jndi-name>iflex/fcssiQCF</connection-factory-jndi-name>
    </message-driven-descriptor>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    Can anyone provide some help on this.....

  • Apple keyboard and Windows XP

    I am using a Mac Mini (Mac OS 10.4.6) with a KVM switching to a Windows XP (sp2) machine.
    How can I get the # symbol to appear using an Apple UK format keyboard when using Windows?
    I have sorted out the @ and " key problem using a small file from www.parkernet.com/applepro/
    But I can't figure the # key.
    It does appear if I press the +/- key under the esc key twice, however it produces two (##) not one symbol. It does not produce any symbol if pressed once, but seems to produces other symbols if pressed before other key strokes.
    Many thanks
    Mac Mini   Mac OS X (10.4.6)  

    Jrsy Man,
    Myny thanks, iFlex is right the Option + 3 key stroke does not work under XP.
    I can work round it but that is annoying, I'd like to solve it.
    Does any one else kave any thoughts?
    Kevin

  • Can Siebel 8 be used as a Internet Banking solution?

    Siebel use to offer Retail Finance product till Aug 08 at least. Now they have stopped selling it as they have accquired iFlex. But nothing has changed in Siebel to suggest that it doesnt not support IB any more

    Check this one:
    [http://www.slideshare.net/ddragane/accelerating-business-crm-in-retail-corporate-financial-services-daniel-burian]
    Hope it helps! :)

  • OFSAAI - Is there a 32b libcpptripledes.so?

    Is there a 32b libcpptripledes.so?
    Downloaded OFSAAI for Linux x86 from edelivery -
    ./Setup.sh GUI does not work
    ./Setup.sh SELIENT completed, but ./reveleusstartup.sh cannot start --
    [UMMLOG] Nov 25,10 18:17:07 : [SMSSERVICEPROVIDER]Error occurred while updating User password in Passowrd validation method
    [UMMLOG] Nov 25,10 18:17:07 : [SMSSERVICEPROVIDER]Exception
    java.lang.Exception: [TripleDES] cpptripledes Library not loaded, reason : xxx/ficapp/common/FICServer/lib/libcpptripledes.so: xxx/ficapp/common/FICServer/lib/libcpptripledes.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
         at com.iflex.fic.util.ClsUCntSecUtilFuncs.encrypt(ClsUCntSecUtilFuncs.java:53)
         at com.iflex.fic.ficserver.services.sms.SMSServiceProvider.validatePassword(SMSServiceProvider.java:1570)
         at com.iflex.fic.ficserver.services.sms.SMSServiceProvider.createSecurityFile(SMSServiceProvider.java:1422)
         at com.iflex.fic.ficserver.services.sms.SMSServiceProvider.startUp(SMSServiceProvider.java:378)
         at com.iflex.fic.newservice.DynamicServicePool.initializeService(DynamicServicePool.java:118)
         at com.iflex.fic.newservice.ServiceProxy.initializeService(ServiceProxy.java:85)
         at com.iflex.fic.newservice.NewServiceMaster.initializeServices(NewServiceMaster.java:122)
         at com.iflex.fic.newservice.NewServiceMaster.init(NewServiceMaster.java:83)
         at com.iflex.fic.newservice.DynamicServiceManager.initializeServiceMaster(DynamicServiceManager.java:228)
         at com.iflex.fic.ficserver.FICServer.initialize(FICServer.java:277)
         at com.iflex.fic.ficserver.FICServer.<init>(FICServer.java:245)
         at com.iflex.fic.ficserver.FICServer.main(FICServer.java:178)

    Hallo,
    I think that you should look at other ways of solving your problem. At the JVM process level, you will only see the Java byte code being executed. You seem to want something that understands your application. Perhaps you should consider building more logging into your program (and no cryptic logging !!). You could also try capturing all the input from your user, by perhaps logging all the events that go through your event listeners.
    There is also another way - it is perhaps a bit way out - you could consider writing your own debug-dll for Java, using the Java debugging interface. In this way you could (perhaps, I have not tried it myself) capture the information you are looking for and relate it to your source code.
    David Singleton

Maybe you are looking for