Applet code running error

I tried writting code using Applet. When I complie all my program, I get error message as
Error: SlideShow.java uses or overrides a deprecated API.
Note- Re-complie for deprecation for detail.
Please anyone could help me to sort out why I get error when I run my pgm?

1.) It's a warning, not an error.
2.) You don't get this error when running, but when compiling.
3.) You can get more information about the problem if you compile using the -deprecation switch: javac -deprecation MyClass.java

Similar Messages

  • Applet not running(Error:error reading applets)

    i write a very simple applet .it succesfully compile but on running thru command prompt(windowsxp) it gives error error reading applets

    The first advice given was the best advice you will get at this stage.
    OTOH, the problem might be that the compilation options used on Windows were for a 1.6+ JRE, whereas the Mac is running a 1.5 JRE.
    If that is the case, the relevant questions become..
    How do you compile the applet (e.g. IDE, IDE with Ant build script, command line..)?
    What SDK version are you using?
    What compilation options are used (the important ones here are -source -target and -bootclasspath )?
    What [java version|http://pscode.org/prop/?prop=java.version] is the Mac using?
    Also note that many things* can be determined if you provide an URL to the applet.
    * Especially if someone has a Mac and can report the error.

  • DAC Workflow run error code: [36331]

    Dear all ,
    I want to Integrate OBIEE with Oracle R12.1.1
    Initially I have defined new container & Phyiscal Data Sources in DAC
    Datawarehouse Test Connection Successful
    ORA_R1211 Test Connection Successful
    FlatFile Connection ?
    After that I created new Plan & generate the parameter and also built it successfully but when I run that execution plan it give error.
    Please any one can help me regarding this issue.
    also provide me step by step document to integrate OBIEE with Oracle R12.1.1
    Regards,
    Yasir

    Kindly See the log of last ETL run........
    494 SEVERE Wed Dec 08 18:11:04 GMT+05:00 2010
    START OF ETL
    495 SEVERE Wed Dec 08 18:11:45 GMT+05:00 2010 Starting ETL Process.
    496 SEVERE Wed Dec 08 18:11:50 GMT+05:00 2010 Request to start workflow : 'SILOS:SIL_Parameters_Update' has completed with error code 0
    497 SEVERE Wed Dec 08 18:12:12 GMT+05:00 2010 pmcmd startworkflow -sv Oracle_BI_DW_Base_Intergration_Service -d Domain_srv-007 -u Administrator -p **** -f SILOS -lpf F:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211.DataWarehouse.SILOS.SIL_Parameters_Update.txt SIL_Parameters_Update
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    498 SEVERE Wed Dec 08 18:12:22 GMT+05:00 2010 Request to start workflow : 'SILOS:SIL_InsertRowInRunTable' has completed with error code 0
    499 SEVERE Wed Dec 08 18:12:44 GMT+05:00 2010 pmcmd startworkflow -sv Oracle_BI_DW_Base_Intergration_Service -d Domain_srv-007 -u Administrator -p **** -f SILOS -lpf F:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211_Flatfile.DataWarehouse.SILOS.SIL_InsertRowInRunTable.txt SIL_InsertRowInRunTable
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    500 SEVERE Wed Dec 08 18:13:04 GMT+05:00 2010 Request to start workflow : 'SILOS:SIL_GlobalCurrencyGeneral_Update' has completed with error code 0
    501 SEVERE Wed Dec 08 18:13:12 GMT+05:00 2010 Request to start workflow : 'SDE_ORAR1211_Adaptor:SDE_ORA_Stage_GLAccountDimension_FinSubCodes' has completed with error code 0
    502 SEVERE Wed Dec 08 18:13:12 GMT+05:00 2010 Request to start workflow : 'SDE_ORAR1211_Adaptor:SDE_ORA_Stage_GroupAccountNumberDimension' has completed with error code 0
    503 SEVERE Wed Dec 08 18:13:12 GMT+05:00 2010 Request to start workflow : 'SDE_ORAR1211_Adaptor:SDE_ORA_LocalCurrency_Temporary' has completed with error code 0
    504 SEVERE Wed Dec 08 18:13:13 GMT+05:00 2010 Request to start workflow : 'SILOS:SIL_Stage_GroupAccountNumberDimension_FinStatementItem' has completed with error code 0
    505 SEVERE Wed Dec 08 18:13:13 GMT+05:00 2010 Request to start workflow : 'SDE_ORAR1211_Adaptor:SDE_ORA_GLJournals_Full' has completed with error code 0
    506 SEVERE Wed Dec 08 18:13:13 GMT+05:00 2010 Request to start workflow : 'SDE_ORAR1211_Adaptor:SDE_ORA_InternalOrganizationDimension_BalanceSegmentValue_LegalEntity' has completed with error code 0
    507 SEVERE Wed Dec 08 18:13:15 GMT+05:00 2010 Request to start workflow : 'SDE_ORAR1211_Adaptor:SDE_ORA_Stage_ValueSetHier_Extract_Full' has completed with error code 0
    508 SEVERE Wed Dec 08 18:13:15 GMT+05:00 2010 Request to start workflow : 'SILOS:SIL_ListOfValuesGeneral_Unspecified' has completed with error code 0
    509 SEVERE Wed Dec 08 18:13:18 GMT+05:00 2010 Request to start workflow : 'SDE_ORAR1211_Adaptor:SDE_ORA_ExchangeRateGeneral_Full' has completed with error code 0
    510 SEVERE Wed Dec 08 18:13:41 GMT+05:00 2010 pmcmd startworkflow -sv Oracle_BI_DW_Base_Intergration_Service -d Domain_srv-007 -u Administrator -p **** -f SDE_ORAR1211_Adaptor -lpf F:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211_Flatfile.DataWarehouse.SDE_ORAR1211_Adaptor.SDE_ORA_Stage_GroupAccountNumberDimension.txt SDE_ORA_Stage_GroupAccountNumberDimension
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    511 SEVERE Wed Dec 08 18:13:41 GMT+05:00 2010 pmcmd startworkflow -sv Oracle_BI_DW_Base_Intergration_Service -d Domain_srv-007 -u Administrator -p **** -f SILOS -lpf F:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211_Flatfile.DataWarehouse.SILOS.SIL_Stage_GroupAccountNumberDimension_FinStatementItem.txt SIL_Stage_GroupAccountNumberDimension_FinStatementItem
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    512 SEVERE Wed Dec 08 18:14:18 GMT+05:00 2010 pmcmd startworkflow -sv Oracle_BI_DW_Base_Intergration_Service -d Domain_srv-007 -u Administrator -p **** -f SDE_ORAR1211_Adaptor -lpf F:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211.DataWarehouse.SDE_ORAR1211_Adaptor.SDE_ORA_InternalOrganizationDimension_BalanceSegmentValue_LegalEntity.txt SDE_ORA_InternalOrganizationDimension_BalanceSegmentValue_LegalEntity
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    513 SEVERE Wed Dec 08 18:14:18 GMT+05:00 2010 Request to start workflow : 'SILOS:SIL_CurrencyTypes' has completed with error code 0
    514 SEVERE Wed Dec 08 18:14:18 GMT+05:00 2010 Request to start workflow : 'SDE_ORAR1211_Adaptor:SDE_ORA_Stage_GLAccount_SegmentConfig_Extract' has completed with error code 0
    515 SEVERE Wed Dec 08 18:14:23 GMT+05:00 2010 pmcmd startworkflow -sv Oracle_BI_DW_Base_Intergration_Service -d Domain_srv-007 -u Administrator -p **** -f SILOS -lpf F:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211.DataWarehouse.SILOS.SIL_GlobalCurrencyGeneral_Update.txt SIL_GlobalCurrencyGeneral_Update
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    516 SEVERE Wed Dec 08 18:14:30 GMT+05:00 2010 pmcmd startworkflow -sv Oracle_BI_DW_Base_Intergration_Service -d Domain_srv-007 -u Administrator -p **** -f SDE_ORAR1211_Adaptor -lpf F:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211.DataWarehouse.SDE_ORAR1211_Adaptor.SDE_ORA_LocalCurrency_Temporary.txt SDE_ORA_LocalCurrency_Temporary
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    517 SEVERE Wed Dec 08 18:14:34 GMT+05:00 2010 pmcmd startworkflow -sv Oracle_BI_DW_Base_Intergration_Service -d Domain_srv-007 -u Administrator -p **** -f SDE_ORAR1211_Adaptor -lpf F:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211_Flatfile.DataWarehouse.SDE_ORAR1211_Adaptor.SDE_ORA_Stage_GLAccountDimension_FinSubCodes.txt SDE_ORA_Stage_GLAccountDimension_FinSubCodes
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    518 SEVERE Wed Dec 08 18:14:38 GMT+05:00 2010 pmcmd startworkflow -sv Oracle_BI_DW_Base_Intergration_Service -d Domain_srv-007 -u Administrator -p **** -f SDE_ORAR1211_Adaptor -lpf F:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211.DataWarehouse.SDE_ORAR1211_Adaptor.SDE_ORA_Stage_ValueSetHier_Extract_Full.txt SDE_ORA_Stage_ValueSetHier_Extract_Full
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    519 SEVERE Wed Dec 08 18:14:42 GMT+05:00 2010 pmcmd startworkflow -sv Oracle_BI_DW_Base_Intergration_Service -d Domain_srv-007 -u Administrator -p **** -f SILOS -lpf F:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211_Flatfile.DataWarehouse.SILOS.SIL_ListOfValuesGeneral_Unspecified.txt SIL_ListOfValuesGeneral_Unspecified
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    520 SEVERE Wed Dec 08 18:14:43 GMT+05:00 2010 Request to start workflow : 'SDE_ORAR1211_Adaptor:SDE_ORA_Stage_ValueSet_Extract' has completed with error code 0
    521 SEVERE Wed Dec 08 18:14:49 GMT+05:00 2010 pmcmd startworkflow -sv Oracle_BI_DW_Base_Intergration_Service -d Domain_srv-007 -u Administrator -p **** -f SDE_ORAR1211_Adaptor -lpf F:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211.DataWarehouse.SDE_ORAR1211_Adaptor.SDE_ORA_ExchangeRateGeneral_Full.txt SDE_ORA_ExchangeRateGeneral_Full
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    522 SEVERE Wed Dec 08 18:14:58 GMT+05:00 2010 Request to start workflow : 'SDE_ORAR1211_Adaptor:SDE_ORA_GLSegmentDimension_Full' has completed with error code 0
    523 SEVERE Wed Dec 08 18:15:05 GMT+05:00 2010 Request to start workflow : 'SDE_ORAR1211_Adaptor:SDE_ORA_InternalOrganizationDimensionHierarchy_HROrgsTemporary_LatestVersion' has completed with error code 0
    524 SEVERE Wed Dec 08 18:15:10 GMT+05:00 2010 Request to start workflow : 'SDE_ORAR1211_Adaptor:SDE_ORA_Stage_ValueSetHier_Flatten' has completed with error code 0
    525 SEVERE Wed Dec 08 18:15:10 GMT+05:00 2010 Request to start workflow : 'SDE_ORAR1211_Adaptor:SDE_ORA_GL_AR_REV_LinkageInformation_Extract_Full' has completed with error code 0
    526 SEVERE Wed Dec 08 18:15:17 GMT+05:00 2010 Request to start workflow : 'SILOS:SIL_TimeOfDayDimension' has completed with error code 0
    527 SEVERE Wed Dec 08 18:16:04 GMT+05:00 2010 pmcmd startworkflow -sv Oracle_BI_DW_Base_Intergration_Service -d Domain_srv-007 -u Administrator -p **** -f SDE_ORAR1211_Adaptor -lpf F:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211.DataWarehouse.SDE_ORAR1211_Adaptor.SDE_ORA_Stage_ValueSet_Extract.txt SDE_ORA_Stage_ValueSet_Extract
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    528 SEVERE Wed Dec 08 18:16:16 GMT+05:00 2010 pmcmd startworkflow -sv Oracle_BI_DW_Base_Intergration_Service -d Domain_srv-007 -u Administrator -p **** -f SDE_ORAR1211_Adaptor -lpf F:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211_Flatfile.DataWarehouse.SDE_ORAR1211_Adaptor.SDE_ORA_Stage_GLAccount_SegmentConfig_Extract.txt SDE_ORA_Stage_GLAccount_SegmentConfig_Extract
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    529 SEVERE Wed Dec 08 18:16:17 GMT+05:00 2010 pmcmd startworkflow -sv Oracle_BI_DW_Base_Intergration_Service -d Domain_srv-007 -u Administrator -p **** -f SILOS -lpf F:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211_Flatfile.DataWarehouse.SILOS.SIL_CurrencyTypes.txt SIL_CurrencyTypes
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    530 SEVERE Wed Dec 08 18:16:25 GMT+05:00 2010 pmcmd startworkflow -sv Oracle_BI_DW_Base_Intergration_Service -d Domain_srv-007 -u Administrator -p **** -f SDE_ORAR1211_Adaptor -lpf F:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211.DataWarehouse.SDE_ORAR1211_Adaptor.SDE_ORA_GLSegmentDimension_Full.txt SDE_ORA_GLSegmentDimension_Full
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    531 SEVERE Wed Dec 08 18:16:28 GMT+05:00 2010 pmcmd startworkflow -sv Oracle_BI_DW_Base_Intergration_Service -d Domain_srv-007 -u Administrator -p **** -f SDE_ORAR1211_Adaptor -lpf F:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211.DataWarehouse.SDE_ORAR1211_Adaptor.SDE_ORA_InternalOrganizationDimensionHierarchy_HROrgsTemporary_LatestVersion.txt SDE_ORA_InternalOrganizationDimensionHierarchy_HROrgsTemporary_LatestVersion
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    532 SEVERE Wed Dec 08 18:16:57 GMT+05:00 2010 pmcmd startworkflow -sv Oracle_BI_DW_Base_Intergration_Service -d Domain_srv-007 -u Administrator -p **** -f SDE_ORAR1211_Adaptor -lpf F:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\DataWarehouse.DataWarehouse.SDE_ORAR1211_Adaptor.SDE_ORA_Stage_ValueSetHier_Flatten.txt SDE_ORA_Stage_ValueSetHier_Flatten
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    533 SEVERE Wed Dec 08 18:17:22 GMT+05:00 2010 Request to start workflow : 'SDE_ORAR1211_Adaptor:SDE_ORA_Stage_ValueSetHier_DeriveRange' has completed with error code 0
    534 SEVERE Wed Dec 08 18:17:31 GMT+05:00 2010 pmcmd startworkflow -sv Oracle_BI_DW_Base_Intergration_Service -d Domain_srv-007 -u Administrator -p **** -f SILOS -lpf F:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211_Flatfile.DataWarehouse.SILOS.SIL_TimeOfDayDimension.txt SIL_TimeOfDayDimension
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    535 SEVERE Wed Dec 08 18:17:58 GMT+05:00 2010 Request to start workflow : 'SILOS:SIL_HourOfDayDimension' has completed with error code 0
    536 SEVERE Wed Dec 08 18:18:21 GMT+05:00 2010 pmcmd startworkflow -sv Oracle_BI_DW_Base_Intergration_Service -d Domain_srv-007 -u Administrator -p **** -f SILOS -lpf F:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\DataWarehouse.DataWarehouse.SILOS.SIL_HourOfDayDimension.txt SIL_HourOfDayDimension
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    537 SEVERE Wed Dec 08 18:21:36 GMT+05:00 2010 pmcmd startworkflow -sv Oracle_BI_DW_Base_Intergration_Service -d Domain_srv-007 -u Administrator -p **** -f SDE_ORAR1211_Adaptor -lpf F:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211.DataWarehouse.SDE_ORAR1211_Adaptor.SDE_ORA_GLJournals_Full.txt SDE_ORA_GLJournals_Full
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    538 SEVERE Wed Dec 08 18:22:12 GMT+05:00 2010 Request to start workflow : 'SDE_ORAR1211_Adaptor:SDE_ORA_PartyContactStaging_Full' has completed with error code 0
    539 SEVERE Wed Dec 08 18:22:14 GMT+05:00 2010 Request to start workflow : 'SDE_ORAR1211_Adaptor:SDE_ORA_CodeDimension_Payterm_Ap' has completed with error code 0
    540 SEVERE Wed Dec 08 18:22:14 GMT+05:00 2010 Request to start workflow : 'SDE_ORAR1211_Adaptor:SDE_ORA_CodeDimension_Bank_Branch_Name' has completed with error code 0
    541 SEVERE Wed Dec 08 18:22:15 GMT+05:00 2010 Request to start workflow : 'SDE_ORAR1211_Adaptor:SDE_ORA_CodeDimension_Cust_Class' has completed with error code 0
    542 SEVERE Wed Dec 08 18:22:15 GMT+05:00 2010 Request to start workflow : 'SDE_ORAR1211_Adaptor:SDE_ORA_CodeDimension_Uom_Code' has completed with error code 0
    543 SEVERE Wed Dec 08 18:22:16 GMT+05:00 2010 Request to start workflow : 'SDE_ORAR1211_Adaptor:SDE_ORA_CodeDimension_CostCenter' has completed with error code 0
    544 SEVERE Wed Dec 08 18:22:16 GMT+05:00 2010 Request to start workflow : 'SDE_ORAR1211_Adaptor:SDE_ORA_UserDimension_Full' has completed with error code 0
    545 SEVERE Wed Dec 08 18:22:27 GMT+05:00 2010 Request to start workflow : 'SDE_ORAR1211_Adaptor:SDE_ORA_CodeDimension_Supplier_Payment_Method' has completed with error code 0
    546 SEVERE Wed Dec 08 18:23:46 GMT+05:00 2010 Error while contacting Informatica server for getting workflow status for SDE_ORA_CodeDimension_Payterm_Ap
    Error Code = 36331:Unknown reason for error code 36331
    Pmcmd output :
    =====================================
    STD OUTPUT
    =====================================
    Informatica(r) PMCMD, version [8.6.1 HotFix11], build [457.0505], Windows 32-bit
    Copyright (c) Informatica Corporation 1994 - 2010
    All Rights Reserved.
    Invoked at Wed Dec 08 18:23:43 2010
    Connected to Integration Service: [Oracle_BI_DW_Base_Intergration_Service].
    Integration Service status: [Running]
    Integration Service startup time: [Wed Dec 08 17:05:35 2010]
    Integration Service current time: [Wed Dec 08 18:23:46 2010]
    Folder: [SDE_ORAR1211_Adaptor]
    Workflow: [SDE_ORA_CodeDimension_Payterm_Ap] version [1].
    Workflow run status: [Failed]
    Workflow run error code: [36331]
    Workflow run error message: [WARNING: Session task instance [SDE_ORA_CodeDimension_Payterm_Ap] failed and its "fail parent if this task fails" setting is turned on. So, Workflow [SDE_ORA_CodeDimension_Payterm_Ap] will be failed.]
    Workflow run id [103].
    Start time: [Wed Dec 08 18:22:13 2010]
    End time: [Wed Dec 08 18:23:38 2010]
    Workflow log file: [F:\Informatica\PowerCenter8.6.1\server\infa_shared\WorkflowLogs\SDE_ORA_CodeDimension_Payterm_Ap.log]
    Workflow run type: [User request]
    Run workflow as user: [Administrator]
    Run workflow with Impersonated OSProfile in domain: []
    Integration Service: [Oracle_BI_DW_Base_Intergration_Service]
    Disconnecting from Integration Service
    Completed at Wed Dec 08 18:23:46 2010
    =====================================
    ERROR OUTPUT
    =====================================
    547 SEVERE Wed Dec 08 18:23:46 GMT+05:00 2010 Could not attach to workflow because of errorCode 36331 For workflow SDE_ORA_CodeDimension_Payterm_Ap
    548 SEVERE Wed Dec 08 18:23:46 GMT+05:00 2010
    ANOMALY INFO::: Error while executing : INFORMATICA TASK:SDE_ORAR1211_Adaptor:SDE_ORA_CodeDimension_Payterm_Ap:(Source : FULL Target : FULL)
    MESSAGE:::
    Irrecoverable Error
    Error while contacting Informatica server for getting workflow status for SDE_ORA_CodeDimension_Payterm_Ap
    Error Code = 36331:Unknown reason for error code 36331
    Pmcmd output :
    =====================================
    com.siebel.analytics.etl.etltask.GenericTaskImpl.doExecuteWithRetries(GenericTaskImpl.java:469)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:306)
    com.siebel.etl.engine.core.Session.executeTasks(Session.java:2697)
    com.siebel.etl.engine.core.Session.run(Session.java:3246)
    java.lang.Thread.run(Thread.java:619)
    ::: CAUSE :::
    MESSAGE:::Execution of child batch Informatica Session Batch failed.
    EXCEPTION CLASS::: com.siebel.analytics.etl.etltask.FailedTaskException
    com.siebel.analytics.etl.etltask.ParallelTaskBatch.doExecuteNormal(ParallelTaskBatch.java:340)
    com.siebel.analytics.etl.etltask.ParallelTaskBatch.doExecute(ParallelTaskBatch.java:164)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.doExecuteWithRetries(GenericTaskImpl.java:410)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:306)
    com.siebel.etl.engine.core.Session.executeTasks(Session.java:2697)
    com.siebel.etl.engine.core.Session.run(Session.java:3246)
    java.lang.Thread.run(Thread.java:619)
    954 SEVERE Wed Dec 08 18:31:34 GMT+05:00 2010 pmcmd startworkflow -sv Oracle_BI_DW_Base_Intergration_Service -d Domain_srv-007 -u Administrator -p **** -f SDE_ORAR1211_Adaptor -lpf F:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\DataWarehouse.DataWarehouse.SDE_ORAR1211_Adaptor.SDE_ORA_Stage_ValueSetHier_DeriveRange.txt SDE_ORA_Stage_ValueSetHier_DeriveRange
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    955 SEVERE Wed Dec 08 18:32:25 GMT+05:00 2010 pmcmd startworkflow -sv Oracle_BI_DW_Base_Intergration_Service -d Domain_srv-007 -u Administrator -p **** -f SILOS -lpf F:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\DataWarehouse.DataWarehouse.SILOS.SIL_GLLinkageInformationGeneral_Full.txt SIL_GLLinkageInformationGeneral_Full
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    956 SEVERE Wed Dec 08 18:32:43 GMT+05:00 2010 ETL seems to have completed. Invoking shut down dispatcher after the notification from the last running task.
    957 SEVERE Wed Dec 08 18:32:43 GMT+05:00 2010 Finishing ETL Process.
    958 SEVERE Wed Dec 08 18:32:43 GMT+05:00 2010 MESSAGE:::Some steps failed.
    EXCEPTION CLASS::: com.siebel.etl.engine.bore.SomeSessionsFailedException
    com.siebel.etl.engine.bore.NewDispatcher.execute(NewDispatcher.java:302)
    com.siebel.etl.engine.bore.NewDispatcher.run(NewDispatcher.java:121)
    java.lang.Thread.run(Thread.java:619)
    959 SEVERE Wed Dec 08 18:32:43 GMT+05:00 2010 Dispatcher thread completed.
    960 SEVERE Wed Dec 08 18:32:43 GMT+05:00 2010 Number of incomplete tasks whose status got updated to stopped :0
    Number of incomplete task details whose status got updated to stopped :2630
    961 SEVERE Wed Dec 08 18:32:43 GMT+05:00 2010
    *     CLOSING THE CONNECTION POOL DataWarehouse
    962 SEVERE Wed Dec 08 18:32:43 GMT+05:00 2010
    *     CLOSING THE CONNECTION POOL ORA_R1211
    963 SEVERE Wed Dec 08 18:32:43 GMT+05:00 2010
    END OF ETL
    --------------------------------------------

  • Sign the Applet code using pfx certificate got Error?

    I use my existing certificate (.pfx) to sign my applet code as follows (without any key gen. before, directly sign by this certificate)
    jarsigner -storetype pkcs12 -keystore C:\mycert.pfx AppletCode.jar keyEntries
    Although the code can be signed, when i view this page, it prompts me "Certificate not verified" and with error:
    java.security.cert.CertificateException: Check leaf key usage failed in certificate.
    What is wrong? Any body can help me?
    * I try to geneate the self-certificate by keytool to sign my code, it can be viewed properly.

    1) Check if your .pfx certificate has the following purposes (read it using the venerable Internet Explorer):
    Ensures software came from software publisher
    Protects software from alteration after publication
    2) Put your certificate in the cacerts file

  • Device not detected My iphone is not dedtedcted by the computer. I am having Windows 7.Windows has stopped this device because it has reported problems. (Code 43) Error code no 43 is shown. I tried to fix it by running fix it porg in  Micro soft tech net.

    Device not detected
    My iphone is not dedtedcted by the computer. I am having Windows 7.Windows has stopped this device because it has reported problems. (Code 43) Error code no 43 is shown. I tried to fix it by running fix it porg in  Micro soft tech net. Still the problem has not been solved

    Folling this article step by step: http://support.apple.com/kb/ht1923 is the last thing I can think of, or try to create another user account/try on another computer....
    Sorry for the multiple posts

  • I believe I have implemented it correctly but I am not receiving the notifications on my phone. I have an ad hoc provisioning profile set up.  I have the device token from the phone through NSLOG to console. I have the dot net code running without errors.

    I believe I have implemented it correctly but I am not receiving the notifications on my phone. I have an ad hoc provisioning profile set up.  I have the device token from the phone through NSLOG to console. I have the dot net code running without errors.The notifications just don’t appear.
    Any ideas where I am going wrong?

    IMAP account access by itself does not provide for syncing contacts, calendar events, and notes or anything over the air. This is possible with an Exchange account accessed via ActiveSync with the Exchange Server.
    If your company email account is an Exchange Account, your company's IT Dept. has enabled IMAP account access for your Exchange account on the Exchange server?
    If an Exchange account, the IT Dept. must have ActiveSync enabled for your account on the Exchange Server to create and access the account as an Exchange account which provides Push access for received messages, and over the air syncing for contacts and calendar events with the Exchange Server.

  • I'm crazy!Applet and JNA Error:Library 'jnidispatch' was not found!

    Hi all,
    sorry to bother you, I really have no idea how to do JNA and Applet. I'm hardly mazy, man.
    Every time it will throw an error to me :
    Exception in thread "thread applet-JNAApplet-1" java.lang.UnsatisfiedLinkError: Library 'jnidispatch' was not found by class loader sun.plugin2.applet.JNLP2ClassLoader@291aff
         at com.sun.jna.Native.getWebStartLibraryPath(Native.java:858)
         at com.sun.jna.NativeLibrary.<clinit>(NativeLibrary.java:576)
         at com.sun.jna.Library$Handler.<init>(Library.java:140)
         at com.sun.jna.Native.loadLibrary(Native.java:372)
         at com.sun.jna.Native.loadLibrary(Native.java:357)
         at JNAApplet.init(JNAApplet.java:15)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)My program is so easy, I just want use Applet to revoke JNA and use the JNA to load a native lib.
    here is the structure of my program:
    Applet code :
    import javax.swing.JApplet;
    import javax.swing.JButton;
    import javax.swing.JPanel;
    import com.sun.jna.Native;
    public class JNAApplet extends JApplet {
         public static Kernel32 kernel32 = null;
         @Override
         public void init() {
              createGUI();
              kernel32 = (Kernel32)Native.loadLibrary("Kernel32", Kernel32.class);
              if (kernel32 == null) {
                   System.out.println("load kernel32 fail!");
              } else {
                   System.out.println("load kernel32 success!");
         private void createGUI() {
              JPanel panelCenter = new JPanel();
              JButton butTest = new JButton("Test");
              panelCenter.add(butTest);
              setContentPane(panelCenter);
    }When I run it on debug mode, it is ok! but when I deploy it , it will throw above error message to me.
    My Applet html:
    <html>
         <head>
              <title>JNA Applet</title>
         </head>
         <body>
         <script src="deployJava.js"></script>
        <script>
            var attributes = { code:'JNAApplet',  width:300, height:300} ;
            var parameters = {jnlp_href: 'JNAApplet.jnlp'} ;
            deployJava.runApplet(attributes, parameters, '1.5');
        </script>
         </body>
    </html>File 'JNAApplet.jnlp':
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="" href="">
        <information>
            <title>JNA Applet</title>
            <vendor>Steven</vendor>
        </information>
        <resources>
            <j2se version="1.5+"
                  href="http://java.sun.com/products/autodl/j2se" />
            <jar href="JNAApplet.jar" main="true" />
        </resources>
        <applet-desc
             name="JNA Applet"
             main-class="JNAApplet"
             width="300"
             height="300">
         </applet-desc>
         <update check="background"/>
    </jnlp>     I really have no idea. and I can't search any usefull infomation from Google and officer site.
    Can any one help me? Thank you very much!!!!

    Hi AndrewThompson64:
    Did you mean the JNA project? Or are you refering to JNI, or ..something else?Yes, I mean is that I wanna jna.jar to replace JNI to code with Applet. I want Applet can run native library(.dll files).
    That reads like so much nonsense to me.Sorry fo that.
    Was there any 'caused by' part that you trimmed? I expected to see something to do with 'Security' or 'AccessControl'.Sorry, I can't saw any 'cause by' subsentence there. This message is just gain from Applet Console.(Is there any method to gain more message?)
    About 'Security' and 'AccessControl' I just modify my java.policy file to allpermission. Subsequently, I signed all jar files.
    For now I have 3 jar files(all have been signed ):
    --example.jar :  for this little program.(code include applet and application entry)
    --jna.jar
    --win32-x86.jar : include kernel32.dll and jnidispatch.dll for win32 and x86.
    and 2 JNLP files:
    --JNAApplet.jnlp the entry is JNAApplet.class (this jnlp does not work)
    --JNAApp.jnlp     the entry is JNAApp.class  (this jnlp works)
    And for now new error message show like this:
    Exception in thread "thread applet-JNAApplet-1" java.lang.UnsatisfiedLinkError: Library 'Kernel32' was not found by class loader sun.plugin2.applet.JNLP2ClassLoader@4aeb52
         at com.sun.jna.Native.getWebStartLibraryPath(Native.java:858)
         at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:97)
         at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:228)
         at com.sun.jna.Library$Handler.<init>(Library.java:140)
         at com.sun.jna.Native.loadLibrary(Native.java:372)
         at com.sun.jna.Native.loadLibrary(Native.java:357)
         at JNAApplet.init(JNAApplet.java:12)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Did you mean invoke?
    Revoke: To annul by withdrawing.
    Invoke: To call on.Yes, you got it. Thank you.
    The JNLP file is invalid. ..I was about to put my 'standard' text here, but I'm sick of saying it. Search the forum for my posts - 50% of them, at least, mention validation and how to go about it.
    Also, the applet-desc requires a documentbase.Thank you, I really think I have some invalid section. But I can't find it, and you said 'Search the forum for my posts - 50% of them...' , I can read the JNLP structure on site of sun and I can to read you post too(I'm doing like this).*I only want to know about how to load "native lib like *.dll" properly*.
    What 'officer site'?I mean jna project site. Sorry for ambiguity.
    Please fix that sticky '!' key. One '!' indicates astonishment, while two or more typically indicates a bozo. Thanks for your advice. Because I tried to find solution do my best lasting two days. I got nothing. I'm sadness.
    here post my new files:
    import javax.swing.JFrame;
    import com.sun.jna.Native;
    public class JNAApp {
         public static Kernel32 kernel32 = null;
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              kernel32 = (Kernel32)Native.loadLibrary("Kernel32", Kernel32.class);
              JFrame frame = new JFrame();
              frame.setSize(500, 500);
              frame.setVisible(true);
    import javax.swing.JApplet;
    import javax.swing.JButton;
    import javax.swing.JPanel;
    import com.sun.jna.Native;
    public class JNAApplet extends JApplet {
         public static Kernel32 kernel32 = null;
         public void init() {
              createGUI();
                   kernel32 = (Kernel32)Native.loadLibrary("Kernel32", Kernel32.class);
         private void createGUI() {
              JPanel panelCenter = new JPanel();
              JButton butTest = new JButton("Test");
              panelCenter.add(butTest);
              setContentPane(panelCenter);
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="" href="">
        <information>
            <title>JNA Applet</title>
            <vendor>Steven</vendor>
        </information>
        <resources>
            <j2se version="1.5+"
                  href="http://java.sun.com/products/autodl/j2se" />
             <jar href="JNAApplet.jar" main="true"/>
             <jar href="jna.jar"/>
        </resources>
           <resources os="Windows" arch="x86">
             <nativelib href="win32-x86.jar"/>
             <nativelib href="kernel32.jar"/>
           </resources>
        <applet-desc
             documentBase=""
                name = "success"
             main-class="JNAApplet" width = "200" height = "200">
         </applet-desc>
         <update check="background"/>
           <security>
             <all-permissions/>
           </security>
    </jnlp>     
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="" href="">
        <information>
            <title>JNA Applet</title>
            <vendor>Steven</vendor>
        </information>
        <resources>
            <j2se version="1.5+"
                  href="http://java.sun.com/products/autodl/j2se" />
             <jar href="JNAApplet.jar" main="true"/>
             <jar href="jna.jar"/>
        </resources>
           <resources os="Windows" arch="x86">
             <nativelib href="win32-x86.jar"/>
             <nativelib href="kernel32.jar"/>
           </resources>
        <application-desc
             main-class="JNAApp">
         </application-desc>
         <update check="background"/>
           <security>
             <all-permissions/>
           </security>
    </jnlp>     Thanks & Best Regards,
    Su Heng

  • Applet not running Jama Package.

    Hello! I am trying to create an applet which at some point should solve a linear system. I tried using the Jama Package. I have written a program which does exactly the same thing as the applet and everything works fine.However when i try to run the applet i get a "java.lang.NoClassDefFoundError : Jama / Matrix " error.
    In the applet code i have imported jama package. Any ideas what is wrong and the appletviewer cannot see the Jama.Matrix class?
    Thanx in advance for any answers...

    A description of the ERROR from the error's API:
    Thrown if the Java Virtual Machine or a ClassLoader instance tries to load in the definition of a class (as part of a normal method call or as part of creating a new instance using the new expression) and no definition of the class could be found.
    The searched-for class definition existed when the currently executing class was compiled, but the definition can no longer be found.
    Typically caused by your not making the class available - that is, it's not on your machine (or is, but in a location such that it can't be found.)
    Put a copy in the correct location.

  • What's wrong in my applet code?

    Hi!
    I' ve a big problem with my applet. It doesn't works with some pc. For example: two same operative systems, same browsers and versions; one of that display applet without problems. The other pc (even if a jre is manually installed) doesn't show the applet, and it doesn't show me any errors.
    The page who not show my applet, has this code (the applet code is commented!! Why???):
    <!-- ct classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width=770 height=313 codebase="/ols/html/plugin/jinstall-1_4_2-windows-i586.cab">
    <param name="codebase" value=".">
    <param name="archive" value="Esiti.jar">
    <param name="code" value="esiti.AppletNew.class">
    <param name="type" value="application/x-java-applet;jpi-version=1.4.2">
    <param name="scriptable" value="false">
    <param name="requestURL" value="http://[...........]">
    <param name="sid" value="2185266:0">
    <comment>
    <embed type="application/x-java-applet;jpi-version=1.4.2" codebase="." archive="Esiti.jar" code="esiti.AppletNew.class" width=770 height=313 scriptable="false" pluginspage="/ols/html/plugin/jinstall-1_4_2-windows-i586.cab" sid="2185266:0" requestURL="http://[....]">
    <noembed>
    No Java 2 SDK, Standard Edition v 1.4.1 support for APPLET!!
    </noembed>
    </embed>
    </comment>
    </obje-->
    Help me please!!!
    Thanks a lot, Francesca

    and it doesn't show me any errorsMore important: is the plugin that should run the applet started? In ie you can set security in such a way
    that active x controls are not started. You can install the jre but IE security will not allowe you to run it.
    Can you try to get a full trace from a machine where the applet doesn't run?
    To turn the full trace on you can start the java console, to be found here:
    C:\Program Files\Java\j2re1.4...\bin\jpicpl32.exe
    In the advanced tab you can fill in something for runtime parameters fill in this:
    -Djavaplugin.trace=true -Djavaplugin.trace.option=basic|net|security|ext|liveconnect
    The trace is here:
    C:\Documents and Settings\your user\Application Data\Sun\Java\Deployment\log\plugin...log

  • Need help getting my applet to run..

    Hi, I am having the utmost trouble getting my applet to run. First I spent a month correcting syntax and other errors generated during compile. Now I find myself spending another month getting the compiled product to run. I don't care if the screen is completely blank and my logic is all messed up, I don't mind logic debugging. My applet just will not run at all, it won't even initialize.
    First when I tried to run my applet in Internet Explorer I got the following error in the statusbar:
    "load: tsorgi5 can't be instantiated"
    So, I researched that error message, and the solution appeared to be that I would need to use the Java Plug-In. So, I use that and now I find this message in the statusbar:
    "exception: null."
    That happens when the text "Loading Java Applet ..." is in the centre of the applet, and Internet Explorer acts like it is still doing something no matter how long I wait.
    I tried researching this, but only found "exception: null" with other things after the text "null."
    In Forte, when I choose "Execute" I get the following in the Output Window, I/O tab:
    java.lang.NoSuchMethodError: main
    Exception in thread "main"
    I would assume it expects me to add a method "main()," but I also get that same message with a different applet (which doesn't have a method "main()") which runs perfectly fine.
    I usually try to solve many of my problems myself, but with this one I have no idea where to start looking for answers. I'm relatively new to Java, been using Java for only half a year, so this particular problem is like looking for a four-leaf clover in the streets of New York City..
    I'm going to be chopping my applet into pieces, having a separate class file for each major engine. (It is a role-playing game, so I'll separate battle engine from cut-scene engine from world exploration engine etc..) Hopefully I will be able to narrow down my search for what is causing me all of these problems. Then once I solve my problems I can piece everything back together.
    In the meantime, I am hoping that some of you could help me out so that I may know what I am looking for.
    Thank You for your time,
    -Tony Slater

    Ah.. Forte is still a bit confusing to me, I have not and probably will not take the time to learn much about Forte, as the only real reason I use it is because unlike wordpad, I can see line numbers. =] Very helpful with my program being the size that it is.
    I do not think that the simple applet idea will be of much use, because one of my earlier applet projects (a main menu for my current project) which I mentioned above as another applet without a main() method which worked perfectly fine is very simple. Although I will try it anyway, as it could help and you are most likely much more experienced than I. =]
    Okay, I typed the following in the Dos Prompt:
    appletviewer TestApplet.class
    ..It printed a blank line, paused a little bit, then brought me back to the prompt, just like running a dos program that does not give any output. I'm not sure, but I would assume it should print a line containing the text "Here?" I have not used appletviewer before, so I do not know what it is supposed to do. =P
    I have already tried using System.out.println, but the problem occours even before the applet is started. I'll try enabling the Java Console first thing tomorrow morning, since a restart is required when enabling it.
    Now, I would be happy to post some code, but I'm not sure it would be best to post the code when my program is 2814 lines.. although 800 lines are probably comments, and most of those comments are probably irrelevant. Also I can sometimes be a messy coder. Although I can post some general information and can probably (with a little work) post an "outline" of the code.
    Since it is getting late I'll just post some portions of code which hopefully will prove important.
    // Import Packages
    import java.awt.Graphics;
    import java.awt.Color;
    import java.awt.*;
    import java.applet.*;
    import java.lang.System;
    import java.lang.reflect.Array;
    import java.lang.Math;
    import java.lang.Double;
    import java.math.*;
    import java.util.Random;
    import java.io.*;
    variable/object types created and/or declared between "public class.." and "public void init()...":
    int
    byte[]
    String
    RandomAccessFile
    int[][]
    double
    int[]
    double[][][]
    Random
    Image
    int[][][]
    arrays are filled in the init() method.
    public String getIniStrValue(String iniFile, String iniGroup, String iniItem) // Used for retrieving information from the game's external file system.
    another method getIniIntValue(int, String, String, String) is used for int values stored in external files.
    Within public void paint(), gameplay modes are detected and dealt with accordingly. With Cut-Scenes, proper charecter images and text is displayed, all cut-scene information is stored externally. Other modes do virtually the same, display graphics and text based on internal game data or un-changing external data files.
    Within public void mouseClick(), in certain modes of the game the mouse click will trigger a change no matter where the user clicked (such as cut-scenes, to advance to the next line of dialog), or different variables are set depending on where the user clicked. (What I like to call.. custom buttons) At the end of the method repaint(); is used, and the paint() method will alter the screen according to any changes that may have happened.
    public void charAttack() is a method called to handle battle equations when a playable and controllable charecter is making a move. It will detect the current charecter, detect the move being made by the charecter (attack, special move, magic, etc) and will change any variables accordingly and will then use repaint(); so that the player may know what has happened. (Whether or not attack was successful, how many HP the enemy lost, etc)
    public void loadBattle() is called when the charecter encounters an enemy. It will load possible enemies of the current part of the world being explored, select one, then load that enemy's "stats" from external game data files, and will then specify the new mode (Battle Menu, where the player chooses the moves to be made for the turn) by setting the int value "Mode." repaint(); is then called and it will paint the battle menu.
    public boolean keyDown() is of course used to detect keyboard events. In world exploration, the charecter will be moved accordingly. In modes such as cut-scenes, a variable will be changed to advance to the next line of speech. In menus, the keyboard events are used to switch between options. repaint(); is used to update the screen accordingly.
    Well, even though I very briefly summarized the code, it appears to have taken half an hour to do. I'll be getting some sleep in a few minutes, and when I wake up tomorrow morning I hope to both see and make some progress on solving this problem.
    Thank You,
    -Tony Slater.

  • Start:applet not initilaized error

    Hi friends,
    I'm getting Start:applet not initilaized error when i'm running a program...
    saved a notepad file as Testloan.java used javac Testloan.java and appletviewer Testloan.java to execute the applet here is my code...
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.Applet;
    <html>
    <applet code="Testloan.class" width=300 height=100>
    </applet>
    </html>
    public class Testloan extends Applet implements ActionListener
    TextField t1,t2,t3;
    Label lp,lr,lmp;
    Button b1,b2;
         public void init()
         lp=new Label("Principal");
         lr=new Label("Rate");
         lmp=new Label("Payment");
         add(lp);
         add(lr);
         add(lmp);
         t1=new TextField();
         add(t1);
         t2=new TextField();
         add(t2);
         t3=new TextField();
         add(t3);
         b1=new Button("submit");
         add(b1);
         b1=new Button("Exit");
         add(b2);
         b1.addActionListener(this);
    b2.addActionListener(this);
    public void start() {
    //win.setVisible(true);
    public void stop() {
    //win.setVisible(false);
    public static int months(int principal,double rate,int payment)
              Testloan tl=new Testloan();
              principal=Integer.parseInt(tl.t1.getText());
              rate=Double.parseDouble(tl.t2.getText());
              payment=Integer.parseInt(tl.t3.getText());
              int p=principal;
              double eRate = rate / 1200.0;
              int month =0,np=1;
                   while(np>0)
                   month = month + 1;
                   np= (int) (p*(1+eRate)-payment );
                   System.out.println(np+"/n");
                   p = np;
              return month;
    public void actionPerformed(ActionEvent e)
    String cmd = e.getActionCommand();
    }

    First, the code you posted was mangled by the forum formatting software. When you post code, select it and click the CODE button above the typing area, which will prevent that, and maintain your formatting.
    When you ran the appletviewer program from the cmd window, error information was posted to it by the java command. Did you look at it? It says that you have a NullPointerException at this line
    add(b2);because there's a typo in this line
    b1 = new Button("Exit");which should have assigned a value to b2, not b1
    Read and understand the error messages that java creates, they almost always point exactly at the problem and allow you to debug the cause.

  • Applet + EJB (jBoss) - Error to get an EJB from Applet

    Hello? All
    Could anybody explain why i get an error here. There are an Applet, which should get an access to EJB which was deployed on JBOSS Server (version 4.2.2.GA). If I run this code as a Desktop Application (Make a window and put my panel here) - all OK. But if I run my Code as an Applet from HTML page I get an Exception like this:
    java.lang.IllegalStateException: unread block data
    I refer to my EJB this way:
    public void init()
    try
    Properties jndiProps = new Properties();
    String myServer = "michhome";
    jndiProps.setProperty("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory") ;
    jndiProps.setProperty("java.naming.provider.url", myServer) ;
    jndiProps.setProperty("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces") ;
    InitialContext ctx = new InitialContext(jndiProps);
    // Error got here:
    Object homeSource = ctx.lookup("Data1EJB");
    Data1Home home = (Data1Home)PortableRemoteObject.narrow(homeSource, Data1Home.class) ;
    RemoteBean1 = home.create() ;
    catch (Exception e)
    PrintException(e);
    Fragment of my HTML page where I put an Applet:
    <applet code=J2EEApplClientPKG.MainApplet codebase=classes ARCHIVE = "jbossall-client.jar" width=600 height=300>
    </applet>
    Thank you for time you spend on this question.

    Hello, my first applet is in the jar, and I want to
    get it out.get it out you mean launch from an applet which would be
    applet code=AppletClassName.class
    archive="JarFileName.jar"
    width=width height=height>
    </applet>
    or unjar it out which would be
    jar -xvf JarFileName.jar
    There is no plug-in installed here either, so I want
    THE LATEST VERSION to be uploaded from sun
    automatically.
    My book suggested something like the code below, but
    the plug-in version must be an oldie.
    Please help!
    <code>
    <!--archive="napaku.jar"-->
    <object
    classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    width="307"
    height="231"
    codebase="http://java.sun.com/products/plugin/1.2/jinst
    ll-12-win32.cab#Version=1,2,0,0">
    <param name="code" value="Lottery.class" />
    <param name="type" archive="napaku.jar" />
    <comment>
    <embed type="application/x-java-applet;version=1.2"
    code="Lottery.class"
    width="307"
    height="231"
    pluginspace="http://java.sun.com/products/plugin/1.2/pl
    gin-install.html">
    <noembed>
    </comment>
    "Napaku applet fails to load!
    </noembed>
    </embed>
    </object>
    </code>codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0">
    The version may not be latest but you could change that as per your req.

  • How do I update a file in an Applet's JAR file from the Applet code

    Here's my problem.
    My applet is using a serializable history data in which I am storing in the applet's JAR file. When I run the applet, I read the file with "getResourceAsStream()" and run my program with that hist data. When my applet is closed, I need to update this file from my Applet's code and I dumfounded about how to do that.
    Is there any way to update a file in the Applet's JAR file through the Java Applet code? (i.e. OutputStream?).
    Would appreciate any advice people have.

    Just place a copy of the file on the local hard disk and update that. When you start the Applet you try to read from the hard disk. If the file exists then no problem otherwise copy it from the jar to the hard disk.

  • Applet not running in browser?

    Hi
    What is the reason why an applet will be running in appletviewer but not in a browser???

    Hi,
    Try out with this html file:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
    <html>
    <head>
    <title>Example</title>
    <script language="JavaScript">
    function MyToolBar()
    window.open("Login.html","LoginPage","toolbar=0,menubar=0,scrollbar=0,resizable=0,directories=0,width='110%',height='150%'");
    </script>
    </head>
    <body>
    <blockquote>
    <!--"CONVERTED_APPLET"-->
    <!-- CONVERTER VERSION 1.1 -->
    <SCRIPT LANGUAGE="JavaScript"><!--
    var info = navigator.userAgent; var ns = false;
    var ie = (info.indexOf("MSIE") > 0 && info.indexOf("Win") > 0 && info.indexOf("Windows 3.1") < 0);
    //--></SCRIPT>
    <COMMENT><SCRIPT LANGUAGE="JavaScript1.1"><!--
    var ns = (navigator.appName.indexOf("Netscape") >= 0 && ((info.indexOf("Win") > 0 && info.indexOf("Win16") < 0 && java.lang.System.getProperty("os.version").indexOf("3.5") < 0) | | (info.indexOf("Sun") > 0) | | (_info.indexOf("Linux") > 0)));
    //--></SCRIPT></COMMENT>
    <SCRIPT LANGUAGE="JavaScript"><!--
    if (_ie == true) document.writeln('<Center><OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH = "100%" HEIGHT = "150%" codebase="http://java.sun.com/products/plugin/1.1.2/jinstall-112-win32.cab#Version=1,1,2,0"><NOEMBED><XMP>');
    else if (_ns == true) document.writeln('<EMBED type="application/x-java-applet;version=1.1.2" java_CODE = "MyApplet.class" WIDTH = "110%" HEIGHT = "150%" pluginspage="http://java.sun.com/products/plugin/1.1.2/plugin-install.html"><NOEMBED><XMP>');
    //--></SCRIPT>
    <APPLET CODE = "MyApplet.class" WIDTH = "110%" HEIGHT = "150%" ></XMP>
    <PARAM NAME = CODE VALUE = "MyApplet.class" >
    </APPLET>
    </NOEMBED></EMBED></OBJECT></Center>
    <!--
    <APPLET CODE = "MyApplet.class" WIDTH = "110%" HEIGHT = "150%" >
    </APPLET>
    -->
    </body>
    </html>
    Hope this will help you.
    Anil
    Developer Technical Support
    Sun Microsystems Inc,
    http://www.sun.com/developers/support

  • Error code -22: Error while registering

    Hi Guys.
    I'm new to NW Mobile 7.1.
    I'm able to run developed applications and see data on physical devices (PDAs).
    I'm also able to deploy and run the same applications on the NWDS Client (Simulator) BUT SEE NO data, because It can't sync.
    My question is very simple: How can I set up NWDS Mobile Client (Simulator) so I can get data?
    When I get to the Device Information screen (NWDS Mobile Client Simulator),values for Device Name and Device Id are blank
    After a sync, the folowing messages appear on my console:
    Windows XP
    messageReceived in ContainerSyncEventListener: Connected to the server   Level: 1
    messageReceived in ContainerSyncEventListener: Sending logon data to server   Level: 1
    messageReceived in ContainerSyncEventListener: Waiting for response from server   Level: 1
    messageReceived in ContainerSyncEventListener: Receiving data from server   Level: 1
    messageReceived in ContainerSyncEventListener: Error code -22: Error while registering
    I know that it is a must to setup a Device Name with one that exists in DOE (then Device Id is assigned during registration with DOE). But how can I place a value on Device Name? Should I set it up? then, Is it by copying a .propierties file under a MI/Folder or something?
    I can't navigate my applications on the simulator so I need to deploy the files to a physical device every time I build, and this obviously takes more time than just running it on the simulator.
    In just a few words, it is driving me nuts.
    Thank you in advance,
    David.

    Hi,
    if you have used MI7.0 you expect: sync a device and it is registered. This does not work in Mi7.1
    In MI7.1 you need to create a device for a user first, before you are able to sync and get data.
    To do this, open the Mobile Administration Portal in MI7.1, go to Administration and create a device for your user. Once this is done, you need to Enable the device.
    If the device is enabled, in status INITIAL and has the correct user assigned, you can sync this device with the MI server.
    Hope this helps!
    Regards,
    Oliver

Maybe you are looking for

  • Loading images using TOAD

    Hi, can someone help me? I'd like to create a simple database that contains images. I've already used the Oracle DB tutorial, but at the moment it's difficult for me to load an image correctly using TOAD. Can someone give me a simple code (mine does'

  • 3PR and Payment Method Supplement

    Our AP department has a need to use Payment Method Supplements for the amounts payroll sends them through 3PR.  AP is asking if there is a way for payroll to pass a Payment Method Supplement on the 3PR documents.  I can't seem to find a way to do thi

  • SQL Server installation paths best practices

    In my company we're planning to setup a new (consolidated) SQL Server 2012 server (on Windows 2012 R2, VMWare). Current situation is there is a SQL Server 2000, a few SQL Server 2008 Express and a lot of Access databases. For the installation I'm won

  • Writing HTML tags in Abstract Portal Component?

    Hi, I am trying to write some HTML tags in an Abstract Portal Component and I am facing problem to write  "/" Pls. let me know if there is any escape character or any other way of printing a "/" in a tag like as follows.... response.write("</td>") <b

  • Fonts have gone crazy with 08 update

    I purchased iLife 08 and installed the iWeb update (including the 2.0.1 web update), and wanted to update my website; simply add a page and fix a couple of typos. First thing was my eps files that had looked fine and worked as transparent pictures we