Hard coded SQL string doesn't run with error PLS-00103

I have created a package with 34 stored procedures [pre]to create some materialized view with hard coded SQL [pre]string (client required for this hard coding). The [pre]first part with 21 simple create statements has
[pre]worked fine. 2nd part with 11 complicated create [pre]statements, only first one has worked. all others [pre]have  not worked.
[pre]
I used dbms_output.put_line (sql_string) to check the [pre]individual create statement, it has looked fine. I [pre]have run individual SP within package. I have got [pre]error message as ORA-06550: line 1, column 45:
[pre]PLS-00103: Encountered the symbol "end-of-file" when [pre]expecting one of the following: ; [pre]
<an identifier> <a double-quoted delimited-identifier> [pre]The symbol ";" was substituted for "end-of-file" to [pre]continue.
[pre]I have checked SQL string between 1st part and 2nd [pre]part. They are the same and all with ';' to end SQL [pre]string and END SP name in the end. Please help me to [pre]identify where the problems are. Thanks. Followings [pre]are some sample SQL string:
[pre]PROCEDURE sp_1st_string
[pre]IS
[pre]BEGIN
[pre]    EXECUTE IMMEDIATE 'CREATE MATERIALIZED VIEW
[pre]mv_name1 TABLESPACE space_name PARALLEL ( DEGREE [pre]DEFAULT INSTANCES DEFAULT ) BUILD IMMEDIATE REFRESH [pre]COMPLETE ON DEMAND WITH PRIMARY KEY AS SELECT col1, [pre]col2,col3, col4, col5 FROM tableone A, table_two B [pre]WHERE A.id = B.id';
[pre]COMMIT;
[pre]END sp_1st_string;
[pre]PROCEDURE sp_2nd_string
[pre]IS
[pre]BEGIN
[pre]   EXECUTE IMMEDIATE ' CREATE MATERIALIZED VIEW
[pre]mv_name2 TABLESPACE PDE_DATA PARALLEL ( DEGREE [pre]DEFAULT INSTANCES DEFAULT ) BUILD IMMEDIATE REFRESH [pre]COMPLETE ON DEMAND WITH PRIMARY KEY AS select col1 .. [pre]col10 from tableone a, tabletwo b, tablethree c, [pre]tablefour d, tablefive e, tablesix f where clause;
[pre]COMMIT;
[pre]END sp_2nd_string;
Message was edited by:
        citicbj
Message was edited by:
        citicbj                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

stevencallan:
Thanks for your advice. I have been thinking the above problem may be [pre]caused by this. If I run 'Create MV statement' in SQL PLUS or Toad, single quote [pre]will work. But when I put hard coded SQL string in package and stored [pre]procedure, it will cause compiling error. After I took off single quote, SP will be [pre][pre]compiled successfully. When I run package.sp, it will cause the problem. [pre]Here is the sample code:[pre]
[pre]CREATE MATERIALIZED VIEW my_mv TABLESPACE space_name [pre][pre]PARALLEL (DEGREE DEFAULT INSTANCES DEFAULT) BUILD IMMEDIATE [pre]REFRESH COMPLETE ON DEMAND WITH PRIMARY KEY AS select A.ID , [pre]A.CNTL_NUM, C.XX_CODE, D.FIRST_NAME, D.MDL_NAME, [pre]D.LAST_NAME, H.XX_DESC, TO_DATE(TO_CHAR(C.CREAT_TS, [pre]'MM/DD/YYYY'),'MM/DD/YY'), F.STATE, CASE WHEN A.XX_CODE IS NOT NULL [pre]THEN X END, E.X_DESC  from TABLE1 A, TABLE2 B, TABLE3 C, TABLE4 [pre]D, TABLE5 E, TABLE6 F, TABLE7 G, TABLE8 H
[pre]where D.X_SW = 'X' and B.X_SW = X' and G.X_SW = 'X' and B.CNTL_ID = [pre]A.CNTL_ID and B.CNTL_ID = D.CNTL_ID and B.X_ID = C.X_ID and B.X_ID = [pre]G.X_ID and B.X_ID = F.X_ID and G.X_CD = H.X_CD and B.X_CD = E.X_CD [pre]and E.X_CD = '25' and C.ENRLMT_ID NOT LIKE 'O%'; [pre]
[pre]When I hard coded this statement in package and sp, I have to take off single [pre]quote ' ' form 'MM/DD/YYYY', 'MM/DD/YY', X_SW ='X', X_CD = '25' AND NOT [pre]LIKE 'O%', Then I can compile whole package successfully. This is why I [pre]mentioned that 1st part 21 simple create statement work because they don't have [pre]these single quote in the statement. In 2nd part with 13 complicated create [pre]statements, some of them have no single quote in the statement. They will [pre]run. Some of them with single quote in statement. They will have the problem [pre]to run if I take off single for compiling. [pre]
[pre]Please give me some idea what is the reason. Thanks a lot.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • How to use airport time capsule on a dell portable pc with windows 7 taking in consideration that Time machine doesn't run with Windows ?

    how to use airport time capsule on a dell portable pc with windows 7 taking in consideration that time machine doesn't run with Windows ?

    TM does not work like that.
    If you want files to use later.. do not use TM.
    Or do not use TM to the same location. Plug a USB drive into the computer and use that as the target for the permanent backup.
    Read some details of how TM works so you understand what it will do.
    http://pondini.org/TM/Works.html
    Use a clone or different software for a permanent backup.
    http://pondini.org/TM/Clones.html
    How to use TC
    http://pondini.org/TM/Time_Capsule.html
    This is helpful.. particularly Q3.
    Why you don't want to use TM.
    Q20 here. http://pondini.org/TM/FAQ.html

  • DS 1.2 SDK extension component cause APS running with error

    By following DS Administrator Guide Section 6.1.3, we are able to successfully deploy the extension to the BI platform (BO 4.1 SP2 version 14.1.2.1121) from the DS design tools.
    However, after restarting Adaptive Processing Servers, it state become "Running with Errors".
    By checking the properties, the error came from Analysis Application Service "Unable to initialize service. LogID:"
    With this error, attempt to execute a simple DS analysis application (e.g. standard desktop blank template - blank page) on BI platform will result in error.
    "A session with the Application Service could not be established."
    The initial exception that caused the request to fail, was:
    Analysis Applications enterprise client was unable to open the session: while trying to invoke the method com.sap.ip.bi.zen.boe.server.transport.corba.ZenServiceImpl.openSession(com.sap.ip.bi.zen.boe.transport.corba.CorbaLocale, java.lang.String, java.lang.String, com.crystaldecisions.thirdparty.org.omg.PortableServer.POA) of an object loaded from field com.sap.framework.services.zen.Zen.zenService of an object loaded from local variable 'this'
    com.sap.ip.bi.zen.boe.client.ZenRemoteException: Analysis Applications enterprise client was unable to open the session: while trying to invoke the method com.sap.ip.bi.zen.boe.server.transport.corba.ZenServiceImpl.openSession(com.sap.ip.bi.zen.boe.transport.corba.CorbaLocale, java.lang.String, java.lang.String, com.crystaldecisions.thirdparty.org.omg.PortableServer.POA) of an object loaded from field com.sap.framework.services.zen.Zen.zenService of an object loaded from local variable 'this' at com.sap.ip.bi.zen.boe.client.enterprise.ZenEnterpriseClient.openSession(ZenEnterpriseClient.java:163) at com.sap.ip.bi.zen.boe.remoting.BIRemoteExecutionService.createNewSessionContainer(BIRemoteExecutionService.java:222) at com.sap.ip.bi.zen.boe.remoting.BIRemoteExecutionService.getZenSessionContainer(BIRemoteExecutionService.java:184) at com.sap.ip.bi.zen.boe.remoting.BIRemoteExecutionService.getZenSessionContainer(BIRemoteExecutionService.java:165) at com.sap.ip.bi.zen.boe.remoting.BIRemoteExecutionService.executeRequest(BIRemoteExecutionService.java:125) [...]
    Uninstall the SDK extension and restart the APS will bring everything back to normal.  Have tried others SDK extension package and all give the same problem.
    Following error message found in BI Log
    1B07420EA054E8A885B28ED475B19202e|2014 03 19 15:18:25.637|-0400|Error| |==|E| |aps_VMOGPSAP01.APS.Analysis|11304|  52|service builder-2| ||||||||||||||||||||com.sap.ip.bi.base.exception.BIBaseRuntimeException||BI exception with class "BIBaseRuntimeException" and message "Error: Failure in system landscape initialization: No connection with name "" found". See default trace for log ID "f1277229-852b-4ddf-a7ad-093844d787c9".
    |81B07420EA054E8A885B28ED475B19202f|2014 03 19 15:18:25.638|-0400|Error| |==|E| |aps_VMOGPSAP01.APS.Analysis|11304|  52|service builder-2| ||||||||||||||||||||com.sap.framework.services.ps.PS||PS Service start() failed. An unexpected exception has occured: Error: Failure in system landscape initialization: No connection with name "" found
    com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error: Failure in system landscape initialization: No connection with name "" found
      at com.sap.pioneer.services.service.core.landscape.BoeConnectorLandscape.initializeBoeEnterpriseService(BoeConnectorLandscape.java:253)
      at com.sap.framework.services.ps.PS.start(PS.java:227)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.businessobjects.framework.servers.platform.modules.scope.internal.ScopeListener.fireEvent(ScopeListener.java:107)
      at com.businessobjects.framework.servers.platform.modules.scope.internal.ScopeListener.notifyScopeStart(ScopeListener.java:70)
      at com.businessobjects.framework.servers.platform.modules.scope.internal.AbstractScopeAgent.createScope(AbstractScopeAgent.java:194)
      at com.businessobjects.framework.servers.platform.modules.contextscope.ContextScopeAgent.createScope(ContextScopeAgent.java:48)
      at com.businessobjects.framework.servers.platform.deployment.core.RegisterBeanModule.process(RegisterBeanModule.java:51)
      at com.businessobjects.framework.servers.platform.deployment.DeploymentEngine.execute(DeploymentEngine.java:221)
      at com.businessobjects.framework.servers.platform.deployment.DeploymentEngine.postServiceStart(DeploymentEngine.java:169)
      at com.businessobjects.framework.servers.platform.deployment.AbstractPJSService.activateService(AbstractPJSService.java:126)
      at com.businessobjects.framework.servers.platform.deployment.servicebuilder.AbstractServiceBuilder.startService(AbstractServiceBuilder.java:332)
      at com.businessobjects.framework.servers.platform.lifecycle.internal.LifeCycleManager$ServiceController.startSvc(LifeCycleManager.java:226)
      at com.businessobjects.framework.servers.platform.lifecycle.internal.LifeCycleManager$ServiceController.call(LifeCycleManager.java:177)
      at com.businessobjects.framework.servers.platform.lifecycle.internal.LifeCycleManager$ServiceController.call(LifeCycleManager.java:155)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:743)
    Any ideas?
    Thanks.
    Message was edited by: Sunny Chau
    Coworker help me to solve this problem.  Solution below
    To resolve this issue:
    1. Go to the properties of the APS service for Design Studio in your CMC console.
    2. Go to the command line parameters and append the following line to the parameters listed:
    -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
    3. Hit save and close
    4. Restart the APS server
    5. Test your page again and the issue should now be resolved.

    Repost the solution for clear visibility.
    Solution below To resolve this issue:
    1. Go to the properties of the APS service for Design Studio in your CMC console.
    2. Go to the command line parameters and append the following line to the parameters listed: -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
    3. Hit save and close
    4. Restart the APS server
    5. Test your page again and the issue should now be resolved.

  • HT1925 After failed update of itunes yesterday, now will not run with error message "MSVCR80.dll can't be found, APSDaemon.exe not running".  Windows 7.

    After failed update of itunes yesterday, now will not run with error message "MSVCR80.dll not found" APSDaemon.exe will not run.  itunes will not now run.

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • EIMAdaptiveProcessingServer Running with errors.

    Hi Gurus!!
    I´m doing a new installation of BI 4.1 and DS 4.2 with SAP HANA Database. These are the current versions:
    S.O. Windows Server 2012 x64_64bits
    HDB 1.00.74.02.392316
    SAP In-Memory Database JDBC Driver 1.00.74.04 Build 0393829-1510
    SAP BusinessObjects BI platform 4.1 SP4 Patch 1 update (14.1.4.1378)
    SAP Data Services 4.2  SP2 (14.2.2.446) - en
    The problen is <Server>.EIMAdaptiveProcessingServer service. This service start with status "Running with errors".
    Looking EIMAdaptiveProcessingServer trace log, I can see errors like this:
    |BAC469ED36EA4EA68437B701FF5D102D1|2014 08 28 11:05:56.470|+0200|Error| |==|E| |aps_BO_DES.EIMAdaptiveProcessingServer| 7756|  24|Component Resolve Thread (Bundle 82)| ||||||||||||||||||||com.businessobjects.framework.servers.util.ModuleToBundle||Bundle D:\SAPBusinessObjects\SAP BusinessObjects Enterprise XI 4.0\java\pjs\container\work\BO_DES.EIMAdaptiveProcessingServer\modules\cdsframework.jar cannot be started
    org.osgi.framework.BundleException: The bundle "cdsframework_0.0.0 [128]" could not be resolved. Reason: Missing Constraint: Require-Bundle: cdz_ext_lifecycle; bundle-version="0.0.0"
      at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1327)
      at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1311)
      at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
      at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
      at com.businessobjects.framework.servers.util.ModuleToBundle.installAndStartBundle(ModuleToBundle.java:165)
      at com.businessobjects.framework.servers.util.ModuleToBundle.modulesToBundles(ModuleToBundle.java:128)
      at com.businessobjects.framework.servers.util.ModuleToBundle.activate(ModuleToBundle.java:45)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252)
      at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
      at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346)
      at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588)
      at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196)
      at org.eclipse.equinox.internal.ds.Resolver.buildNewlySatisfied(Resolver.java:441)
      at org.eclipse.equinox.internal.ds.Resolver.enableComponents(Resolver.java:213)
      at org.eclipse.equinox.internal.ds.SCRManager.performWork(SCRManager.java:800)
      at org.eclipse.equinox.internal.ds.SCRManager$QueuedJob.dispatch(SCRManager.java:767)
      at org.eclipse.equinox.internal.ds.WorkThread.run(WorkThread.java:89)
      at org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Executor.java:70)
    |BAC469ED36EA4EA68437B701FF5D102D2|2014 08 28 11:07:56.566|+0200|Error| |==|E| |aps_BO_DES.EIMAdaptiveProcessingServer| 7756| 105|Server State Change| ||||||||||||||||||||com.businessobjects.framework.servers.platform.deployment.servicebuilder.AbstractServiceBuilder||Unable to start OSGI bundle bundleDS.JobLauncherService_0.0.0 [151] for service businessobjects/DS.JobLauncherService/1/oca
    org.osgi.framework.BundleException: The bundle "bundleDS.JobLauncherService_0.0.0 [151]" could not be resolved. Reason: Missing Constraint: Require-Bundle: com.sap.db.jdbc; bundle-version="0.0.0"
      at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1327)
      at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1311)
      at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
      at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
      at com.businessobjects.framework.servers.platform.deployment.servicebuilder.AbstractServiceBuilder.startConfiguration(AbstractServiceBuilder.java:258)
      at com.businessobjects.framework.servers.platform.lifecycle.internal.LifeCycleManager.controlServices(LifeCycleManager.java:426)
      at com.businessobjects.framework.servers.platform.lifecycle.internal.LifeCycleManager.startServices(LifeCycleManager.java:669)
      at com.businessobjects.framework.servers.platform.lifecycle.internal.LifeCycleManager.startAllServices(LifeCycleManager.java:619)
      at com.businessobjects.framework.servers.platform.adapters.ebus.administration.internal.GeneralAdminImpl$StateChangeHandler.call(GeneralAdminImpl.java:554)
      at com.businessobjects.framework.servers.platform.adapters.ebus.administration.internal.GeneralAdminImpl$StateChangeHandler.call(GeneralAdminImpl.java:500)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
      at java.lang.Thread.run(Thread.java:761)
    The installation process went fine, no errors and I have tried with different versions of HANA JDBC drivers, but always the same error.
    Any idea?
    Thank you very much!!

    Thanks guys. Since I'm a volunteer in a foreign country, I have no way to resync my music or return my Ipod for repair for another two years, so I think I'd rather be safe than sorry. I'm glad I found out now.

  • AdaptiveProcessingServer - running with error, WebApplicationContainerServer - Failed

    Dear All,
    I get below error in SAP BusinessObjects BI Platform 4.1 Support Pack 2
    AdaptiveProcessingServer - running with error (Document recovery service - The service did not start)
    and WebApplicationContainerServer - Failed (RESTful Web Service - The service did not start and Web Application Container Service - The service did not start)
    Help me to analyze the issue.
    I tried splitting APS to have separate document recovery service - still issue persists.
    regards
    kartik

    Hi Sebastian,
    Thanks for your time, yes it's upgraded from 4.1 SP01.
    Update: Solved the issue with WebApplicationContainerServer - Failed (RESTful Web Service - The service did not start and Web Application Container Service - The service did not start) by changing the system environment variable as per the SAP KBA 1821326.
    Still hanging on the Document recovery service issue.
    regards
    kartik

  • HDMI AV Digital doesn't run with IOS 6!!!!!

    I have the AV Digital adapter for iPad and iPhone.
    Now with the new IOS 6 it doesn't run!!
    Why??? Will you resolve it?
    Thank's :) :)

    Apple, we need it resolved!

  • Please help -- Why the applet doesn't run with jre1.4.1_01?

    Hi,
    I have an applet embedded in a remote-server page. It can be loading from the server and running in the local computer with Jre1.3.1. After I uninstalled jre1.3.1 and installed JRE1.4.1_01. My applet doesn't run. Here is the message from Java Consol:
    java.lang.NullPointerException
    at sun.plugin.cache.CachedFileLoader.writeHeaders(Unknown Source)
    at sun.plugin.cache.CachedFileLoader.createCacheFiles(Unknown Source)
    at sun.plugin.cache.CachedFileLoader.access$200(Unknown Source)
    at sun.plugin.cache.CachedFileLoader$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.plugin.cache.Cache.privileged(Unknown Source)
    at sun.plugin.cache.CachedFileLoader.download(Unknown Source)
    at sun.plugin.cache.CachedFileLoader.load(Unknown Source)
    at sun.plugin.cache.FileCache.get(Unknown Source)
    at sun.plugin.net.protocol.http.HttpURLConnection.connectWithCache(Unknown Source)
    at sun.plugin.net.protocol.http.HttpURLConnection.connect(Unknown Source)
    at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:1197)
    at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:247)
    at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:250)
    at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:42)
    at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:143)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:140)
    at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:114)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:501)
    at sun.applet.AppletPanel.createApplet(AppletPanel.java:566)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(AppletPanel.java:495)
    at sun.applet.AppletPanel.run(AppletPanel.java:292)
    at java.lang.Thread.run(Thread.java:536)
    I copy the my html file which has this applet built-in to my local computer. The webpage can be openned and the applet running fine even with jre1.4.1. Why it didn't run with Jre1.4.1 and it did run with jre 1.3.1 when loading remotely? Could someone tell me what the above messages mean? Is this a bug from Jre1.4.1_01?
    I have running server at 206.29.25.29. and select "read sensor". Jre1.4.1_01 will not let the applet run, but jre1.3.1 does.
    Is there any body know about this issue?
    Thanks,
    Kunlun

    In fact, I have run many tests and the only failures are when the plugin is 1.4.2 and the app server is on Unix:
    Build      Deploy      Build JDK     PlugIn JDK     App Server JDK     Result
    Win     Win     1.4.2_02     1.4.2          1.4.2          Success
    Win     Win     1.4.2          1.4.2          1.4.2          Success
    Win     Win     1.4.1_02     1.4.2          1.4.2          Success
    Win     Win     1.4.2          1.4.0          1.4.2          Success
    Win     Win     1.4.2          1.4.1          1.4.2          Success
    Win     Win     1.4.2          1.4.2          1.4.2          Success
    Unix     Win     1.4.2          1.4.2          1.4.2          Success
    Unix     Win     1.4.2          1.4.2          1.4.1_02     Success
    Unix     Win     1.4.2          1.4.2          1.4.0          Success
    Unix     Unix     1.4.2          1.4.0          1.4.0          Success
    Unix     Unix     1.4.2          1.4.1          1.4.0          Success
    Unix     Unix     1.4.2          1.4.2          1.4.0          Failure
    Win     Unix     1.4.2          1.4.0          1.4.0          Success
    Win     Unix     1.4.2          1.4.1          1.4.0          Success
    Win     Unix     1.4.2          1.4.2          1.4.0          Failure

  • Photoshop Elements 13 doesn't run with my windows 8.1 stops.

    directly after istallation it worked. But now one day later I can't start the organizer anymore. Program does't work. We will contact you, when we have a solution for this problem. What can I do?

    Hi,
    After talking to 3 different Canon techs who didn't know anything about
    this and told me it was Adobe's fault, a 4th Canon tech e-mailed me a list
    of the Elements software that is "compatible" with the Canon Pro-10
    printer. The list stops at Elements 12! In other words, Canon has not
    written the software for their plug-in to work with Elements 13 yet. I
    personally am stunned by this. Considering how popular Adobe Elements is,
    you'd think Canon would be up-to-date on having their new printer's plug-in
    work with Elements 13, which has been out there for some time.
    Not only that, Canon's more expensive printer, the Canon PRO-100, also has
    the same problem. My friend just bought one and told me the plug-in doesn't
    work with Elements 13.
    I have figured out a solution, if it will be of help. I had just
    uninstalled Adobe Elements 12 and when I saw that Canon's plug-in worked
    with Elements 12, I quickly reinstalled it. Sure enough, when I clicked on
    AUTOMATION TOOLS there was the Canon plug-in, and when I clicked on it, the
    Canon print screen opened. So I decided I would do my photo editing in
    Elements 13, and when ready to print I would open the photo in Elements 12
    and print it there. Hope that helps.
    F
    On Sat, Feb 28, 2015 at 4:08 PM, BMonahan9905 <[email protected]>

  • Program will run with errors, but not at all in a .jar file

    First off, here is my program right now:
    import java.io.*;
    import java.util.*;
    import javax.swing.JOptionPane;
    public class prune
        public static void main(String args[])
            String steamid="",time="";
            BufferedReader infile = null;
            BufferedWriter outfile = null;
            FileReader fr = null;
            FileWriter wr = null;
            StringTokenizer strtk = null;
            String line = null;
         JOptionPane.showMessageDialog
          (null, "Vault.ini Pruner v2");
         String filepath = JOptionPane.showInputDialog("Enter the filepath to your vault.ini file.");
         String strdeletenumber = JOptionPane.showInputDialog("Enter the number that vault entries under will be deleted");
         int deletenumber = Integer.parseInt(strdeletenumber);
            try
                infile = new BufferedReader(new FileReader(filepath));
                outfile = new BufferedWriter(new FileWriter(filepath));
            catch(IOException ioe)
                JOptionPane.showMessageDialog
          (null, "Can't open vault.ini:" + ioe);
            try
                while((line=infile.readLine())!=null)
                    strtk = new StringTokenizer(line);
                    steamid = strtk.nextToken();
                    time = strtk.nextToken();
                    if(Integer.parseInt(time)>=deletenumber)
                        outfile.write(steamid);
                        outfile.write(" ");
                        outfile.write(time);
                        outfile.newLine();
            catch(IOException ioe)
                JOptionPane.showMessageDialog
          (null, "Error:" + ioe);
            try
                outfile.close();
                infile.close();
            catch(IOException ioe)
               JOptionPane.showMessageDialog
          (null, "Error:" + ioe);
                System.exit(0);
    }The program is supposed to open a vault.ini file and delete entries with a number lower than specified.
    Vault files are set up like this:
    STEAMID:X:XXXX 100000
    Right now if I run the program through command prompt it erases both the vault.ini and new vault.ini. I am also trying to put it in an executable jar file and when I do that I get a "Failed to load main class manifest attribute" error. Any ideas on what is causing this?

    I don't know what is happening. I put your exact code into a small build environment and used a build file for ant that I have and it works just fine. Manifest files are a total pain which is why I use a tool to generate it. I know that the last line has to be blank and that no line can be over a certain length.
    You've now spent several days avoiding ant and I got it running with ant in about 3 minutes. I'm really missing something.
    For reference, the build file is below should you change your mind. Put your prune.java in a new directory named "src" and save this file below as build.xml in the parent directory of "src". Run the program with java -jar lib/prune.jar
    <project name="jartest" default="main" basedir=".">
    <!-- location properties -->
        <property name="src.dir" location="src" />
        <property name="dest.classes.dir" location="classes" />
        <property name="dest.lib.dir" location="lib" />
    <!-- value properties -->
        <property name="dest.lib.name" value="prune.jar" />
        <property name="main.class" value="prune" />
    <!-- compile time value properties -->
        <property name="compile.debug" value="true" />
        <property name="compile.optimize" value="false" />
        <property name="compile.deprecation" value="true" />
        <property name="compile.source" value="1.4"/>
        <property name="compile.target" value="1.4"/>
    <!-- build -->
        <target name="main" depends="compile,jar" />
        <target name="compile">
            <mkdir dir="${dest.classes.dir}"/>
            <mkdir dir="${dest.lib.dir}"/>
            <javac srcdir="${src.dir}"
                         destdir="${dest.classes.dir}"
                         debug="${compile.debug}"
                         deprecation="${compile.deprecation}"
                         optimize="${compile.optimize}"
                         source="${compile.source}"
                         target="${compile.target}" >
            </javac>
        </target>
    <!-- clean -->
        <target name="clean">
            <delete dir="${dest.classes.dir}"/>
            <delete dir="${dest.lib.dir}"/>
        </target>
    <!-- jar -->
        <target name="jar" depends="compile">
            <jar destfile="${dest.lib.dir}/${dest.lib.name}"
                    basedir="${dest.classes.dir}">
                <manifest>
                    <attribute name="Built-By" value="${user.name}"/>
                    <attribute name="Main-Class" value="${main.class}" />
                </manifest>
            </jar>
        </target>
    </project>

  • SQL Server Agent job fails with error : The package execution returned DTSER_FAILURE (1).

    Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Started: 10:00:01 AM Error: 2014-08-15 10:00:07.20
    Code: 0xC0047062 Source: Data Flow Task LEAN [6761]
    Description: Teradata.Client.Provider.TdException: [Teradata Database] [3006] Logons are disabled.
    at Teradata.Client.Provider.WpMessageManager.CheckForError()
    at Teradata.Client.Provider.WpMessageManager.ProcessResponse()
    at Teradata.Client.Provider.WpLogonManager.Action()
    at Teradata.Client.Provider.WpSession.ManagerAction(WpMessageManager manager, UtlStopwatchWrapper watch, Int32 connectionTimeout)
    at Teradata.Client.Provider.WpSession.Open(Int32 connectionTimeout, String password)
    at Teradata.Client.Provider.WpSession.Open(Int32 connectionTimeout)
    at Teradata.Client.Provider.Connection.Open(UtlConnectionString connectionString, UInt32 timeout)
    at Teradata.Client.Provider.ConnectionPool.CreateConnection(UInt32 timeout)
    at Teradata.Client.Provider.ConnectionPool.GetConnectionFromPool(Object owningObject)
    at Teradata.Client.Provider.ConnectionFactory.GetConnection(Object owningObject, UtlConnectionString connStr)
    at Teradata.Client.Provider.TdConnection.Open()
    at Microsoft.SqlServer.Dts.Runtime.ManagedHelper.GetManagedConnection(String assemblyQualifiedName, String connStr, Object transaction)
    at Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager100.AcquireConnection(Object pTransaction)
    at Microsoft.SqlServer.Dts.Pipeline.DataReaderSourceAdapter.AcquireConnections(Object transaction)
    at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostAcquireConnections(IDTSManagedComponentWrapper100 wrapper, Object transaction)
    End Error Error: 2014-08-15 10:00:07.35 Code: 0xC0047017 Source: Data Flow Task SSIS.Pipeline
    Description: component "LEAN" (6761) failed validation and returned error code 0x80004005. End Error Error: 2014-08-15 10:00:07.48
    Code: 0xC004700C Source: Data Flow Task SSIS.Pipeline Description: One or more component failed validation.
    End Error Error: 2014-08-15 10:00:07.60 Code: 0xC0024107 Source: Data Flow Task
    Description: There were errors during task validation. End Error
    DTExec: The package execution returned DTSER_FAILURE (1). Started: 10:00:01 AM Finished: 10:00:07 AM
    Elapsed: 6.692 seconds. The package execution failed. The step failed.
    SQL Server agent job fails with above error, Please let me know process tohandle it.
    Thanks,
    Vishal.

    The error message suggests its the issue with Teradata source database to which SSIS tries to connect within the data flow task. Make sure Teradata database is available and LOGON is enabled.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Custom reports do not run with error message: Routine FDPREP cannot read ..

    Hi
    Can anybody help me with this issue pls?
    The dev system is cloned from production a few days ago. After running the post clone procedure, the dev is working fine except when we are trying to run custom reports, it errorred out with error message - Routine FDPREP cannot read the file /fmis/11.5.0/reports/US/POXPRPO1.rep. I have checked the env files, and they seem ok. $CUSTOM_TOP is set to the correct value. Other standard Oracle reports are running properly. The custom report file extension is in low case (.rdf). I've even tried to compile the report manually by using rwcon60.sh, the rep file was created under that folder but concurrent manager is still giving the same error message. So I am suspecting whther it is the path issue, as from the error message we can see up there, it is not showing the absolute path. Can anyone pls shed some lights on this for me?
    Thanks!
    Liang

    Hi hsawwan,
    Echo $FMIS_TOP(Custom Top) returns /global/app/fdev/home/fdevapp/findevappl/fmis/11.5.0, which is the correct path.
    Interesting thing is I checked the custom forms and they are working properly , our current configuration is form server and web server are sitting on one node, and CM, admin and database are sitting on the other node. So it seems it is the CM node settings caused the problem. However, I've just compared the APPSORA.env, customfindev_XXXXXX.env $FMIS_TOP (Custom Top) on the two nodes, and nothing seems out of ordinary.
    Thanks,
    Liang

  • PL/SQL Error  PLS-00103

    Hi All,
    I am currently working a "package header" and "package body".
    I have created a user defined data type ( record type ) in pl/sql pacakge header.
    And I am trying to use it from pl/sql body, especially
    I am using this type as parameter type for a procedure.
    Because of this I am getting below error at the time
    of compilation.
    LINE/COL ERROR
    2/3 PLS-00103: Encountered the symbol "CREATE" when expecting one of
    the following:
    begin end function package pragma procedure subtype type use
    <an identifier> <a double-quoted delimited-identifier> form
    current cursor
    The symbol "CREATE" was ignored.
    Can any one guide me on this...
    Thanks in advance.
    Regards,
    Srini
    , from body
    I was trying

    I was able to get rid of the problem by creating header
    and body of the package with two different names.
    Example: ph and pb
    But for my curiosity , just like to know,
    Both "Package Header" and "Package Body" must be defined
    with two different names ?
    Is there any other way to get rid of this exception ?
    Thanks in advance.
    Cheers,
    Srini

  • Dynamic SQL run with error 'ORA-29275: partial multibyte character'

    Hi All,
    In daily work, we use daynamic SQL to load data from another database through DB Link. However, even if I run the following simple statement in our DB, it will raise the error.
    CREATE TABLE TEST_TMP
    AS
    SELECT TRANSACTION_REASON
    FROM [email protected] --it is using db link.
    WHERE LAST_UPDATE_DATE>=TO_DATE('18-12-2012 22:01:58', 'dd-mm-yyyy hh24:mi:ss');
    This statement had been workng correctly before OCT-2012 and there was no change with the source. Afterwards, there was just a change which upgraded the DB version from 10g to 11g on our side. I have browsed my technical articles, but I still cannot find the root cause. Is it due to the updgrading of the DB which practice stricter sanity check?
    I don't know.
    I'd appreciate of you can give me suggestion if you know such case.
    Thanks,
    David

    David Paul wrote:
    Hi,
    Can you give me a full explaination about the DL http://vibhorkumar.wordpress.com/2011/02/27/fix-of-ora-29275-partial-multibyte-character/ you mentioned?
    I don't understand the query in it well.
    Thanks,
    DavidDon't confuse yourself... It's just saying to convert data into your local DB type...
    Check these queries -
    1] /* check this in both your LOCAL and REMOTE databases */
    select dump('a',1010) from dual;
    I got --
    Typ=96 Len=1 CharacterSet=AL32UTF8: 97
    So, my charset encoding is AL32UTF8. Similarly, find yours for both Local & Remote DBs.
    2]
    /* Then do */
    CONVERT(transaction_reason,'<local_charset>','<remote_charset>')Edited by: ranit B on Dec 22, 2012 5:46 PM

  • Form on a SQL Query - doesn't work with SELECT * - bug or feature ?

    When I do this,
    Create Page -> Page with Component -> Form -> Form on a SQL Query -> SELECT * FROM EMP
    I do not get any items displayed and it creates a simple HTML region / page. Do we have to necessarily specify the column names ?
    Iam looking at a way to see if any addition of columns in the table does not involve IT intervention in recreating the form.
    When we try to create with Form on a SQL Query, then shouldn't it be similar to the Report where the same thing works, if I give SELECT function_returning_columns() from DUAL even then the same thing happens where it creates an ITEM called functions_returning_columns() it creates HTML region
    I asked a related question with no answer :-( in
    Dynamic Creation of Items in Runtime through Application UI

    Hi Marc,
    Thanks. I just tried something like this. Taking the EMP table example, (it doesn't matter which table), I created a region based on a Pl/Sql function returning SQL query
    ( I selected the vertical report template including nulls to display it like a form ) :
    DECLARE
    v_sql VARCHAR2(3000) ;
    mn_idx NUMBER := 1 ;
    BEGIN
    v_sql := 'SELECT ' ;
    FOR recs IN (SELECT * FROM ALL_TAB_COLUMNS WHERE TABLE_NAME = 'EMP' ORDER BY COLUMN_ID)
    LOOP
    v_sql := v_sql || 'HTMLDB_ITEM.TEXT(' || mn_idx || ',' ||
    recs.column_name || ') ' || recs.column_name || ', ' ;
    mn_idx := mn_idx + 1 ;
    END LOOP ;
    v_sql := SUBSTR(v_sql, 1, LENGTH(v_sql) -2) ;
    v_sql := v_sql || ' FROM EMP WHERE EMPNO = 7369 ORDER BY 1 ' ;
    RETURN v_sql ;
    END ;
    This allowed me to do my updates etc.., Then I created a button called 'Apply' and a process called 'update_changes' on button click and defined this:
    DECLARE
    v_sql varchar2(1000) ;
    mn_ctr NUMBER := 1 ;
    BEGIN
    v_sql := 'BEGIN UPDATE EMP SET ' ;
    FOR recs IN (select COLUMN_ID, COLUMN_NAME, DATA_TYPE
    from all_tab_columns where table_name = 'EMP'
    ORDER BY COLUMN_ID) loop
    -- Make changes here if required- this is assuming 9 columns --
    v_sql := v_sql || recs.column_name || ' = HTMLDB_APPLICATION.G_F0' || mn_ctr || '(1),' ;
    mn_ctr := mn_ctr + 1;
    end loop ;
    v_sql := substr(v_sql, 1, length(v_sql) - 1) ;
    v_sql := v_sql || ' WHERE EMPNO = 7369; END ;' ;
    execute immediate (v_sql) ;
    END ;
    Since this is for example, I didn't include code for Checksum and hardcoded empno = condition and have provision for 9 columns. I made some changes and tried saving it and I was able to do it.
    I altered the table to add a column / drop a column and when I relogin, Iam able to see the changes.
    Can you tell me if there could be any drawbacks in this approach ?.

Maybe you are looking for

  • How do I import multiple playlists at once?

    I know this issue has been discused before, but without a solution tailored to what i require, so I will reistate the problem from my point of view: Background: Had a Windows I-Tunes library, supremely organized. The mother of an Electric surge broke

  • Front End Variable to Multiple Queries

    I need to create a front end variable selection on plant that will then pass the plant as a parameter to run a Bex query that is based on plant.  I cannot seem to accomplish this in BEX Query designer am I new to WAD.  I don't want to publish 20+ que

  • Some general questions about Sun Java Communications Suite

    Hello Everybody, We are a small group of individuals (2 Java developers and 1 Linux expert and Web Application developer), located in Germany. We are fully new to �Solaris� and Sun Java Communications Suite and know, that it�s a highly professional s

  • MY CURSOR DOES NOT STAY AT THE END OF WHAT I TYPE IT DEFAULTS TO THE BEGINGING OF WHAT I TYPED

    THE CURSOR USED TO STAY AT THE END OF WHAT EVER I TYPED IF I HAD TO CLICK ON A LINK AND THEN GO BACK IT WOULD ALWAYS BE THERE AT THE END NOW IT STAYS AT THE FRONT HOW DO I CHANGE THIS SO THAT THE CURSOR STAYS WHERE I NEED IT TO BE THE END OF WHAT EVE

  • Charge off the difference manually

    Hi gurus, I'm trying to clear a G/L Account with different amount but the system response is "The difference is too large for clearing". Through Define Tolerance Groups for  G/L Accounts (by SPRO), I've inserted  the company code of my society and th