Mr. Frank Could u plz check this ...
Hi,
Could u please guide me wat is the reason of this error...Is this error occuring due to some configuration Problem. I tried to run the backup application, which was running smoothly previous days.
The error-----
C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain\bin\startWebLogic.cmd
[http://waiting for the server to complete its initialization...]
JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=256m
WLS Start Mode=Development
CLASSPATH=;C:\ORACLE\MIDDLE~1\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\ORACLE\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\ORACLE\MIDDLE~1\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\ORACLE\MIDDLE~1\JDK160~1\lib\tools.jar;C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\ORACLE\MIDDLE~1\modules\features\weblogic.server.modules_10.3.0.0.jar;C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\ORACLE\MIDDLE~1\modules\ORGAPA~1.5/lib/ant-all.jar;C:\ORACLE\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\Middleware\jdeveloper\modules\features\adf.share_11.1.1.jar;;C:\ORACLE\MIDDLE~1\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;;
PATH=C:\ORACLE\MIDDLE~1\patch_wls1030\profiles\default\native;C:\ORACLE\MIDDLE~1\patch_jdev1111\profiles\default\native;C:\ORACLE\MIDDLE~1\patch_cie660\profiles\default\native;C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\bin;C:\ORACLE\MIDDLE~1\modules\ORGAPA~1.5\bin;C:\ORACLE\MIDDLE~1\JDK160~1\jre\bin;C:\ORACLE\MIDDLE~1\JDK160~1\bin;D:\9iDS\bin;D:\9iDS\jdk\jre\bin;D:\9iDS\jdk\jre\bin\classic;D:\9iDS\jdk\jre\bin\classic;D:\9iDS\jlib;D:\9iDS\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Teleca Shared;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
starting weblogic with Java version:
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode)
Starting WLS with line:
C:\ORACLE\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=256m -Djbo.34010=false -Xverify:none -da -Dplatform.home=C:\ORACLE\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\ORACLE\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\ORACLE\MIDDLE~1\WLSERV~1.3\server -Ddomain.home=C:\ORACLE\MIDDLE~1\JDEVEL~1\system\SYSTEM~1.88\DEFAUL~1 -Doracle.home=C:\Oracle\Middleware\jdeveloper -Doracle.security.jps.config=C:\ORACLE\MIDDLE~1\JDEVEL~1\system\SYSTEM~1.88\DEFAUL~1\config\oracle\jps-config.xml -Doracle.dms.context=OFF -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\ORACLE\MIDDLE~1\patch_wls1030\profiles\default\sysext_manifest_classpath;C:\ORACLE\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath;C:\ORACLE\MIDDLE~1\patch_cie660\profiles\default\sysext_manifest_classpath -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy weblogic.Server
<Feb 12, 2009 10:16:03 AM IST> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
C:\Oracle\Middleware\patch_wls1030\profiles\default\sysext_manifest_classpath\weblogic_ext_patch.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_TW.jar>
<Feb 12, 2009 10:16:03 AM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 10.0-b19 from Sun Microsystems Inc.>
<Feb 12, 2009 10:16:04 AM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for CR380042 Thu Sep 11 13:33:40 PDT 2008
WebLogic Server Temporary Patch for 7372756 Fri Sep 12 17:05:44 EDT 2008
WebLogic Server Temporary Patch for CR381265 Wed Oct 08 10:15:58 PDT 2008
WebLogic Server Temporary Patch for CR380913 Wed Oct 15 13:24:22 PDT 2008
WebLogic Server Temporary Patch for CR381739 Tue Oct 21 14:06:14 IST 2008
WebLogic Server 10.3 Mon Aug 18 22:39:18 EDT 2008 1142987 >
<Feb 12, 2009 10:16:05 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Feb 12, 2009 10:16:05 AM IST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Feb 12, 2009 10:16:05 AM IST> <Notice> <Log Management> <BEA-170019> <The server log file C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
<Feb 12, 2009 10:16:10 AM IST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Feb 12, 2009 10:16:14 AM IST> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddi was not deployed. Error: [Deployer:149158|http://forums.oracle.com/forums/]No application files exist at 'C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\lib\uddi.war'.>
<Feb 12, 2009 10:16:14 AM IST> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddiexplorer was not deployed. Error: [Deployer:149158|http://forums.oracle.com/forums/]No application files exist at 'C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\lib\uddiexplorer.war'.>
<Feb 12, 2009 10:16:16 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<Feb 12, 2009 10:16:16 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Feb 12, 2009 10:16:17 AM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application Application1 is not versioned.>
Feb 12, 2009 10:16:17 AM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
INFO: Cleaning up application state
Feb 12, 2009 10:16:18 AM oracle.as.jmx.framework.PortableMBeanFactory setJMXFrameworkProviderClass
INFO: JMX Portable Framework initialized with platform SPI "class oracle.as.jmx.framework.wls.spi.JMXFrameworkProviderImpl"
<Feb 12, 2009 10:16:39 AM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application DashBoard is not versioned.>
Feb 12, 2009 10:16:39 AM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
INFO: Cleaning up application state
<Feb 12, 2009 10:16:52 AM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application Dashboard is not versioned.>
Feb 12, 2009 10:16:52 AM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
INFO: Cleaning up application state
<Feb 12, 2009 10:16:52 AM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application TestApplication is not versioned.>
Feb 12, 2009 10:16:52 AM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
INFO: Cleaning up application state
<Feb 12, 2009 10:17:04 AM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application TestJith is not versioned.>
Feb 12, 2009 10:17:04 AM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
INFO: Cleaning up application state
Feb 12, 2009 10:17:18 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfDvtGraph" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/Application1/z60kl9/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:18 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfDvtGauge" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/Application1/z60kl9/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:18 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfRichPivotTable" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/Application1/z60kl9/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:21 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfDvtGraph" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/DashBoard/lg29wz/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:21 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfDvtGauge" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/DashBoard/lg29wz/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:21 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfRichPivotTable" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/DashBoard/lg29wz/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
<Feb 12, 2009 10:17:22 AM IST> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'Dashboard'.
weblogic.application.ModuleException: Context path '/Dashboard-ViewController-context-root' is already in use by the module: Dashboard-ViewController-context-root application: DashBoard
at weblogic.servlet.internal.WebAppModule.initAndValidateContextPath(WebAppModule.java:1076)
at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:908)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:364)
at weblogic.servlet.internal.WebAppModule.activate(WebAppModule.java:423)
at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:182)
Truncated. see log file for complete stacktrace
>
Feb 12, 2009 10:17:22 AM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
INFO: Cleaning up application state
Feb 12, 2009 10:17:23 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfDvtGraph" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/TestApplication/91la5j/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:23 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfDvtGauge" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/TestApplication/91la5j/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:23 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfRichPivotTable" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/TestApplication/91la5j/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:26 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfDvtGraph" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/TestJith/lea4zh/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:26 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfDvtGauge" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/TestJith/lea4zh/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:26 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfRichPivotTable" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/TestJith/lea4zh/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
<Feb 12, 2009 10:17:27 AM IST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
<Feb 12, 2009 10:17:27 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<Feb 12, 2009 10:17:27 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<Feb 12, 2009 10:17:27 AM IST> <Warning> <Server> <BEA-002611> <Hostname "Conti1", maps to multiple IP addresses: 192.168.1.12, 127.0.0.1>
<Feb 12, 2009 10:17:27 AM IST> <Warning> <Server> <BEA-002611> <Hostname "localhost", maps to multiple IP addresses: 192.168.1.12, 127.0.0.1>
<Feb 12, 2009 10:17:27 AM IST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
<Feb 12, 2009 10:17:27 AM IST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.1.12:7101 for protocols iiop, t3, ldap, snmp, http.>
<Feb 12, 2009 10:17:27 AM IST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
<Feb 12, 2009 10:17:28 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Feb 12, 2009 10:17:28 AM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
DefaultServer startup time: 88062 ms.
DefaultServer started.
[http://Running application Dashboard on Server Instance DefaultServer...]
---- Deployment started. ---- Feb 12, 2009 10:17:30 AM
Target platform is (Weblogic 10.3).
Running dependency analysis...
2009-02-12 10:17:30.859: Writing WAR file to C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\Dashboard\Dashboard-ViewController-webapp
2009-02-12 10:17:30.906: Wrote WAR file to C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\Dashboard\Dashboard-ViewController-webapp
WARNING: Connection G5PS has no password. G5PS-jdbc.xml file not generated for connection G5PS.
2009-02-12 10:17:31.078: Writing EAR file to C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\Dashboard
2009-02-12 10:17:31.093: Wrote EAR file to C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\Dashboard
Redeploying Application...
<Feb 12, 2009 10:17:32 AM IST> <Warning> <Deployer> <BEA-149124> <Failures were detected while initiating deploy task for application 'Dashboard'. Error is: '[Deployer:149164|http://forums.oracle.com/forums/]The domain edit lock is owned by another session in exclusive mode - hence this deployment operation cannot proceed.'>
weblogic.management.ManagementException: [Deployer:149164|http://forums.oracle.com/forums/]The domain edit lock is owned by another session in exclusive mode - hence this deployment operation cannot proceed.
#### Deployment incomplete. #### Feb 12, 2009 10:17:32 AM
oracle.jdeveloper.deploy.DeployException
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:247)
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:157)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:436)
at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
at oracle.jdevimpl.runner.adrs.AdrsStarter$5$1.run(AdrsStarter.java:1365)
Caused by: oracle.jdeveloper.deploy.DeployException
at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.redeployApplications(Jsr88DeploymentHelper.java:561)
at oracle.jdevimpl.deploy.weblogic.common.Jsr88WeblogicDeploymentHelper.redeployApplications(Jsr88WeblogicDeploymentHelper.java:259)
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:222)
... 11 more
Caused by: oracle.jdeveloper.deploy.DeployException: Deployment Failed
at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.redeployApplications(Jsr88DeploymentHelper.java:542)
... 13 more
#### Cannot run application Dashboard due to error deploying to DefaultServer.
[Application Dashboard stopped and undeployed from Server Instance DefaultServer|http://forums.oracle.com/forums/]
Kindly help me to sort this issue.
Thanks in Advance
Jithesh
Hi all,
I got the solution for this issue. Try to do the following steps...
open the admin console (http://127.0.0.1:7101/console) log in (user:weblogic pwd:weblogic). After successful login look in the upper left corner. There you see a button where you can activate pending changes (or revoke them).
If u hv any doubt then open the following URL
The domain edit lock is owned by another session in exclusive mode
Thank you very much to Timo....His tread helped me to solve this problem
Regards,
Jithesh
Similar Messages
-
Settings in Jdeveloper - WebApplication. Mr. Frank Could u Pls check this
Hi Mr. Frank,
I m using Jdeveloper 9i version.
I want to create a web application using Jdeveloper. is there any specified path is there to run suppose i want to run the project. ex: IDS home/J2ee/
Something like that...
Also another doubt. I hv already connected the db with server by configuring the tnsnames.ora file.. Is there any setting i will hv to do for Jdeveloper while i m creating the application.
Here i m facing one error while i run ma application-----
javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server reportserver failed
javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server reportserver failed
int oracle.reports.jsp.ReportTag.doStartTag()
void MyReport.jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
void oracle.jsp.runtime.HttpJsp.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
void oracle.jsp.runtimev2.JspPageTable.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
void oracle.jsp.runtimev2.JspServlet.internalService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
void oracle.jsp.runtimev2.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
void com.evermind.server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
void com.evermind.server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
boolean com.evermind.server.http.HttpRequestHandler.processRequest(com.evermind.server.ApplicationServerThread, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
void com.evermind.server.http.HttpRequestHandler.run(java.lang.Thread)
void com.evermind.util.ThreadPoolThread.run()
In this application i used 1 Jsp page(Attached a report created through Report Builder). While run the application I am facing this error.
Could you please clarify this...
Thanks in advance
Jithesh.You might check the Reports related forum like this thread REP-51002: Bind to Reports Server <servername> failed
--olaf -
Error While running the prgram in Second time..Frank Could u pls check this
Hi,
I am using JDeveloper 11g.
I have created a web application using ADF Business Components in JSF pages(Created the Bar Graph). When I am running the first it works fine. But when I try to run the second time it is giving some errors like Error 500 - Internal Server Error.
Kindly help me...
Thanks in Advance
Regards,
Jithesh.So what do you find in the log files, or console output?
--olaf -
Could someone please check this for
Hi there!
I need someone to do this quick check, so I don't have to install Vista in vain.
I mainly use MIDI interface for compositions and playback. So, could anyone please find a MIDI file with some FASTER parts, play it, and check if there are any dropouts or note misplacements?
It was the issue in all previous driver versions, so please, somebody check this for me will ya?
I have X-Fi Extreme Music.
ThanksHere is the link to 2 faster midi files... If you have Windows Vista, X-fi and new drivers, please listen to them and tell me do they sound good or bad. Are there any dropouts, or any other issues?
http://www.box.net/shared/2vxsohpagv
Thanks. -
Error in Code?-PlZ Check This
Hai,
We are getting an error in this code.We are beginners in Flex.
Can anyone help us?
This is our code....
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init()">
<mx:Script>
<![CDATA[
import flash.media.Camera;
import flash.media.Microphone;
private function init():void
cam.dataProvider=Camera.names;
mic.dataProvider=Microphone.names;
private function send():void
//var camera:Camera=Camera.getCamera();
var micro:Microphone=Microphone.getMicrophone();
micro.addEventListener(StatusEvent.STATUS, this.onMicStatus);
private function onMicstatus(event:StatusEvent):void
if(event.code == "Microphone.Unmuted")
trace("Microphone access allowed");
else if(event.code == "Microphone.Muted")
trace("Microphone access denied");
]]>
</mx:Script>
<mx:Panel x="265" y="50" width="294" height="200" layout="absolute">
<mx:VideoDisplay x="0" y="0" width="274" height="160"/>
</mx:Panel>
<mx:Button x="381.5" y="314" label="Start" click="send()"/>
<mx:Text x="281" y="24" text="Username" id="uname"/>
<mx:TextArea x="351" y="24" height="18" width="150"/>
<mx:Text x="281" y="260" text="Camera" width="62"/>
<mx:ComboBox x="351" y="258" width="191" id="cam"></mx:ComboBox>
<mx:Label x="273" y="286" text="microphone"/>
<mx:ComboBox x="351" y="284" width="191" id="mic"></mx:ComboBox>
</mx:Application>
ERROR:-
1013: The private attribute may be used only on class property definitions. videovoice/src videovoice.mxml line 23 1267425378537 662First of all, check Permit Debugging in publish settings so you can at least reference a line number. It's not very realistic to post 150 lines of code, and say guys can you check this.
Anyway from a cursory glance it looks like you only create 27 bricks:
for (var i=0; i<9; i++)
for (var j=0; j<3; j++)
bricks = new brick(i,j);
Brick_Array.push(bricks);
And then later you do this:
for (var k=0; k<100; k++)
if (Ball.hitTestObject(Brick_Array[k]))
You don't have 100 bricks in Brick_Array.
Also - as a matter of convention variables names should not have the first letter capitalized - that is for class naming. -
2 records updated plz check this
my requirement is update the database table zfmkstel with nrart = 'h' and proz1 = '100'. i m writting below logic two records udate like this
123455(tenum) h 100
123455(telnum) - -
my logic is
when 'SAVE'.
IF f1_rec ne 1 .
if sy-subrc = 0.
update zfm_handy from fs_temp_zfm_handy.
insert zfm_handy from fs_temp_zfm_handy.
MODIFY zfm_handy from fs_temp_zfm_handy.
if sy-subrc = 0.
insert zfmkstel from fs_temp_zfmkstel.
if sy-subrc = 0.
fs_temp_zfmkstel-telnum = fs_temp_zfm_handy-telnum.
fs_temp_zfmkstel-nrart = fs_temp_zfm_handy-nrart.
fs_temp_zfmkstel-proz1 = fs_temp_zfm_handy-proz1.
fs_temp_zfmkstel-nrart = 'H'.
fs_temp_zfmkstel-proz1 = '100'.
INSERT ZFMKSTEL FROM FS_TEMP_ZFMKSTEL.
fs_temp_zfmkstel-nrart = 'H'.
fs_temp_zfmkstel-proz1 = '100'.
insert into zfmkstel values fs_temp_zfmkstel.
commit work.
if sy-subrc = 0.
message s000(0) with 'record havebeen inserted sucessfully'.
MODIFY ZFMKSTEL FROM FS_TEMP_ZFMKSTEL.
else.
delete zfm_handy from fs_temp_zfm_handy.
endif.
endif.
else.
update zfm_handy from fs_temp_zfm_handy.
if sy-subrc eq 0.
fs_temp_zfmkstel-telnum = fs_temp_zfm_handy-telnum.
update zfmkstel from fs_temp_zfmkstel.
if sy-subrc eq 0.
message s000(0) with 'update sucessfully'.
endif.
endif.
endif.
endif.hi
do u have a problem with updating the records, i mean do u want update 2 records into the DB table with the same fields
check if the records have the same primary fields, if they have same primary fields then it will not update in the Z Table
check this code
READ TABLE IT_VBRK WITH KEY VBELN = T_VBRK_VBRP-VBELN.
IF SY-SUBRC = 0.
T_VBRK_VBRP-FKDAT = IT_VBRK-FKDAT.
MODIFY T_VBRK_VBRP TRANSPORTING FKDAT
WHERE VBELN = IT_VBRK-VBELN.
ENDIF.
this will simulatenously update all the records which have same VBELN
award points if found helpful -
Could you please check this code
Hi There,
The scenario here is :
I have written this piece of code but its not showing desired result .I think the problem is in the AVGRANGE.
Please look into this and let me know if I am doing anything wrong.
I need to accomplish this task ,if employee E1 & E2 are in Entity1 in Grade S in forecast1 and now in forecast 2 a new employee namely E3 has come in this new forecast and whether he belongs to same entity can be identified by a new account say "F",If "F" is present for that Employee in that particular entity means he belongs to that Entity .Then I need to calculate.
"P" value for E3 for a month=Avg of "P" value for E1 & E2 in Entity1 in Grade S for that month.
I think this code is calculating for invalid combination also.
FIX (&CurrFctScenario,&CurrFctVersion,&CurrYear)
FIX (&SeedCurrency)
FIX(@descendatns("Entity"),@descendatns(GRADE),@Descendants(Employee)
FIX (&CurrMonth:"MAY"
, &SeedHSP
"P"(
IF ( "F"!=#Missing AND "P"==#Missing)
@AVGRANGE(SKIPNONE,"P",@children(Employee)->@currmbr(Grade)->@currmbr(entity));
ENDIF;
ENDFIX
ENDFIX
One more thing as I am testing this code for say two three employees then its working fine but as I am uisng @children(Employee) then I am getting error message
Error: 1012704 Dynamic Calc processor cannot lock more than [200] ESM blocks during the calculation, please increase CalcLockBlock setting and then retry(a small data cache setting could also cause this problem, please check the data cache size setting).
Is there any other way of doing this calculation?
Edited by: user10760185 on Jun 1, 2011 5:35 AMThanks a lot Alp...
Please find the logic of the calculation below:
In forecast1,here E1=employee,S1=Grade,P1=Account member
E1->S1->Entity1->P1= 100
E2->S1->Entity1->P1=200
In forecast2,E3,a new employee has come and if he/she belongs to S1 and Entity1 ,then the value should be
If (E3->F!->@currmbr(grade)->@currmbr(entity)=#Missing AND P1==#Missing)
E3->S1->Entity1->P1= (100+200)/2
I will read the document and will check my cache settings.
Edited by: user10760185 on Jun 1, 2011 11:36 PM -
Plz check this...
plz go through this code ...in this i am not getting values in internal table t_get_documents though few values of vbeln in itab and jfrp are matching...can u tell what is wrong with this code...
TABLES: JFRP,jkap.
DATA: BEGIN OF T_GET_DOCUMENTS OCCURS 0,
ISPFAKVON LIKE JFRP-ISPFAKVON,
ISPDRERZ LIKE JFRP-ISPDRERZ,
ISPVBELN LIKE JFRP-ISPVBELN,
ISPFKPER LIKE JFRP-ISPFKPER,
NETWR LIKE JFRP-NETWR,
END OF T_GET_DOCUMENTS.
data: begin of itab occurs 0,
vbeln like jkap-vbeln,
end of itab.
SELECT-OPTIONS: s_date for jkap-ERFDATE.
select vbeln
into table itab
from jkap
where ERFDATE in s_date.
loop at itab.
select ispfakvon ispdrerz ispvbeln ispfkper netwr
into corresponding fields of table t_get_documents
from jfrp
where ispvbeln eq itab-vbeln.
endloop.Hi
TABLES: JFRP,jkap.
DATA: BEGIN OF T_GET_DOCUMENTS OCCURS 0,
ISPFAKVON LIKE JFRP-ISPFAKVON,
ISPDRERZ LIKE JFRP-ISPDRERZ,
ISPVBELN LIKE JFRP-ISPVBELN,
ISPFKPER LIKE JFRP-ISPFKPER,
NETWR LIKE JFRP-NETWR,
END OF T_GET_DOCUMENTS.
data: begin of itab occurs 0,
vbeln like jkap-vbeln,
end of itab.
SELECT-OPTIONS: s_date for jkap-ERFDATE.
select vbeln into table itab from jkap
where ERFDATE in s_date.
if not itab[] is initial.
select ispfakvon
ispdrerz
ispvbeln
ispfkper
netwr from jfrp into corresponding fields of table t_get_documents
for all entries of in itab
where ispvbeln eq itab-vbeln.
endif.
loop at itab.
endloop.
Thanks
mahi -
Could you please let me know about the above as i need to transfer files urgently. Have tried to resend again but to no avail.
Hi stephena,
I have checked your account; there are no recent orders under the email address that you use here in the forums. So, I'm wondering if you may have signed up using a different email address, or signed up for a subscription via a Reader mobile app? For the latter, those subscriptions are handled by the app store from which you made the purchase, so Adobe wouldn't have record of those.
Best,
Sara -
Error While running the prgram in Second time...Frank Could u pls check th
Hi,
I am using JDeveloper 11g.
I have created a web application using ADF Business Components. Here I created a Bar Graph. When I am running the first it works fine. But when I try to run the second time it is giving some errors like Error 500 - Internal Server Error.
Kindly help me...
Thanks in Advance
Regards,
Jithesh.Hi Timo,
Thanks a lot for the response.
I am searched as per your advise but still ma problem is there... I am not getting any proper solution for this
In the setDomainEnv.cmd file I am unable to find the PermGen size as you said...In the file I got the following line.
set MEM_PERM_SIZE=-XX:PermSize=48m
Is this I hv to change or something else. I am attaching the same file contents. Kindly help me....
set ORACLE_HOME=C:\Oracle\Middleware\jdeveloper
set WL_HOME=C:\Oracle\Middleware\wlserver_10.3
for %%i in ("%WL_HOME%") do set WL_HOME=%%~fsi
set BEA_JAVA_HOME=
set SUN_JAVA_HOME=C:\Oracle\Middleware\jdk160_05
if "%JAVA_VENDOR%"=="BEA" (
set JAVA_HOME=%BEA_JAVA_HOME%
) else (
if "%JAVA_VENDOR%"=="Sun" (
set JAVA_HOME=%SUN_JAVA_HOME%
) else (
set JAVA_VENDOR=Sun
set JAVA_HOME=C:\Oracle\Middleware\jdk160_05
@REM We need to reset the value of JAVA_HOME to get it shortened AND
@REM we can not shorten it above because immediate variable expansion will blank it
set JAVA_HOME=%JAVA_HOME%
for %%i in ("%JAVA_HOME%") do set JAVA_HOME=%%~fsi
set SAMPLES_HOME=%WL_HOME%\samples
set DOMAIN_HOME=C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain
for %%i in ("%DOMAIN_HOME%") do set DOMAIN_HOME=%%~fsi
set LONG_DOMAIN_HOME=C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain
if "%DEBUG_PORT%"=="" (
set DEBUG_PORT=8453
if "%SERVER_NAME%"=="" (
set SERVER_NAME=DefaultServer
set POINTBASE_FLAG=false
set enableHotswapFlag=
set PRODUCTION_MODE=
set doExitFlag=false
set verboseLoggingFlag=false
for %%p in (%*) do call :SET_PARAM %%p
GOTO :CMD_LINE_DONE
:SET_PARAM
for %%q in (%1) do set noQuotesParam=%%~q
if /i "%noQuotesParam%" == "nodebug" (
set debugFlag=false
GOTO :EOF
if /i "%noQuotesParam%" == "production" (
set DOMAIN_PRODUCTION_MODE=true
GOTO :EOF
if /i "%noQuotesParam%" == "notestconsole" (
set testConsoleFlag=false
GOTO :EOF
if /i "%noQuotesParam%" == "noiterativedev" (
set iterativeDevFlag=false
GOTO :EOF
if /i "%noQuotesParam%" == "noLogErrorsToConsole" (
set logErrorsToConsoleFlag=false
GOTO :EOF
if /i "%noQuotesParam%" == "nopointbase" (
set POINTBASE_FLAG=false
GOTO :EOF
if /i "%noQuotesParam%" == "doExit" (
set doExitFlag=true
GOTO :EOF
if /i "%noQuotesParam%" == "noExit" (
set doExitFlag=false
GOTO :EOF
if /i "%noQuotesParam%" == "verbose" (
set verboseLoggingFlag=true
GOTO :EOF
if /i "%noQuotesParam%" == "enableHotswap" (
set enableHotswapFlag=-javaagent:%WL_HOME%\server\lib\diagnostics-agent.jar
GOTO :EOF
) else (
set PROXY_SETTINGS=%PROXY_SETTINGS% %1
GOTO :EOF
:CMD_LINE_DONE
set MEM_DEV_ARGS=
if "%DOMAIN_PRODUCTION_MODE%"=="true" (
set PRODUCTION_MODE=%DOMAIN_PRODUCTION_MODE%
if "%PRODUCTION_MODE%"=="true" (
set debugFlag=false
set testConsoleFlag=false
set iterativeDevFlag=false
@REM If you want to override the default Patch Classpath, Library Path and Path for this domain,
@REM Please uncomment the following lines and add a valid value for the environment variables
@REM set PATCH_CLASSPATH=[myPatchClasspath] (windows)
@REM set PATCH_LIBPATH=[myPatchLibpath] (windows)
@REM set PATCH_PATH=[myPatchPath] (windows)
@REM PATCH_CLASSPATH=[myPatchClasspath] (unix)
@REM PATCH_LIBPATH=[myPatchLibpath] (unix)
@REM PATCH_PATH=[myPatchPath] (unix)
call "%WL_HOME%\common\bin\commEnv.cmd"
set WLS_HOME=%WL_HOME%\server
set MEM_ARGS=-Xms256m -Xmx512m
set MEM_PERM_SIZE=-XX:PermSize=48m
set MEM_MAX_PERM_SIZE=-XX:MaxPermSize=128m
if "%JAVA_VENDOR%"=="Sun" (
if "%PRODUCTION_MODE%"=="" (
set MEM_DEV_ARGS=-XX:CompileThreshold=8000 %MEM_PERM_SIZE%
@REM Had to have a separate test here BECAUSE of immediate variable expansion on windows
if "%JAVA_VENDOR%"=="Sun" (
set MEM_ARGS=%MEM_ARGS% %MEM_DEV_ARGS% %MEM_MAX_PERM_SIZE%
if "%JAVA_VENDOR%"=="HP" (
set MEM_ARGS=%MEM_ARGS% %MEM_MAX_PERM_SIZE%
@REM IF USER_MEM_ARGS the environment variable is set, use it to override ALL MEM_ARGS values
if NOT "%USER_MEM_ARGS%"=="" (
set MEM_ARGS=%USER_MEM_ARGS%
set JAVA_PROPERTIES=-Dplatform.home=%WL_HOME% -Dwls.home=%WLS_HOME% -Dweblogic.home=%WLS_HOME%
@REM To use Java Authorization Contract for Containers (JACC) in this domain,
@REM please uncomment the following section. If there are multiple machines in
@REM your domain, be sure to edit the setDomainEnv in the associated domain on
@REM each machine.
@REM
@REM -Djava.security.manager
@REM -Djava.security.policy=location of weblogic.policy
@REM -Djavax.security.jacc.policy.provider=weblogic.security.jacc.simpleprovider.SimpleJACCPolicy
@REM -Djavax.security.jacc.PolicyConfigurationFactory.provider=weblogic.security.jacc.simpleprovider.PolicyConfigurationFactoryImpl
@REM -Dweblogic.security.jacc.RoleMapperFactory.provider=weblogic.security.jacc.simpleprovider.RoleMapperFactoryImpl
set EXTRA_JAVA_PROPERTIES=-Ddomain.home=%DOMAIN_HOME% -Doracle.home=%ORACLE_HOME% -Doracle.security.jps.config=%DOMAIN_HOME%\config\oracle\jps-config.xml -Doracle.dms.context=OFF -Djava.protocol.handler.pkgs=oracle.mds.net.protocol %EXTRA_JAVA_PROPERTIES%
set JAVA_PROPERTIES=%JAVA_PROPERTIES% %EXTRA_JAVA_PROPERTIES%
set ARDIR=%WL_HOME%\server\lib
pushd %LONG_DOMAIN_HOME%
@REM Clustering support (edit for your cluster!)
if "%ADMIN_URL%"=="" (
@REM The then part of this block is telling us we are either starting an admin server OR we are non-clustered
set CLUSTER_PROPERTIES=-Dweblogic.management.discover=true
) else (
set CLUSTER_PROPERTIES=-Dweblogic.management.discover=false -Dweblogic.management.server=%ADMIN_URL%
if NOT "%LOG4J_CONFIG_FILE%"=="" (
set JAVA_PROPERTIES=%JAVA_PROPERTIES% -Dlog4j.configuration=file:%LOG4J_CONFIG_FILE%
set JAVA_PROPERTIES=%JAVA_PROPERTIES% %CLUSTER_PROPERTIES%
@REM Clear the pre_classpath here in case an application template wants to set it before the larger pre_classpath is invoked below
set PRE_CLASSPATH=
set JAVA_DEBUG=
if "%debugFlag%"=="true" (
set JAVA_DEBUG=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=%DEBUG_PORT%,server=y,suspend=n -Djava.compiler=NONE
set JAVA_OPTIONS=%JAVA_OPTIONS% %enableHotswapFlag% -ea -da:com.bea... -da:javelin... -da:weblogic... -ea:com.bea.wli... -ea:com.bea.broker... -ea:com.bea.sbconsole...
) else (
set JAVA_OPTIONS=%JAVA_OPTIONS% %enableHotswapFlag% -da
if NOT exist %JAVA_HOME%\lib (
echo The JRE was not found in directory %JAVA_HOME%. ^(JAVA_HOME^)
echo Please edit your environment and set the JAVA_HOME
echo variable to point to the root directory of your Java installation.
popd
pause
GOTO :EOF
if "%POINTBASE_FLAG%"=="true" (
set DATABASE_CLASSPATH=%POINTBASE_CLASSPATH%
) else (
set DATABASE_CLASSPATH=%POINTBASE_CLIENT_CLASSPATH%
set POST_CLASSPATH=
set POST_CLASSPATH=%ORACLE_HOME%\modules\features\adf.share_11.1.1.jar;%POST_CLASSPATH%
set POST_CLASSPATH=%POST_CLASSPATH%;%DATABASE_CLASSPATH%;%ARDIR%\xqrl.jar
@REM PROFILING SUPPORT
set JAVA_PROFILE=
set SERVER_CLASS=weblogic.Server
set JAVA_PROPERTIES=%JAVA_PROPERTIES% %WLP_JAVA_PROPERTIES%
set JAVA_OPTIONS=%JAVA_OPTIONS% %JAVA_PROPERTIES% -Dwlw.iterativeDev=%iterativeDevFlag% -Dwlw.testConsole=%testConsoleFlag% -Dwlw.logErrorsToConsole=%logErrorsToConsoleFlag%
@REM -- Setup properties so that we can save stdout and stderr to files
if NOT "%WLS_STDOUT_LOG%"=="" (
echo Logging WLS stdout to %WLS_STDOUT_LOG%
set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.Stdout=%WLS_STDOUT_LOG%
if NOT "%WLS_STDERR_LOG%"=="" (
echo Logging WLS stderr to %WLS_STDERR_LOG%
set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.Stderr=%WLS_STDERR_LOG%
@REM ADD EXTENSIONS TO CLASSPATHS
if NOT "%EXT_PRE_CLASSPATH%"=="" (
set PRE_CLASSPATH=%EXT_PRE_CLASSPATH%;%PRE_CLASSPATH%
if NOT "%EXT_POST_CLASSPATH%"=="" (
set POST_CLASSPATH=%POST_CLASSPATH%;%EXT_POST_CLASSPATH%
if NOT "%WEBLOGIC_EXTENSION_DIRS%"=="" (
set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.ext.dirs=%WEBLOGIC_EXTENSION_DIRS%
set JAVA_OPTIONS=%JAVA_OPTIONS%
@REM SET THE CLASSPATH
set CLASSPATH=%PRE_CLASSPATH%;%WEBLOGIC_CLASSPATH%;%POST_CLASSPATH%;%WLP_POST_CLASSPATH%
set JAVA_VM=%JAVA_VM% %JAVA_DEBUG% %JAVA_PROFILE%
Jithesh. -
Hi plz check this requirement..
hello,
i dont know whether it is possible..or not..
function getPropValues()
var docclassname = search.docclass.options.value;
alert(docclassname);
this my java script function..iam using in a jsp page..
this method is for onChange() function jsp page.. for a select box..if user selects any value in select box then this method fires..
List proplist = (List) interactionBean.getDocClassIndices(docclassname);
now what i want is..i want to call this method in above function..and pass that variable(doclassname)..in java script function..is it possible to do like this..
and return values i iterrate and put in in string array..i will use in the jsp page for adding them to select box..yeah keep the hidden field in the same form as you are submitting.
in the javascript function
do sthinglike search.yourhiddenfield.value = doclassname
(assuming search is the name of your form)
and submit(probably to the same jsp, not sure waht you want to do ). You can get the hidden field value through request.getParameter.
All the best. -
Could you please check this for me?
This application only runs on some computers. I can run it, but on my parents (who only have the 1.3.1_02 plug in, or something like that) the printing does not work. I keep getting exceptions when I try to print. Otherwise it works fine on mine. The exceptions (if any) are stored in a file called "Error.txt." Note: to test the printing you need to make a new listing. :-)
You can download this application here:
http://www.angelfire.com/ok5/java/AddressBook.zip
Thank you. Please tell me what you think of it if it works, by replying to this message. If you like this program you can by it for $2.00 (I need money for java books ;o) ).
Thank you all.
Joshuait printed! both the address and full listing.
-
Urgent could u plz clear my doubut
While copying the code for Z_CREATE_PDF program (which is getting submit from main program ZSDL_393_REASON_CODE_REPORT, we have noticed some issue:
There are 2 Function Modules 'Z_CONVERT_ABAPSPOOLJOB_2_PDF' and 'Z_CONVERT_OTFSPOOLJOB_2_PDF' being called from Z_CREATE_PDF program, which are not yet copied to RD2 server. When I checked in PF server, there is Custom Function Group ZSMS developed under which these function modules are created.
There are many other Function Modules, screens and includes under this Function Group.
Please advise whether we need to copy all the objects under this Function Group in RD2 as well, or some other work around is possible. Please note that this part is related to just the PDF File Creation on selection screen of main program.
TABLES:
bkpf,
bseg.
DATA: "Internal tables
BEGIN OF x_bkpf,
bukrs LIKE bkpf-bukrs, "Company Code
belnr LIKE bkpf-belnr, "Document Number
gjahr LIKE bkpf-gjahr, "Fiscal Year
budat LIKE bkpf-budat, "Posting Date
xblnr LIKE bkpf-xblnr, "Reference "PG01+
blart LIKE bkpf-blart, "Document Type "DB05+
END OF x_bkpf,
t_bkpf LIKE HASHED TABLE OF x_bkpf
WITH UNIQUE KEY bukrs belnr gjahr
WITH HEADER LINE,
BEGIN OF t_bseg OCCURS 0,
bukrs LIKE bseg-bukrs, "Company Code
belnr LIKE bseg-belnr, "Document Number
gjahr LIKE bseg-gjahr, "Fiscal Year
shkzg LIKE bseg-shkzg, "Debit/Credit indicator
wrbtr LIKE bseg-wrbtr, "Amount in doc currency
sgtxt LIKE bseg-sgtxt, "Reason Desc
hkont LIKE bseg-hkont, "G/L Account
kunnr LIKE bseg-kunnr, "Customer number
rstgr LIKE bseg-rstgr, "Reason Code
prctr LIKE bseg-prctr, "Business Unit (SBU)
xref1 LIKE bseg-xref1, "Ref Key 1 "PG01+
zloc LIKE bseg-zloc, "Location
zexp LIKE bseg-zexp, "Expense
zdtl LIKE bseg-zdtl, "Detail
END OF t_bseg,
Table of customer records from bseg (1 for each in T_BSEG)
BEGIN OF t_kunnr OCCURS 0,
bukrs LIKE bseg-bukrs, "Company Code
belnr LIKE bseg-belnr, "Document Number
gjahr LIKE bseg-gjahr, "Fiscal Year
kunnr LIKE bseg-kunnr, "Customer number
END OF t_kunnr,
BEGIN OF t_rstgr_sum OCCURS 0,
rstgr LIKE bseg-rstgr, "Reason Code
sgtxt LIKE bseg-sgtxt, "Reason Desc
wrbtr LIKE bseg-wrbtr, "Sum for a Reason Code
END OF t_rstgr_sum,
BEGIN OF t_hkont_sum OCCURS 0,
hkont LIKE bseg-hkont, "GL Account
wrbtr LIKE bseg-wrbtr, "Sum for a GL Account
END OF t_hkont_sum.
DATA: "Standalone work fields
sum_wrbtr LIKE bseg-wrbtr,
grand_wrbtr LIKE bseg-wrbtr,
save_rstgr LIKE t_bseg-rstgr,
save_sgtxt LIKE t_bseg-sgtxt, "PG02+
save_hkont LIKE t_bseg-hkont,
first_reason TYPE c,
first_glacct TYPE c,
detail_section TYPE c,
amount_out LIKE t_bseg-wrbtr,
l_rstgr LIKE t053r-rstgr.
Start of RC03
DATA:
valid TYPE c,
params LIKE pri_params,
job_released LIKE btch0000-char1,
job_name LIKE tbtcjob-jobname,
job_count LIKE tbtcjob-jobcount.
DATA:
BEGIN OF t_kna1 OCCURS 0,
kunnr LIKE kna1-kunnr,
knrza LIKE kna1-knrza,
END OF t_kna1.
DATA:
s_monat1 LIKE bkpf-monat,
s_monat2 LIKE bkpf-monat,
s_monat3 LIKE bkpf-monat,
s_monat4 LIKE bkpf-monat,
s_monat5 LIKE bkpf-monat,
s_monat6 LIKE bkpf-monat,
s_monat7 LIKE bkpf-monat,
s_monat8 LIKE bkpf-monat,
s_monat9 LIKE bkpf-monat,
s_monat10 LIKE bkpf-monat,
s_monat11 LIKE bkpf-monat,
s_monat12 LIKE bkpf-monat,
s_monatlow LIKE bkpf-monat, "DB05+
s_monathigh LIKE bkpf-monat. "DB05+
End of RC03
CONSTANTS:
c_company_code(4) VALUE 'PF01'.
RANGES:
r_rstgr FOR bseg-rstgr.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: p_gjahr LIKE bkpf-gjahr OBLIGATORY.
SELECT-OPTIONS: s_monat FOR bkpf-monat OBLIGATORY, "RC03+ "DB05+
s_blart FOR bkpf-blart OBLIGATORY, "DB05+
s_budat FOR bkpf-budat. "PG01+
SELECT-OPTIONS: s_hkont FOR bseg-hkont,
s_rstgr FOR bseg-rstgr.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-026.
PARAMETERS: p_pdf AS CHECKBOX.
SELECTION-SCREEN END OF BLOCK b2.
*Start of RC03
PARAMETERS:
backgr(1) TYPE c DEFAULT 'X' MODIF ID dsp,
process(1) TYPE c MODIF ID dsp.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-group1 = 'DSP'.
screen-active = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
*End of RC03
Print page headers *
TOP-OF-PAGE.
PERFORM page_header.
START-OF-SELECTION.
Start Processing
IF process = 'X'.
PERFORM main.
ENDIF.
Submit background job
IF backgr = 'X'.
job_name = 'Reason Code Report'.
MESSAGE s000 WITH 'Background job has been submitted.'.
PERFORM background.
ENDIF.
PDF creation
IF p_pdf = 'X'. "RC04
SUBMIT zsdl_393_create_pdf
VIA SELECTION-SCREEN AND RETURN. "RC04
ENDIF. "RC04
FORM main.
Load Data into internal tables *
*SELECT bukrs belnr gjahr budat FROM bkpf "PG01-
*SELECT bukrs belnr gjahr budat xblnr FROM bkpf "PG01+ "DB05-
SELECT bukrs belnr gjahr blart budat xblnr FROM bkpf "DB05+
INTO CORRESPONDING FIELDS OF TABLE t_bkpf
WHERE gjahr = p_gjahr "Fiscal Year
AND monat = p_monat "Posting Period "RC03-
AND monat IN s_monat "Posting Period "RC03+
AND blart IN s_blart "Document Type "DB05+
AND budat IN s_budat. "Posting Date "PG01+
*AND (blart = 'AB' OR blart = 'DZ' OR blart = 'ZO' ). "DB05-
IF NOT t_bkpf[] IS INITIAL.
If the user selected specific Reason Codes, use that range...
Otherwise, create a range of valid Reason Codes from table T053R.
IF s_rstgr IS INITIAL.
READ TABLE t_bkpf INDEX 1. "Get first record for company code
SELECT rstgr FROM t053r
INTO l_rstgr
WHERE bukrs = c_company_code.
r_rstgr-sign = 'I'. "Include
r_rstgr-option = 'EQ'. "where values equal
r_rstgr-low = l_rstgr. "comparison field
APPEND r_rstgr.
ENDSELECT.
ELSE.
r_rstgr[] = s_rstgr[].
ENDIF.
*--- This section removed b/c of TDS review
SELECT bukrs belnr shkzg wrbtr sgtxt hkont
kunnr rstgr prctr zloc zexp zdtl
FROM bseg
INTO CORRESPONDING FIELDS OF t_bseg
FOR ALL ENTRIES IN t_bkpf
WHERE bukrs = t_bkpf-bukrs "Company code
AND belnr = t_bkpf-belnr "Doc#
AND hkont IN s_hkont "Account# range
AND rstgr IN r_rstgr. "Reason Code range
Override blank Customer number in table from BSEG record.
SELECT SINGLE kunnr FROM bseg
INTO t_bseg-kunnr
WHERE bukrs = t_bkpf-bukrs
AND belnr = t_bkpf-belnr
AND gjahr = t_bkpf-gjahr
AND koart = 'D'.
if sy-subrc > 0.
t_bseg-kunnr = ' '.
endif.
APPEND t_bseg.
ENDSELECT.
*--- End of TDS review removal
*--- This is the new section added b/c of the TDS review
SELECT bukrs belnr gjahr shkzg wrbtr sgtxt hkont
kunnr rstgr prctr zloc zexp zdtl "PG01-
kunnr rstgr prctr xref1 "zloc zexp zdtl "PG01+
FROM bseg
INTO CORRESPONDING FIELDS OF TABLE t_bseg
FOR ALL ENTRIES IN t_bkpf
WHERE bukrs = t_bkpf-bukrs "Company code
AND belnr = t_bkpf-belnr "Doc#
AND hkont IN s_hkont "Account# range
AND rstgr IN r_rstgr. "Reason Code range
Retrieve records from BSEG which have the Customer number
SELECT bukrs belnr gjahr kunnr FROM bseg
INTO CORRESPONDING FIELDS OF TABLE t_kunnr
FOR ALL ENTRIES IN t_bkpf
WHERE bukrs = t_bkpf-bukrs
AND belnr = t_bkpf-belnr
AND gjahr = t_bkpf-gjahr
AND koart = 'D'.
*--- End of TDS review addition
*->Start of RC03
SELECT kunnr
knrza
FROM kna1
INTO TABLE t_kna1
FOR ALL ENTRIES IN t_kunnr
WHERE kunnr = t_kunnr-kunnr.
SORT t_kna1 BY kunnr.
*->End of RC03
ENDIF. "t_bkpf has records in it
MAINLINE - Write Report Details *
detail_section = 'Y'. "Write column headers
NEW-PAGE.
CLEAR sum_wrbtr.
SORT t_bkpf BY bukrs belnr.
MAINLINE - LOOP THROUGH INTERNAL TABLE & PROCESS REPORT.
SORT t_bseg BY rstgr belnr.
LOOP AT t_bseg.
ON CHANGE OF t_bseg-rstgr.
IF sy-tabix <> 1. "If not first time
PERFORM write_detail_subtotal.
ENDIF.
CLEAR sum_wrbtr. "Clear sum for next reason code.
save_rstgr = t_bseg-rstgr.
save_sgtxt = t_bseg-sgtxt. "PG02+
ENDON.
Set amount field, add to sum, and print detail line.
amount_out = t_bseg-wrbtr.
IF t_bseg-shkzg = 'H'.
MULTIPLY amount_out BY -1.
ENDIF.
sum_wrbtr = sum_wrbtr + amount_out.
PERFORM write_detail_line.
Add amount to GL Account total internal table
CLEAR t_hkont_sum-hkont.
CLEAR t_hkont_sum-wrbtr.
READ TABLE t_hkont_sum WITH KEY hkont = t_bseg-hkont.
t_hkont_sum-wrbtr = t_hkont_sum-wrbtr + amount_out.
IF sy-subrc = 0. "GL Account already found.
MODIFY t_hkont_sum INDEX sy-tabix. "Modify existing itab record
ELSE.
t_hkont_sum-hkont = t_bseg-hkont. "Set Account# itab key field
APPEND t_hkont_sum.
ENDIF.
AT LAST.
PERFORM write_detail_subtotal.
ENDAT.
ENDLOOP.
FREE t_bkpf.
FREE t_bseg.
detail_section = 'N'. "Suppress column headers
PERFORM write_summary. "Print Summary page by Reason & GL Account
ENDFORM. " main
*& Form page_header
text
--> p1 text
<-- p2 text
FORM page_header.
Start of RC03
LOOP AT s_monat.
CASE sy-tabix.
WHEN 1.
s_monat1 = s_monat-low.
s_monatlow = s_monat-low. "DB05+
s_monathigh = s_monat-high. "DB05+
WHEN 2.
s_monat2 = s_monat-low.
WHEN 3.
s_monat3 = s_monat-low.
WHEN 4.
s_monat4 = s_monat-low.
WHEN 5.
s_monat5 = s_monat-low.
WHEN 6.
s_monat6 = s_monat-low.
WHEN 7.
s_monat7 = s_monat-low.
WHEN 8.
s_monat8 = s_monat-low.
WHEN 9.
s_monat9 = s_monat-low.
WHEN 10.
s_monat10 = s_monat-low.
WHEN 11.
s_monat11 = s_monat-low.
WHEN 12.
s_monat12 = s_monat-low.
ENDCASE.
ENDLOOP.
End of RC03
CALL FUNCTION 'Z_STANDARD_REPORT_HEADER'
EXPORTING
report_name = sy-cprog
report_width = sy-linsz
report_title = 'Reason Code Summary'.
SKIP.
Print selected Fiscal Year
WRITE AT: /51 text-002,
66 p_gjahr.
Print selected Fiscal Period
WRITE AT: /51 text-003. "DB05
66 p_monat. "RC03-
Start of RC03
IF s_monathigh = 0. "DB05+
WRITE AT: 66 s_monat1 NO-ZERO,
69 s_monat2 NO-ZERO,
72 s_monat3 NO-ZERO,
75 s_monat4 NO-ZERO,
78 s_monat5 NO-ZERO,
81 s_monat6 NO-ZERO,
/66 s_monat7 NO-ZERO,
69 s_monat8 NO-ZERO,
72 s_monat9 NO-ZERO,
75 s_monat10 NO-ZERO,
78 s_monat11 NO-ZERO,
81 s_monat12 NO-ZERO.
ELSE. "DB05+
WRITE AT: 66 s_monatlow NO-ZERO, "DB05+
69 '-', "DB05+
71 s_monathigh NO-ZERO, "DB05+
74 s_monat2 NO-ZERO, "DB05+
77 s_monat3 NO-ZERO, "DB05+
80 s_monat4 NO-ZERO, "DB05+
83 s_monat5 NO-ZERO, "DB05+
/66 s_monat6 NO-ZERO, "DB05+
69 s_monat7 NO-ZERO, "DB05+
72 s_monat8 NO-ZERO, "DB05+
75 s_monat9 NO-ZERO, "DB05+
78 s_monat10 NO-ZERO, "DB05+
81 s_monat11 NO-ZERO, "DB05+
84 s_monat12 NO-ZERO. "DB05+
ENDIF. "DB05+
*End of RC03
Print selected Posting Date range
WRITE AT: /51 text-022. "PG01+
IF s_budat IS INITIAL. "PG01+
WRITE AT: 66 'All'. "PG01+
ELSE. "PG01+
WRITE AT: 66 s_budat-low, "PG01+
77 '-', "PG01+
79 s_budat-high. "PG01+
ENDIF. "PG01+
SKIP.
SKIP.
If we are in the detail section of the report, print column headers.
IF detail_section = 'Y'.
WRITE AT: /21 text-004,
34 t_bseg-rstgr,
39 text-005,
52 t_bseg-sgtxt.
SKIP.
WRITE AT: /1 text-006, "Doc Number"
13 text-007, "Business Unit" "DB05-
28 text-008, "Location" "DB05-
38 text-009, "Account" "DB05-
50 text-010, "Expense" "DB05-
59 text-011, "Detail" "DB05-
69 text-012, "Customer" "DB05-
81 text-025, "Alt Payer "DB05-
93 text-023, "Reference "PG01+ "DB05-
111 text-024, "Ref Key 1 "PG01+ "DB05-
81 text-013, "Amount" "PG01- "DB05-
99 text-014. "Posting Date" "PG01- "DB05-
125 text-013, "Amount" "PG01+ "DB05-
143 text-014. "Posting Date" "PG01+ "DB05-
13 text-027, "Doc Type" "DB05+
23 text-007, "Business Unit" "DB05+
38 text-008, "Loc" "DB05+
44 text-009, "Account" "DB05+
56 text-010, "Exp" "DB05+
61 text-011, "Detail" "DB05+
71 text-012, "Customer" "DB05+
83 text-025, "Alt Payer "DB05+
95 text-023, "Reference "PG01+ "DB05+
113 text-024, "Ref Key 1 "PG01+ "DB05+
127 text-013, "Amount" "PG01+ "DB05+
145 text-014. "Posting Date" "PG01+ "DB05+
WRITE AT: /1 '----
', "Underline Doc Number
13 '-------------', "Underline Business Unit "DB05-
28 '--------', "Underline Location "DB05-
38 '----------', "Underline Account "DB05-
50 '-------', "Underline Expense "DB05-
59 '--------', "Underline Detail "DB05-
69 '----------', "Underline Customer "DB05-
81 '----------', "Underline Alternate payer "DB05-
93 '----------------', "Underline Reference "DB05-
111 '------------', "Underline Ref Key 1 "DB05-
125 '----------------', "Underline Amount "DB05-
143 '------------'. "Underline Posting Date "DB05-
13 '----
', "Underline Doc Type "DB05+
23 '----
', "Underline Business Unit "DB05+
38 '----', "Underline Loc "DB05+
44 '----
', "Underline Account "DB05+
56 '---', "Underline Exp "DB05+
61 '----
', "Underline Detail "DB05+
71 '----
', "Underline Customer "DB05+
83 '----
', "Underline Alternate payer "DB05+
95 '----
', "Underline Reference "DB05+
113 '----
', "Underline Ref Key 1 "DB05+
127 '----
', "Underline Amount "DB05+
145 '----
'. "Underline Posting Date "DB05+
*->Start RC03
81 '----------------', "Underline Reference "PG01+
99 '------------', "Underline Ref Key 1 "PG01+
81 '----------------', "Underline Amount "PG01-
99 '------------'. "Underline Posting Date "PG01-
113 '----------------', "Underline Amount "PG01+
131 '------------'. "Underline Posting Date "PG01+
End RC03
SKIP.
ENDIF.
ENDFORM. " page_header
*& Form Write_Detail_Line
Print a detail line.
--> p1 text
<-- p2 text
FORM write_detail_line.
Retrieve the Posting Date from the header table (BUDAT)
READ TABLE t_bkpf
WITH TABLE KEY bukrs = t_bseg-bukrs
belnr = t_bseg-belnr
gjahr = t_bseg-gjahr.
*--- This is a new section added b/c of the TDS review
Retrieve the Customer number from the 'D' BSEG records
READ TABLE t_kunnr
WITH KEY bukrs = t_bseg-bukrs
belnr = t_bseg-belnr
gjahr = t_bkpf-gjahr.
IF sy-subrc <> 0.
t_kunnr-kunnr = 9999999999.
ENDIF.
*--- End of TDS review addition
*Start of RC03
CLEAR t_kna1.
READ TABLE t_kna1 WITH KEY kunnr = t_kunnr-kunnr.
*End of RC03
WRITE AT: /1 t_bseg-belnr,
13 t_bseg-prctr, "DB05-
28 t_bseg-zloc, "DB05-
38 t_bseg-hkont, "DB05-
50 t_bseg-zexp, "DB05-
59 t_bseg-zdtl, "DB05-
*TDS- 69 t_bseg-kunnr, "DB05-
69 t_kunnr-kunnr, "TDS+ "DB05-
81 t_kna1-knrza, "Alt payer "RC03+ "DB05-
93 t_bkpf-xblnr, "Reference "PG01+ "DB05-
111 t_bseg-xref1, "Ref Key 1 "PG01+ "DB05-
81 amount_out, "PG01- "DB05-
99 t_bkpf-budat. "PG01- "DB05-
125 amount_out, "PG01+ "DB05-
143 t_bkpf-budat. "PG01+ "DB05-
13 t_bkpf-blart, "DB05+
23 t_bseg-prctr, "DB05+
38 t_bseg-zloc, "DB05+
44 t_bseg-hkont, "DB05+
56 t_bseg-zexp, "DB05+
61 t_bseg-zdtl, "DB05+
71 t_kunnr-kunnr, "TDS+ "DB05+
83 t_kna1-knrza, "Alt payer "RC03+ "DB05+
95 t_bkpf-xblnr, "Reference "PG01+ "DB05+
113 t_bseg-xref1, "Ref Key 1 "PG01+ "DB05+
127 amount_out, "PG01+ "DB05+
145 t_bkpf-budat. "PG01+ "DB05+
ENDFORM. " Write_Detail_Line
*& Form Write_Detail_Subtotal
Write the Reason Code subtotal line for the detail section.
--> p1 text
<-- p2 text
FORM write_detail_subtotal.
WRITE AT: /81 '----------------'. "PG01-
WRITE AT: /56 text-015, "PG01-
81 sum_wrbtr. "PG01-
WRITE AT: /81 '----------------'. "PG01-
WRITE AT: /81 '----------------'. "PG01-
WRITE AT: /125 '----------------'. "PG01+ "DB05-
WRITE AT: /56 text-015, "PG01+ "DB05-
125 sum_wrbtr. "PG01+ "DB05-
WRITE AT: /125 '----------------'. "PG01+ "DB05-
WRITE AT: /125 '----------------'. "PG01+ "DB05-
WRITE AT: /127 '----
'. "PG01+ "DB05+
WRITE AT: /56 text-015, "PG01+ "DB05+
127 sum_wrbtr. "PG01+ "DB05+
WRITE AT: /127 '----
'. "PG01+ "DB05+
WRITE AT: /127 '----
'. "PG01+ "DB05+
NEW-PAGE.
Add the total for this reason code to an internal table
for printing the Summary Page at the end.
CLEAR t_rstgr_sum-rstgr.
CLEAR t_rstgr_sum-wrbtr.
t_rstgr_sum-rstgr = save_rstgr.
t_rstgr_sum-sgtxt = save_sgtxt. "PG02+
t_rstgr_sum-wrbtr = sum_wrbtr.
APPEND t_rstgr_sum.
ENDFORM. " Write_Detail_Subtotal
*& Form Write_Summary
Prints the Summary section at the end of the report
--> p1 text
<-- p2 text
FORM write_summary.
NEW-PAGE.
WRITE AT: /20 text-016.
SKIP.
Print Summary by Reason Code
WRITE AT: /20 text-017. "Reason Code Description Total"
SKIP.
CLEAR grand_wrbtr.
LOOP AT t_rstgr_sum.
grand_wrbtr = grand_wrbtr + t_rstgr_sum-wrbtr.
IF first_reason IS INITIAL.
WRITE AT: /27 t_rstgr_sum-rstgr,
33 text-021, "Dollar sign ($) "PG02-
34 t_rstgr_sum-wrbtr. "PG02-
33 t_rstgr_sum-sgtxt,
83 text-021, "Dollar sign ($) "PG02+
84 t_rstgr_sum-wrbtr.
first_reason = 'N'.
ELSE.
WRITE AT: /27 t_rstgr_sum-rstgr,
34 t_rstgr_sum-wrbtr. "PG02-
33 t_rstgr_sum-sgtxt,
84 t_rstgr_sum-wrbtr.
ENDIF.
ENDLOOP.
PERFORM grand_total.
SKIP.
SKIP.
SKIP.
Print Summary by GL Account
WRITE AT: /20 text-018. "GL Account Total"
SKIP.
CLEAR grand_wrbtr.
LOOP AT t_hkont_sum.
grand_wrbtr = grand_wrbtr + t_hkont_sum-wrbtr.
IF first_glacct IS INITIAL.
WRITE AT: /22 t_hkont_sum-hkont,
83 text-021, "Dollar sign ($)
84 t_hkont_sum-wrbtr.
first_glacct = 'N'.
ELSE.
WRITE AT: /22 t_hkont_sum-hkont,
84 t_hkont_sum-wrbtr.
ENDIF.
ENDLOOP.
PERFORM grand_total.
ENDFORM. " Write_Summary
*& Form Grand_Total
*& Replaced below by mod PG02.
Writes Grand Total lines of the two summary page sections.
--> p1 text
<-- p2 text
*FORM grand_total.
*SKIP.
*WRITE AT: /33 text-020. "16 dashes (for underlining)
*WRITE AT: /19 text-019, "Grand Total"
33 text-021, "Dollar sign ($)
34 grand_wrbtr.
*WRITE AT: /33 text-020. "16 dashes (for underlining)
*WRITE AT: /33 text-020. "16 dashes (for underlining)
*SKIP.
*ENDFORM. " Grand_Total
*& Form Grand_Total
*& New column numbers by mod PG02
Writes Grand Total lines of the two summary page sections.
--> p1 text
<-- p2 text
FORM grand_total.
SKIP.
WRITE AT: /83 text-020. "16 dashes (for underlining)
WRITE AT: /19 text-019, "Grand Total"
83 text-021, "Dollar sign ($)
84 grand_wrbtr.
WRITE AT: /83 text-020. "16 dashes (for underlining)
WRITE AT: /83 text-020. "16 dashes (for underlining)
SKIP.
ENDFORM. " Grand_Total
*& Form background
text
--> p1 text
<-- p2 text
FORM background.
*Get print parameters
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
immediately = ' '
no_dialog = 'X'
IMPORTING
out_parameters = params
valid = valid.
*Job Open
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = job_name
sdlstrtdt = sy-datum
sdlstrttm = sy-uzeit
IMPORTING
jobcount = job_count
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
*Background job submittion
SUBMIT zsdl_393_reason_code_report
WITH p_gjahr = p_gjahr
WITH s_monat IN s_monat
WITH s_blart IN s_blart
WITH s_budat IN s_budat
WITH s_hkont IN s_hkont
WITH s_rstgr IN s_rstgr
WITH backgr = ' '
WITH process = 'X'
VIA JOB job_name
NUMBER job_count
AND RETURN.
*Job Close
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = job_count
jobname = job_name
strtimmed = 'X'
targetsystem = sy-host
IMPORTING
job_was_released = job_released
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
OTHERS = 8.
ENDFORM. " background
this is a report of pdf
theres is one pdf file could u plz explain this
TABLES: tsp01,
knvh,
scal,
p0001.
I N T E R N A L T A B L E S *
DATA: int_spo LIKE tsp01 OCCURS 100 WITH HEADER LINE.
DATA: int_tsp01p LIKE tsp01psy OCCURS 100 WITH HEADER LINE.
DATA: otf LIKE itcoo OCCURS 100 WITH HEADER LINE.
DATA: pdf LIKE tline OCCURS 100 WITH HEADER LINE.
DATA: doctab LIKE docs OCCURS 1 WITH HEADER LINE.
DATA: int_xpm LIKE btcxpm OCCURS 100 WITH HEADER LINE.
DATA: cancel.
DATA: BEGIN OF int_knvh OCCURS 100,
kunnr LIKE knvh-kunnr,
hkunnr LIKE knvh-hkunnr.
DATA: END OF int_knvh.
DATA: BEGIN OF db_tab OCCURS 100,
filenam(128) TYPE c.
DATA: END OF db_tab.
D A T A C O N S T A N T S *
DATA: numbytes TYPE i,
arc_idx LIKE toa_dara,
pdfspoolid LIKE tsp01-rqident,
rq2name(12) TYPE n,
rqcretime LIKE tsp01-rqcretime,
hkunnr LIKE knvh-hkunnr,
hreffile(30) TYPE c,
jobname LIKE tbtcjob-jobname,
jobcount LIKE tbtcjob-jobcount,
counter LIKE syst-tabix,
g_count(4) TYPE n,
g_path LIKE rlgrap-filename,
g_filename TYPE string.
DATA: client LIKE tst01-dclient,
name LIKE tst01-dname,
objtype LIKE rststype-type,
type LIKE rststype-type,
dblink LIKE rlgrap-filename,
bothpath LIKE rlgrap-filename,
add_param LIKE sxpgcolist-parameters,
icon_note(5).
DATA: date LIKE scal-date,
weekday LIKE scal-indicator,
days LIKE t5a4a-dlydy,
months LIKE t5a4a-dlymo,
years LIKE t5a4a-dlyyr,
saturday LIKE p0001-begda.
P A R A M E T E R S & S E L E C T - O P T I O N S *
SELECTION-SCREEN BEGIN OF BLOCK box WITH FRAME TITLE text-001.
PARAMETERS: p_client LIKE tsp01-rqclient DEFAULT syst-mandt.
SELECT-OPTIONS: s_spool FOR tsp01-rqident,
s_rqdate FOR sy-datum,
s_otptd FOR tsp01-rqdest NO INTERVALS.
SELECT-OPTIONS: p_rqnam1 FOR tsp01-rq0name NO INTERVALS,
p_rqnam2 FOR tsp01-rq1name NO INTERVALS,
p_rqnam3 FOR tsp01-rq2name NO INTERVALS,
s_rqownr FOR tsp01-rqowner NO INTERVALS,
s_rqtitl FOR tsp01-rqtitle NO INTERVALS.
SELECTION-SCREEN SKIP.
Block PDF description
SELECTION-SCREEN BEGIN OF BLOCK desc WITH FRAME TITLE text-017.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: p_sfx12 RADIOBUTTON GROUP two.
SELECTION-SCREEN COMMENT 4(27) text-022.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: p_sfx2 RADIOBUTTON GROUP two.
SELECTION-SCREEN COMMENT 4(27) text-018.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: p_titl RADIOBUTTON GROUP two.
SELECTION-SCREEN COMMENT 4(27) text-019.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: p_cust RADIOBUTTON GROUP two.
SELECTION-SCREEN COMMENT 4(27) text-020.
PARAMETERS: pt_tcust(20) TYPE c.
SELECTION-SCREEN COMMENT 52(1) text-024.
PARAMETERS: p_incre AS CHECKBOX.
SELECTION-SCREEN COMMENT (20) text-021.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: p_date AS CHECKBOX.
SELECTION-SCREEN COMMENT 4(27) text-023.
*PARAMETERS: pt_date LIKE sy-datum DEFAULT sy-datum.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK desc.
*Block download
SELECTION-SCREEN BEGIN OF BLOCK options WITH FRAME TITLE text-003.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: p_unix RADIOBUTTON GROUP one.
SELECTION-SCREEN COMMENT 4(27) text-007.
PARAMETERS: p_unxpat LIKE rlgrap-filename.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: p_pcdwn RADIOBUTTON GROUP one.
SELECTION-SCREEN COMMENT 4(27) text-006.
PARAMETERS: p_pcpath LIKE rlgrap-filename.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: p_test AS CHECKBOX.
SELECTION-SCREEN COMMENT 4(27) text-008.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK options.
*Block Pointer file
SELECTION-SCREEN BEGIN OF BLOCK dbfile WITH FRAME TITLE text-016.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: p_point AS CHECKBOX.
SELECTION-SCREEN COMMENT 4(27) text-025.
PARAMETERS: p_dbfile LIKE rlgrap-filename.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK dbfile.
SELECTION-SCREEN END OF BLOCK box.
AT-SELECTION-SCREEN *
AT SELECTION-SCREEN ON pt_tcust.
IF p_cust = 'X' AND
pt_tcust IS INITIAL.
MESSAGE e000 WITH 'Please enter custom name'.
ENDIF.
AT SELECTION-SCREEN ON p_unxpat.
IF p_unix = 'X' AND
p_unxpat IS INITIAL.
MESSAGE e000 WITH 'Please enter Unix path'.
ENDIF.
AT SELECTION-SCREEN ON p_pcpath.
IF p_pcdwn = 'X' AND
p_pcpath IS INITIAL.
MESSAGE e000 WITH 'Please enter PC path'.
ENDIF.
AT SELECTION-SCREEN ON p_dbfile.
IF p_point = 'X' AND
p_dbfile IS INITIAL.
MESSAGE e000 WITH 'Please enter pointer file path in Unix'.
ENDIF.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_pcpath.
*Checks for the selected file
CALL FUNCTION 'WS_FILENAME_GET'
EXPORTING
mask = ',* ,*.'
mode = '0'
IMPORTING
filename = g_filename
EXCEPTIONS
inv_winsys = 1
no_batch = 2
selection_cancel = 3
selection_error = 4
OTHERS = 5.
IF sy-subrc = 0.
p_pcpath = g_filename.
ENDIF.
TOP OF PAGE *
TOP-OF-PAGE.
PERFORM page_header.
START OF SELECTION *
START-OF-SELECTION.
SELECT * FROM tsp01 CLIENT SPECIFIED WHERE rqident IN s_spool
AND rqclient EQ p_client
AND rqdest IN s_otptd
AND rq0name IN p_rqnam1
AND rq1name IN p_rqnam2
AND rq2name IN p_rqnam3
AND rqowner IN s_rqownr
AND rqtitle IN s_rqtitl.
CHECK tsp01-rqcretime(8) IN s_rqdate.
MOVE tsp01-rqident TO int_spo-rqident.
MOVE tsp01-rq0name TO int_spo-rq0name.
MOVE tsp01-rq1name TO int_spo-rq1name.
MOVE tsp01-rq2name TO int_spo-rq2name.
MOVE tsp01-rqtitle TO int_spo-rqtitle.
MOVE tsp01-rqcretime(8) TO int_spo-rqcretime.
MOVE tsp01-rqdest TO int_spo-rqdest.
APPEND int_spo.
ENDSELECT.
IF sy-subrc NE 0.
Invalid parameters entered! Please correct and re-execute.
MESSAGE s014(zz).
ENDIF.
END-OF-SELECTION.
CLEAR: int_spo.
SORT int_spo BY rqident rq2name.
LOOP AT int_spo.
Sapscript or list
PERFORM sapscript_or_list.
Define PDF description
PERFORM pdf_desc.
Option to download PDF files to local PC
Real-time or test mode
IF p_test <> 'X'.
IF p_pcdwn EQ 'X'.
PERFORM down_to_pc.
Option to download PDF files to Unix
ELSEIF p_unix = 'X'.
PERFORM down_to_unix.
ENDIF.
ENDIF.
Print report
Hello...
Create a new function group and required function module in the RD2 server using SE37. Enter the various parameters and exceptions, then cut and paste the code from one system to another. Create includes and use cut and paste to do that as well. -
"This document could not be checked out." SharePoint 2010 checkout action using IE8
I am setting up a two-server farm, and most everything works, except the checkout action for a document. This problem occurs in both site collections, one of which requires checkout, and the other does not.
Here are the options I've tried:
Snow Leopard, Firefox 3.0.1 - works
Snow Leopard, Safari - works
Win 2003, IE 7 - works
XP, Firefox - works
XP, IE 8 - "This document could not be checked out. You may not have permission to check out the document or it is already checked out or locked for editing by another user."
In IE8, I am able to open a document as read only then use the button presented by Word to check out the document. I cannot use that as a workaround, as not all users have a version of Office that will allow checkout in that way.
Checkin works fine. I need to resolve the checkout error.I was having the same problem mentioned here. I noted that this problem only appears when I use the FQDN in the URL ex 'http://hostname.domain.com/default.aspx'. If I access the Sharepoint site using the URL 'http://hostname/default.aspx', then
I do not have any problems checking files in or out.
I ran into this same error pattern when trying to do a document edit (library is set to force a check out), or do a direct check out via the ribbon menu or item context menu. Oddly enough when we would use the 'Edit Properties' ribbon button (which forces
a check out) we did not get an error and the document's status would change to 'checked out'. Below are the two messages we would receive when trying to do a check out:
IE error message - "This document could not be checked out. You may not have permission to check out this document or it is already checked out or locked by another user." - Click OK
IE Error message - "The document could not be opened for editing. A Microsoft SharePoint Foundation compatible application could not be found to edit the document." - Click OK
After trying several different suggestions I realized that I wasn't having the problem when I was accessing the site locally via FQDN but only when I was using the Public Site URL (via https). Turns out we were getting the error because we did not have
an AAM currectly setup. Once I changed our AAM for the Internet zone with the Public URL value instead of the FQDN the error went away.
Hope this helps anyone else trying to track this down. Oh and this was SP2010 w/SP1 (Patch version 14.0.6106.5001) on Win2008 R2 with clients running both Win7 and WinXP using IE8. -
Hai friends :)
could u plz ......
i am getting data from db , but the name can have any spection characters like eg : abc"shdjj'\n"fdjhhh
now i am getting the value using c:out
<c:out value="${Object.name}" escapeXml="false"/>
i want 2 assign this value to one java script variable like this
var Obj = "<c:out value="${Object.name}" escapeXml="false"/>";
but it is not accepting " in the string
thanks in advance .........You'll need to escape the quotes. If you don't have single quotes in your data, you could simply make your JavaScript string enclosed in single quotes.
A cleaner and more flexible option might be to use the Apache Commons String Escape Utils [1], see some examples here [2].
[1] http://commons.apache.org/lang/api/org/apache/commons/lang/StringEscapeUtils.html
[2] http://www.java2s.com/Code/Java/Apache-Common/StringEscapeUtils.htm
People on the forum help others voluntarily, it's not their job.
Help them help you.
Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
----------------------------------------------------------------
Maybe you are looking for
-
Account error - Can't sign up for Xbox Music Pass
Hi there, when I try to sign up for the 30 day trial of Xbox Music Pass, I receive the following error, regardless of browser/PC used. It's been going on for several days. I have been in contact with a live support technician, and was directed here
-
Nokia N9 PR1.1 update: Camera stop to work
Hello, I've upgraded my Nokia N9 yesterday to PR1.1. My Camera not work now. When I see /var/log/syslog, I have this lines: Nov 9 10:20:06 (2011) applifed[937]: Application 'com.nokia.maemo.CameraService' released from prestarted state, count=1 Nov
-
Applecare registration is not working, help needed
Hello, my macbook 1 year warranty expires tomorrow and I purchased applecare today. I logged on to register it and the webpage is under construction and not working for 2 more days. What can I do to register? I tried calling to register and they are
-
HP 2600n's margin problem with driver 2.3
After installing the new driver v2.3, my printer started to have a margin problem. Even if I setup any margin correctly (on any software...) the page printed has borders cut off and it is shifted on the left (or, left margin is less than the right).
-
How do I get my old TM backup back on my original MBP ?
Yesterday, I hooked up another Mac computer on my network and was going to set this new one up with its own external hard drive for Time Machine (TM). I made the error of setting up time machine on this new computer on my network external hard drive