Enterprise server not properly executing parameterized command
I developed a report in CR XI with a subreport whose command sql expression DB name comes from a command parameter linked from the main report. It works fine when I run it on my desktop, but when run from the server(Business Objects Enterprise XI, Release 2) if returns no records. If I use gouping it runs fine on my desktop, but I get "Invalid Group condition" if I try to run it on the server.
MainReport.AOIID=Subreport.AOIID
Select ....
From AOIID{?AOIID}.TOC....
where ....
It's as if the server is trying execute the command before executing BUT I'm not so sure about that either becuse the following command works fine, even on the server:
MainReport.TOCID=Subreport.CID
Select ....
From AOIID3003.TOC....
where CID={?CID}
Hi Ben,
The reports you are using are linked subreports or unlinked subreports?
What is the exact version of CR XI R2 you are using (Go to Help menu > About Crystal Reports) ?
Regards,
Abhijeet T.
Similar Messages
-
Not properly executing the dhtml slideit() method.
Hi,
I am trying to execute dhtml animatecollapse methods in jsf tags..it is calling the method but it is not executing properly.. I am posting the code please see this once and tell me where I was wrong...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ page contentType="text/html;charset=windows-1252"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<f:view>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="images/ipass_ss.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="animatedcollapse.js">
* Animated Collapsible DIV- � Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
</script>
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1252"/>
<title>FirstDemo</title>
</head>
<body><h:form>
<div> </div>
<h:panelGrid id="intipane" width="%100"
style="background-color:rgb(134,149,180);" columns="2">
<h:outputLabel id="HeadLabel" value="CustomerDetails" style="margin:40.0em;"/>
<h:outputLink onclick="collapse1.slideit()">
<h:graphicImage url="/images/xp-info-pane-arrow_down_over.gif"/>
</h:outputLink>
</h:panelGrid>
<h:panelGrid id="firstpane" columns="6" width="100%" style="background-color:rgb(214,224,239);">
<h:outputLabel id="lone" for="tone" value="CustomerId:"/>
<h:inputText id="tone"/>
<h:outputLabel id="ltwo" for="ttwo" value="CustomerName:"/>
<h:inputText id="ttwo"/>
<h:outputLabel id="lthr" for="tthr" value="Designation:"/>
<h:inputText id="tthr"/>
</h:panelGrid>
<div id="dog">
<h:panelGrid id="secondpane" columns="6" width="100%" style="background-color:rgb(214,224,239);">
<h:outputLabel id="lsone" for="tone" value="CustomerIdone:"/>
<h:inputText id="tsone"/>
<h:outputLabel id="lstwo" for="ttwo" value="CustomerNameone:"/>
<h:inputText id="tstwo"/>
<h:outputLabel id="lsthr" for="tthr" value="Designationone:"/>
<h:inputText id="tsthr"/>
</h:panelGrid>
</div>
</h:form>
<script type="text/javascript">
window.alert("before creating the animated object")
var collapse1=new animatedcollapse("dog", 100, true)
</script>
</body>
</html>
</f:view>
I have copied the animatedcollapse.js file also ....do I need to copy any thing...please tell me its very urgent for me...
thanks...one more thing I observed is if i put
<img src="images/xp-info-pane-arrow_down_over.gif" border="0">
in the panelgrid instead of <h:outputLink>it is executing the method correctly but it displaying that link above to the panel grid. how can I put the image inside the panel grid....why that functionality didn't work with <h:outputlink> tag???
can any one please tell me..... -
Weblogic server not properly started in myeclipse
Click to email this message
Feb 7, 2009 6:05:06 PM EST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 1.5.0_11-b03 from Sun Microsystems Inc.>
<Feb 7, 2009 6:05:08 PM EST> <Info> <Configuration Management> <BEA-150016> <This server is being started as the administration server.>
<Feb 7, 2009 6:05:08 PM EST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 8.1 SP5 Mon Sep 19 23:06:54 PDT 2005 641358
WebLogic XMLX Module 8.1 SP5 Mon Sep 19 23:06:54 PDT 2005 641358 >
The WebLogic Server did not start up properly.
java.io.InvalidClassException: javax.management.MBeanAttributeInfo; local class incompatible: stream classdesc serialVersionUID = 7043855487133450673, local class serialVersionUID = 8644704819898565848
at java.io.ObjectStreamClass.initNonProxy(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readArray(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
at java.io.ObjectInputStream.readSerialData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at weblogic.management.internal.TypesHelper.getMBeanInfo(TypesHelper.java:274)
at weblogic.management.internal.TypesHelper.getAdminOrConfigMBeanInfo(TypesHelper.java:384)
at weblogic.management.internal.ConfigurationMBeanImpl.<init>(ConfigurationMBeanImpl.java:137)
at weblogic.management.AdminServer.<init>(AdminServer.java:59)
at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:245)
at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:770)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:669)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:343)
at weblogic.Server.main(Server.java:32)
nested within: weblogic.management.configuration.ConfigurationException: - with nested exception:
[java.io.InvalidClassException: javax.management.MBeanAttributeInfo; local class incompatible: stream classdesc serialVersionUID = 7043855487133450673, local class serialVersionUID = 8644704819898565848]
at weblogic.management.internal.TypesHelper.getMBeanInfo(TypesHelper.java:279)
at weblogic.management.internal.TypesHelper.getAdminOrConfigMBeanInfo(TypesHelper.java:384)
at weblogic.management.internal.ConfigurationMBeanImpl.<init>(ConfigurationMBeanImpl.java:137)
at weblogic.management.AdminServer.<init>(AdminServer.java:59)
at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:245)
at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:770)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:669)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:343)
at weblogic.Server.main(Server.java:32)
nested within: weblogic.management.configuration.ConfigurationError - with nested exception:
[weblogic.management.configuration.ConfigurationException: - with nested exception:
[java.io.InvalidClassException: javax.management.MBeanAttributeInfo; local class incompatible: stream classdesc serialVersionUID = 7043855487133450673, local class serialVersionUID = 8644704819898565848]]
at weblogic.management.internal.TypesHelper.getAdminOrConfigMBeanInfo(TypesHelper.java:395)
at weblogic.management.internal.ConfigurationMBeanImpl.<init>(ConfigurationMBeanImpl.java:137)
at weblogic.management.AdminServer.<init>(AdminServer.java:59)
at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:245)
at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:770)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:669)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:343)
at weblogic.Server.main(Server.java:32)
***************************************************************************pravalika wrote:
java.io.InvalidClassException: javax.management.MBeanAttributeInfo; local class incompatible: stream classdesc serialVersionUID = 7043855487133450673, local class serialVersionUID = 8644704819898565848]][http://www.google.com/search?q=%22java.io.InvalidClassException%3A+javax.management.MBeanAttributeInfo%3B+local+class+incompatible%22]
Look like you're not the only one who encountered this specific problem. There are several solutions mentioned, under each downgrading to Java SE 1.4 or upgrading to Weblogic 9. -
Incron not actually executing commands
Hi,
I'm having trouble getting incron to run properly. I have incron installed, and the daemon is running. However, incrond is not actually executing the commands in my incrontab. I thought maybe it was a problem with my script (which runs fine on Linux Mint with incrontab), so I'm just trying it out with simple commands and it's still not working. I know from this thread that I have to use full paths so I'm doing just that
- My user is in /etc/incron.allow
- My incrontab contains the following:
/home/kevin/foobar IN_CLOSE_WRITE /usr/bin/notify-send Hi Hi
- I can edit the file /home/kevin/foobar and after doing so I see the following line in the journal (and nothing else, e.g. there don't appear to be any permission errors):
Aug 06 11:21:57 pooter incrond[3278]: (kevin) CMD (/usr/bin/notify-send Hi Hi)
However, nothing happens. If I run '/usr/bin/notify-send Hi Hi' in a terminal, I get the usual popup. Even if I change the incrontab from notify-send to
/home/kevin/foobar IN_CLOSE_WRITE /usr/bin/echo test > /tmp/test
then there's nothing in /tmp/test after changing the file, even though incrond shows up in the journal again.
I have to be doing (or not doing) something stupid, but I can't figure it out. Any ideas what I could be doing wrong?
Last edited by lumpy211 (2013-08-06 15:36:14)Heya.. Sorry I wasn't around when you were asking, but for other future users with issues: use strace and/or journalctl -n to get an inkling on what might be an issue.
If you get a error with file, or so, it is probably because one has used tabs instead of a space between the 3 args. Also, I found it easiest to writea wrapper which incrond calls with $@ say, (where one can throw in one's commands). -
Hi,
I am being trying to connect a Flex desktop application with a Java application running in Tomcat (6.0.29), and I get this error message when trying to use the Data wizard to connect with Blaze DS.
I have read all the tutorials and everything looks good from the server side. This is what appears in the server log:
2011-01-27 16:02:33,030 [ INFO] - RemotingDestinationExporter - Created remoting destination with id 'accounts'
2011-01-27 16:02:33,046 [ INFO] - RemotingDestinationExporter - Remoting destination 'accounts' has been started started successfully.
2011-01-27 16:02:33,046 [ INFO] - RemotingDestinationExporter - Created remoting destination with id 'customers'
2011-01-27 16:02:33,046 [ INFO] - RemotingDestinationExporter - Remoting destination 'customers' has been started started successfully.
2011-01-27 16:02:33,061 [ INFO] - FrameworkServlet - FrameworkServlet 'flex': initialization completed in 3887 ms
2011-01-27 16:02:50,813 [ INFO] - MessageBrokerHandlerAdapter - Channel endpoint my-amf received request.
2011-01-27 16:43:42,897 [ INFO] - MessageBrokerHandlerAdapter - Channel endpoint my-amf received request.
(The last two lines appears when I put the AMF channel's URI in a browser).
Below is what appears in the Event log from Eclipse.
java.lang.RuntimeException: java.lang.RuntimeException: RDS server message:
Error executing RDS command. Status Code : 503 , Reason : Service Unavailable
at com.adobe.flexbuilder.services.j2eeservice.J2EEServicePage.setVisible(J2EEServicePage.jav a:149)
at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1171)
at org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog.java:1149)
at org.eclipse.jface.wizard.WizardDialog$5.run(WizardDialog.java:1138)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1136)
at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:830)
at com.adobe.flexbuilder.DCDService.ui.wizard.ServiceWizardDialog.nextPressed(ServiceWizardD ialog.java:93)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:369)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at com.adobe.flexbuilder.DCDService.ui.wizard.ServiceWizard.show(ServiceWizard.java:190)
at com.adobe.flexbuilder.DCDService.ui.wizard.ServiceWizard.createService(ServiceWizard.java :152)
at com.adobe.flexbuilder.dcrad.views.ServiceExplorerView$1.handleEvent(ServiceExplorerView.j ava:528)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
at org.eclipse.swt.widgets.Link.wmNotifyChild(Link.java:1004)
at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4877)
at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1757)
at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4507)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4000)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4632)
at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2314)
at org.eclipse.swt.widgets.Link.callWindowProc(Link.java:172)
at org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:1917)
at org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:4301)
at org.eclipse.swt.widgets.Link.WM_LBUTTONUP(Link.java:842)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3982)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4632)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2411)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3501)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
Caused by: java.lang.RuntimeException: RDS server message:
Error executing RDS command. Status Code : 503 , Reason : Service Unavailable
at com.adobe.flexbuilder.services.j2eeservice.J2EEServicePage.initialize(J2EEServicePage.jav a:187)
at com.adobe.flexbuilder.services.j2eeservice.J2EEServicePage.setVisible(J2EEServicePage.jav a:136)
... 61 more
Any help wolud be appreciated.
ThanksHi There,
I am getting the same error. can anyone tell me what could be problem? -
Could not stop SDM server. Cannot execute Java process for stopSDM with parameters 50018
dear SAP
i have a system Solman 7.1
i'm upgrading Solman from SP04 to SP13 using SUM (SP12 patch 10) on windows 2012
and i faced error during Excution phase 5.6 in JAVA Stack.
phase : Excution - Actual Update
Error : An error has occurred during the execution of the Deploy software components step.
Could not stop SDM server. Cannot execute Java process for stopSDM with parameters 50018. Return code condition success evaluated to false for process java.exe for action ACTION_STOP
You can find more information in the files D:\usr\sap\SOL\SUM\sdt\log\SUM\DEPLOY-COMPONENTS_22.LOG and ProcessOverview.html.
To troubleshoot the problem use the provided information. An SAP Note may provide a solution to this problem. Search for SAP Notes with the following keywords:
SUM??execute??component-deploy-700??deploy-components??com.sap.sdt.j2ee.services.servicesimpl.SDMService??class com.sap.sdt.j2ee.tools.sdmmanagement.OperateSdmException
i try to restart server and killed sapstartsrv.. but the problem is not solved.
please let me know what i check more?
D:\usr\sap\SOL\SUM\sdt\log\SUM\DEPLOY-COMPONENTS_22.LOG
<!--LOGHEADER[START]/-->
<!--HELP[Manual modification of the header may cause parsing problem!]/-->
<!--LOGGINGVERSION[2.0.7.1006]/-->
<!--NAME[D:\usr\sap\SOL\SUM\sdt\log\SUM\DEPLOY-COMPONENTS_22.LOG]/-->
<!--PATTERN[DEPLOY-COMPONENTS_22.LOG]/-->
<!--FORMATTER[com.sap.tc.logging.TraceFormatter(%d [%6s]: %m)]/-->
<!--ENCODING[UTF8]/-->
<!--LOGHEADER[END]/-->
Apr 19, 2015 3:59:00 AM [Info ]: Stopping SDM server...
Apr 19, 2015 3:59:00 AM [Info ]: AS Java process ID 11 has been started.
Apr 19, 2015 3:59:00 AM [Info ]: Command line: D:\usr\sap\SOL\DVEBMGS00\exe\sapjvm_4\bin\java.exe -Xmx900M -Djava.ext.dir=d:/usr/sap/SOL/DVEBMGS00/SDM/program/lib;D:/usr/sap/SOL/DVEBMGS00/exe/sapjvm_4/jre/lib/ext -cp . -jar d:\usr\sap\SOL\DVEBMGS00\SDM\program\bin\SDM.jar shutdown Sdmguiport=50018 sdmHome=d:/usr/sap/SOL/DVEBMGS00/SDM/program logfile=D:\usr\sap\SOL\SUM\sdt\log\SUM\OperateSDM_60.LOG
Apr 19, 2015 3:59:00 AM [Info ]: Standard out: D:\usr\sap\SOL\SUM\sdt\log\SUM\OPERATESDM_44.OUT
Apr 19, 2015 3:59:00 AM [Info ]: Process ID 11 has been started.
Apr 19, 2015 3:59:00 AM [Info ]: Waiting for process ID 11, name java.exe to finish.
Apr 19, 2015 3:59:02 AM [Info ]: Process ID 11, name java.exe has been finished, exit code 16.
Apr 19, 2015 3:59:02 AM [Info ]: Process ID 11, name java.exe has been terminated.
Apr 19, 2015 3:59:02 AM [Error ]: The following problem has occurred during step execution: com.sap.sdt.j2ee.tools.sdmmanagement.OperateSdmException: Could not stop SDM server.
Cannot execute Java process for stopSDM with parameters 50018.
Return code condition success evaluated to false for process java.exe for action ACTION_STOP.
Best regards..Could not stop SDM server. Cannot execute Java process for stopSDM with parameters 50018. Return code condition success evaluated to false for process java.exe for action ACTION_STOP
Please follow the solution mentioned in the below link.
Error During Deployment - Java Support Package Manager (OBSOLETE) - SAP Library
regards,
pavan -
Could not able to execute FTP commands in windows server machines 2012/ windows server 2008.
From windows server 2012 and windows server 2008, Opened port 20,21,22 in firewall bidirectionally. After Establishing connection by passing credentials 230 log in successful.
ftp commands executing getting as " 425 Use Port or PASV first" , "500 Illegal PORT command".
But I could able to do windows client machines like windows 7 and windows 8 with same environment
Note : Firewall ports are opened. have tested by making firewall down to avoid filters.
Pandiyan MuthuramanHi Pandiyan Muthuraman,
Did you mean even you disable or open the related port the FTP issue still exist? I found this errors most time occur when we use the ISA firewall and the FTP configured passive
mode, if you have ISA firewall please refer the following KB to fix this issue.
How to enable passive CERN FTP connections through ISA Server 2000, 2004, or 2006
http://support.microsoft.com/kb/300641
The have a specific form for the IIS question, if you have the further IIS related question you can ask in IIS forum.
IIS support forum
http://forums.iis.net/
Thanks for your understanding and support
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
I executed stopsap command and I rebooted server.Now I can not use startsap
I executed stopsap command and rebooted server.Now I can not use startsap
I use Oracle Database
System gives me message below:
Checking ORC Database
ABAP database is not avalable via R3Trans
ABAP Database ORC must be started on remote server
How can I solve this problem?
Thanks.Hello Cemil,
Could you save the output that the script startsap returns to a file and upload it somewhere. Also the startsap logs, the location of which you could see when you run the startsap script. You could use http://www.rapidshare.com/ to upload the files.
Regards,
Ventsi Tsachev
Technology Development Support (J2EE Engine)
SAP Labs, Palo Alto, Ca (USA) -
SQL Error [ORA-00933: SQL command not properly ended
I have following installed:
7.9.6 BI Apps
10.1.3.4 DAC
8.6.0 Informatica
Container JDE Enterprise 9.0
Out of 211 tasks 69 tasks executed successfully.
Error in workflow [SDE_JDE_PartyOrganisationDimension_Full].
I have checked the session log file and understand that there is error with the SQL statement.
Since it is Pre-built, the workflow should have run properly with correct SQl statement. But in this case it is not working.
Is it because the SQL statement is too long?
Any help will be greatly appreciated.
Part of the log file
RR_4035 : SQL Error [
ORA-00933: SQL command not properly ended
Database driver error...
Function Name : Execute
SQL Stmt : SELECT
F0101.ABAN8,F0101.ABALKY,F0101.ABTAX,F0101.ABALPH,F0101.ABMCU,F0101.ABSIC,F0101.ABAT1, F0101.ABTAXC, F0101.ABATP, F0101.ABATR,F0101.ABEFTB,F0101.ABAC01,
F0101.ABAC02, F0101.ABAC03, F0101.ABAC04, F0101.ABAC05, F0101.ABAC06, F0101.ABAC07, F0101.ABAC08, F0101.ABAC09, F0101.ABAC10, F0101.ABAC11,
F0101.ABAC12, F0101.ABAC13, F0101.ABAC14, F0101.ABAC15, F0101.ABAC16, F0101.ABAC17, F0101.ABAC18, F0101.ABAC19, F0101.ABAC20, F0101.ABAC21, F0101.ABAC22, F0101.ABAC23,
F0101.ABAC24, F0101.ABAC25, F0101.ABAC26, F0101.ABAC27, F0101.ABAC28, F0101.ABAC29, F0101.ABAC30,F0101.ABUSER, F0101.ABUPMJ,F0101.ABUPMT,F0101.ABTICKER, F0101.ABEXCHG, F0101.ABDUNS,
F0101.ABNOE,F0101.ABGROWTHR,F0101.ABYEARSTAR,F0101.ABREVRNG, D.FaxPhoneArea, d.Phonearea, D.Fax AS Fax ,D.Phone As Phone,D.WPUPMJ AS WPUPMJ,R.Email AS Email,R.Internet As Internet,R.EAupmj As EAUPMJ,F0111.WWAN8,F0111.WWIDLN,
F0111.WWSLNM,F0111.WWGNNM,F0111.WWMDNM,F0111.WWSRNM,F0111.WWUSER,F0111.WWUPMJ,F0111.WWUPMT,F0111.WWNTYP,F0111.WWNICK,F0111.WWPCM,F0116.ALAN8,
F0116.ALEFTB,F0116.ALADD1,F0116.ALADD2,F0116.ALADD3,F0116.ALADD4, F0116.ALADDZ, F0116.ALCTY1,F0116.ALADDS,F0116.ALCTR, F0116.ALUPMJ,F0116.ALUPMT,F03012.AIAN8, F03012.AICO,F03012.AIMCUR,F03012.AICRCD,F03012.AIACL,
F03012.AIARPY,F03012.AIDB,F03012.AICRCA,F03012.AIASTY,F03012.AISPYE,F03012.AIOPY,F03012.AIPOPN,F03012.AIDAOJ,F03012.AIAN8R,F03012.AICPGP,F03012.AIFRTH,
F03012.AIMAN8,F03012.AIUPMJ,F03012.AIUPMT, F03012.AICUSTS,F03012.AITERRID, F03012.AIDTEE, F0401.A6AN8, F0401.A6MCUP, F0401.A6CRRP,F0401.A6CRCA, F0401.A6AN8R,F0401.A6CPGP, F0401.A6FRTH, F0401.A6UPMJ,F0401.A6UPMT, CAST(F0101.ABAC03 AS CHAR(10)) AS FLEX_ATTRIB_1_CHAR,
CAST(F0101.ABAC23 AS CHAR(10)) AS FLEX_ATTRIB_2_CHAR,
CAST(F0101.ABAC05 AS CHAR(10)) AS FLEX_ATTRIB_3_CHAR,
CAST(F0101.ABAC15 AS CHAR(10)) AS FLEX_ATTRIB_4_CHAR,
CAST(F0101.ABAC09 AS CHAR(10)) AS FLEX_ATTRIB_5_CHAR,
CAST(F0101.ABAC11 AS CHAR(10)) AS FLEX_ATTRIB_6_CHAR,
CAST(F0101.ABAC19 AS CHAR(10)) AS FLEX_ATTRIB_7_CHAR,
CAST(F0101.ABAC21 AS CHAR(10)) AS FLEX_ATTRIB_8_CHAR,
CAST(F0101.ABAC27 AS CHAR(10)) AS FLEX_ATTRIB_9_CHAR,
CAST(NULL AS CHAR(10)) AS FLEX_ATTRIB_10_CHAR,
CAST(F0101.ABAC17 AS CHAR(10)) AS FLEX_ATTRIB_11_CHAR,
CAST(F0101.ABAC06 AS CHAR(10)) AS FLEX_ATTRIB_12_CHAR,
CAST(F0101.ABAC08 AS CHAR(10)) AS FLEX_ATTRIB_13_CHAR,
CAST(F0101.ABAC14 AS CHAR(10)) AS FLEX_ATTRIB_14_CHAR,
CAST(F0101.ABAC22 AS CHAR(10)) AS FLEX_ATTRIB_15_CHAR,
CAST(F0101.ABAC28 AS CHAR(10)) AS FLEX_ATTRIB_16_CHAR,
CAST(F0101.ABAC18 AS CHAR(10)) AS FLEX_ATTRIB_17_CHAR,
CAST(F0101.ABAC10 AS CHAR(10)) AS FLEX_ATTRIB_18_CHAR,
CAST(F0101.ABAC20 AS CHAR(10)) AS FLEX_ATTRIB_19_CHAR,
CAST(NULL AS CHAR(10)) AS FLEX_ATTRIB_20_CHAR,
CAST(F0101.ABAC30 AS CHAR(10)) AS LINE_OF_BUSINESS,
CAST(F0101.ABAC14 AS CHAR(10)) AS REGION,
CAST(NULL AS CHAR(10)) AS ACCNT_AHA_NUM,
CAST(F0101.ABAC07 AS CHAR(10)) AS ACCNT_CLASS,
CAST(F0101.ABAC11 AS CHAR(10)) AS ACCNT_HIN_NUM,
CAST(F0101.ABAC02 AS CHAR(10)) AS ACCNT_REGION,
CASt(F0101.ABAC08 AS CHAR(10)) AS ACCNT_VALUE,
CAST(F0101.ABAC16 AS CHAR(10)) AS CUST_CAT_CODE, '0' AS X_CUSTOM
from F0101
INNER JOIN F03012 ON F0101.ABAN8 = F03012.AIAN8
LEFT OUTER JOIN F0401 ON F0101.ABAN8 = F0401.A6AN8
LEFT OUTER JOIN F0116 ON F0101.ABAN8 = F0116.ALAN8 AND F0101.ABEFTB = F0116.ALEFTB
LEFT OUTER JOIN F0111 ON F0101.ABAN8 = F0111.WWAN8 AND F0111.WWIDLN =
LEFT OUTER JOIN (select a.WPAN8 as an8,
min(case when a.WPPHTP= and a.WPRCK7=b.MinWPRCK7 then WPAR1 end) FaxPhoneArea,
min(case when a.WPPHTP= and a.WPRCK7=b.MinWPRCK7 then WPPH1 end) Fax,
min(case when a.WPPHTP= and a.WPRCK7=b.MinWPRCK7 then WPPH1 end) Phone,
min(case when a.WPPHTP= and a.WPRCK7=b.MinWPRCK7 then WPAR1 end) Phonearea,
max(wpupmj) as WPUPMJ
from F0115 a,
(select WPAN8,WPPHTP ,min(WPRCK7) MinWPRCK7 from F0115
group by WPAN8,WPPHTP
) b
where a.WPAN8=b.WPAN8 and a.wpidln =0
group by a.WPAN8)D on f0101.aban8 = D.an8
LEFT OUTER JOIN (SELECT P.EAAN8 as an8,
min(case when P.EAETP= and P.EARCK7=Q.MinRCK7E then EAEMAL end) Email,
min(case when P.EAETP= and P.EARCK7=Q.MinRCK7E then EAEMAL end) Internet,Max(eaupmj) as EAupmj
FROM F01151 P,
(SELECT EAAN8,EAETP,MIN(EARCK7) MinRck7E from f01151
group by eaan8,eaemal,eaetp)Q
where
P.EAAN8 = Q.EAAN8 and P.EAIDLN =
GROUP BY P.EAAN8)R on f0101.aban8 = R.an8
union
SELECT
F0101.ABAN8,F0101.ABALKY,F0101.ABTAX,F0101.ABALPH,F0101.ABMCU,F0101.ABSIC,F0101.ABAT1, F0101.ABTAXC, F0101.ABATP, F0101.ABATR,F0101.ABEFTB,F0101.ABAC01,
F0101.ABAC02, F0101.ABAC03, F0101.ABAC04, F0101.ABAC05, F0101.ABAC06, F0101.ABAC07, F0101.ABAC08, F0101.ABAC09, F0101.ABAC10, F0101.ABAC11,
F0101.ABAC12, F0101.ABAC13, F0101.ABAC14, F0101.ABAC15, F0101.ABAC16, F0101.ABAC17, F0101.ABAC18, F0101.ABAC19, F0101.ABAC20, F0101.ABAC21, F0101.ABAC22, F0101.ABAC23,
F0101.ABAC24, F0101.ABAC25, F0101.ABAC26, F0101.ABAC27, F0101.ABAC28, F0101.ABAC29, F0101.ABAC30,F0101.ABUSER, F0101.ABUPMJ,F0101.ABUPMT,F0101.ABTICKER, F0101.ABEXCHG, F0101.ABDUNS,
F0101.ABNOE,F0101.ABGROWTHR,F0101.ABYEARSTAR,F0101.ABREVRNG, D.FaxPhoneArea, d.Phonearea, D.Fax AS Fax ,D.Phone As Phone,D.WPUPMJ AS WPUPMJ,R.Email AS Email,R.Internet As Internet,R.EAupmj As EAUPMJ,F0111.WWAN8,F0111.WWIDLN,
F0111.WWSLNM,F0111.WWGNNM,F0111.WWMDNM,F0111.WWSRNM,F0111.WWUSER,F0111.WWUPMJ,F0111.WWUPMT,F0111.WWNTYP,F0111.WWNICK,F0111.WWPCM,F0116.ALAN8,
F0116.ALEFTB,F0116.ALADD1,F0116.ALADD2,F0116.ALADD3,F0116.ALADD4, F0116.ALADDZ, F0116.ALCTY1,F0116.ALADDS,F0116.ALCTR, F0116.ALUPMJ,F0116.ALUPMT,F03012.AIAN8, F03012.AICO,F03012.AIMCUR,F03012.AICRCD,F03012.AIACL,
F03012.AIARPY,F03012.AIDB,F03012.AICRCA,F03012.AIASTY,F03012.AISPYE,F03012.AIOPY,F03012.AIPOPN,F03012.AIDAOJ,F03012.AIAN8R,F03012.AICPGP,F03012.AIFRTH,
F03012.AIMAN8,F03012.AIUPMJ,F03012.AIUPMT, F03012.AICUSTS,F03012.AITERRID, F03012.AIDTEE, F0401.A6AN8, F0401.A6MCUP, F0401.A6CRRP,F0401.A6CRCA, F0401.A6AN8R,F0401.A6CPGP, F0401.A6FRTH, F0401.A6UPMJ,F0401.A6UPMT, CAST(F0101.ABAC03 AS CHAR(10)) AS FLEX_ATTRIB_1_CHAR,
CAST(F0101.ABAC23 AS CHAR(10)) AS FLEX_ATTRIB_2_CHAR,
CAST(F0101.ABAC05 AS CHAR(10)) AS FLEX_ATTRIB_3_CHAR,
CAST(F0101.ABAC15 AS CHAR(10)) AS FLEX_ATTRIB_4_CHAR,
CAST(F0101.ABAC09 AS CHAR(10)) AS FLEX_ATTRIB_5_CHAR,
CAST(F0101.ABAC11 AS CHAR(10)) AS FLEX_ATTRIB_6_CHAR,
CAST(F0101.ABAC19 AS CHAR(10)) AS FLEX_ATTRIB_7_CHAR,
CAST(F0101.ABAC21 AS CHAR(10)) AS FLEX_ATTRIB_8_CHAR,
CAST(F0101.ABAC27 AS CHAR(10)) AS FLEX_ATTRIB_9_CHAR,
CAST(NULL AS CHAR(10)) AS FLEX_ATTRIB_10_CHAR,
CAST(F0101.ABAC17 AS CHAR(10)) AS FLEX_ATTRIB_11_CHAR,
CAST(F0101.ABAC06 AS CHAR(10)) AS FLEX_ATTRIB_12_CHAR,
CAST(F0101.ABAC08 AS CHAR(10)) AS FLEX_ATTRIB_13_CHAR,
CAST(F0101.ABAC14 AS CHAR(10)) AS FLEX_ATTRIB_14_CHAR,
CAST(F0101.ABAC22 AS CHAR(10)) AS FLEX_ATTRIB_15_CHAR,
CAST(F0101.ABAC28 AS CHAR(10)) AS FLEX_ATTRIB_16_CHAR,
CAST(F0101.ABAC18 AS CHAR(10)) AS FLEX_ATTRIB_17_CHAR,
CAST(F0101.ABAC10 AS CHAR(10)) AS FLEX_ATTRIB_18_CHAR,
CAST(F0101.ABAC20 AS CHAR(10)) AS FLEX_ATTRIB_19_CHAR,
CAST(NULL AS CHAR(10)) AS FLEX_ATTRIB_20_CHAR,
CAST(F0101.ABAC30 AS CHAR(10)) AS LINE_OF_BUSINESS,
CAST(F0101.ABAC14 AS CHAR(10)) AS REGION,
CAST(NULL AS CHAR(10)) AS ACCNT_AHA_NUM,
CAST(F0101.ABAC07 AS CHAR(10)) AS ACCNT_CLASS,
CAST(F0101.ABAC11 AS CHAR(10)) AS ACCNT_HIN_NUM,
CAST(F0101.ABAC02 AS CHAR(10)) AS ACCNT_REGION,
CASt(F0101.ABAC08 AS CHAR(10)) AS ACCNT_VALUE,
CAST(F0101.ABAC16 AS CHAR(10)) AS CUST_CAT_CODE, '0' AS X_CUSTOM
from F0101
LEFT OUTER JOIN F03012 ON F0101.ABAN8 = F03012.AIAN8
INNER JOIN F0401 ON F0101.ABAN8 = F0401.A6AN8
LEFT OUTER JOIN F0116 ON F0101.ABAN8 = F0116.ALAN8 AND F0101.ABEFTB = F0116.ALEFTB
LEFT OUTER JOIN F0111 ON F0101.ABAN8 = F0111.WWAN8 AND F0111.WWIDLN =
LEFT OUTER JOIN (select a.WPAN8 as an8,
min(case when a.WPPHTP= and a.WPRCK7=b.MinWPRCK7 then WPAR1 end) FaxPhoneArea,
min(case when a.WPPHTP= and a.WPRCK7=b.MinWPRCK7 then WPPH1 end) Fax,
min(case when a.WPPHTP= and a.WPRCK7=b.MinWPRCK7 then WPPH1 end) Phone,
min(case when a.WPPHTP= and a.WPRCK7=b.MinWPRCK7 then WPAR1 end) Phonearea,
max(wpupmj) as WPUPMJ
from F0115 a,
(select WPAN8,WPPHTP ,min(WPRCK7) MinWPRCK7 from F0115
group by WPAN8,WPPHTP
) b
where a.WPAN8=b.WPAN8 and a.wpidln =0
group by a.WPAN8)D on f0101.aban8 = D.an8
LEFT OUTER JOIN (SELECT P.EAAN8 as an8,
min(case when P.EAETP= and P.EARCK7=Q.MinRCK7E then EAEMAL end) Email,
min(case when P.EAETP= and P.EARCK7=Q.MinRCK7E then EAEMAL end) Internet,Max(eaupmj) as EAupmj
FROM F01151 P,
(SELECT EAAN8,EAETP,MIN(EARCK7) MinRck7E from f01151
group by eaan8,eaemal,eaetp)Q
where
P.EAAN8 = Q.EAAN8 and P.EAIDLN =
GROUP BY P.EAAN8)R on f0101.aban8 = R.an8
Oracle Fatal Error
Database driver error...
Function Name : Execute
*****************************************************"ORA-00933: SQL command not properly ended"
this error may be seen due to reasons like the Informatica properties are not set correct.
Are all the informatica properties set correct? how many ETL jobs completed, what analytic apps are in the ETL process? -
Sql Exception : Sql command not properly ended
Hi,
I have the following piece of code which i am using to search into the database and display the result in my jsp page. But it is throwing this exception. This happens only when i give 2 conditions. If i try to search with only one parameter, it works fine and returns the result. But when i enable two parameters , it throws the exception.
Below is the code i have written.
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@page import="java.sql.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<%
String queryString=null;
String Part_Number=null;
String Revision_Id=null;
String Part_Desc=null;
String Keyword_Name=null;
String Design_Style=null;
String Configuration_Name=null;
String Charateristic_Name=null;
String pN=null;
String rI=null;
String pD=null;
String kN=null;
String dS=null;
String coN=null;
String chN=null;
queryString ="select * from PART";
Connection con=null;
Statement pst=null;
ResultSet rs=null;
Part_Number =request.getParameter("part_nbr");
Revision_Id=request.getParameter("rev_id");
Part_Desc=request.getParameter("part_desc");
Keyword_Name=request.getParameter("keyword_name");
Design_Style=request.getParameter("Design_style");
Configuration_Name=request.getParameter("configuration");
Charateristic_Name=request.getParameter("characteristic");
pN=Part_Number.trim();
rI=Revision_Id.trim();
pD=Part_Desc.trim();
kN=Keyword_Name.trim();
dS=Design_Style.trim();
coN=Configuration_Name.trim();
chN=Charateristic_Name.trim();
System.out.println("Part Number In success: "+pN);
System.out.println("Rev Number In serchsuccess: "+rI);
System.out.println("part desc In seachsuccess: "+pD);
System.out.println("Keyword In sesuccess: "+kN);
System.out.println("Design style In sesuccess: "+dS);
System.out.println("Config In sesuccess: "+coN);
System.out.println("charac In sesuccess: "+chN);
System.out.println("queryString in sesuccess: "+queryString);
if(rI!=null)
queryString = queryString+" where REV_ID= '"+rI+"'";
if(pD!=null)
queryString = queryString+" where OBJ_DESC= '"+pD+"'";
System.out.println("queryString in sesuccess: "+queryString);
try
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
System.out.println("driver manager");
con=DriverManager.getConnection("jdbc:oracle:thin:@172.18.93.53:1521:PDMDumm", "Dumm1", "satyam");
System.out.println("connection established");
pst = con.createStatement();
rs = pst.executeQuery(queryString);
System.out.println("Query executed");
catch(SQLException se)
System.out.println("database error2");
se.printStackTrace();
catch(Exception e)
System.out.println("error");
if(rs!=null)
%>
<table>
<tr>
<th> PartNumber
<th> Revision_Id
<th> Description
<th> Characteristic
<th> Configuration
<th> DesignStyle
<th> Keyword
<th> Planned Eff In Dte
<th> Infos
<th> Native File
</table>
<tr>
<%
while(rs.next())
%>
<td> <%=rs.getString(1) %>
<td> <%=rs.getString(2) %>
<td> <%=rs.getString(3) %>
<td> <%=rs.getString(4) %>
<td> <%=rs.getString(5) %>
<td> <%=rs.getString(6) %>
<td> <%=rs.getString(7) %>
<td> <%=rs.getString(8) %>
<td> <%=rs.getString(9) %>
<td> <%=rs.getString(10) %>
<%
%>
</body>
</html>And this is the exception i get.
Part Number In success:
Rev Number In serchsuccess:
part desc In seachsuccess: cat
Keyword In sesuccess: ----
Design style In sesuccess: ----
Config In sesuccess: ----
charac In sesuccess: ----
queryString in sesuccess: select * from PART
queryString in sesuccess: select * from PART where REV_ID= '' where OBJ_DESC= 'cat'
driver manager
connection established
database error2
java.sql.SQLException: ORA-00933: SQL command not properly ended
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(TTC7Protocol.java)
at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java)
at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java)
at org.apache.jsp.searchsuccess_jsp._jspService(searchsuccess_jsp.java:129)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at SearchKdcc.doPost(SearchKdcc.java:60)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:619)Hi drvijayy2k2 ,
Thanks for replying.
I used your code in my application and this is the problem i am facing now. The query is getting executed but its not taking the value from the database because of the Null Rev Id that is getting inputted into queryString. I have given only part_desc as the search criteria. If i just search using part description , commenting the rev_id part , i am able to retrieve the result from the database.
I have to code in a way using which i can search using either rev_id or part_desc , or using both at the same time.
Part Number In success:
Rev Number In serchsuccess:
part desc In seachsuccess: cat
Keyword In sesuccess: ----
Design style In sesuccess: ----
Config In sesuccess: ----
charac In sesuccess: ----
queryString in sesuccess: select * from PART
queryString in sesuccess: select * from PART where REV_ID= '' and OBJ_DESC= 'cat'
driver manager
connection established
Query executed -
Xml query error. ORA-00933: SQL command not properly ended
Hi all,
My Database Version: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0.
CREATE table test (Name varchar2(3), Id number);
insert into test values ('abc', 61);
insert into test values ('def', 46);
select table_name,
column_name,
'abc' search_string,
result
from cols,xmltable(('ora:view("'||table_name||'")/ROW/'||column_name||'[ora:contains(text(),"%'|| 'abc' || '%") > 0]')
columns result varchar2(10) path '.'
where table_name in ('TEST');
and i get: ORA-00933: SQL command not properly ended it points over '*xmltable*'ok, its possible to get output from a xml like this.
i need output like this,
customerid CustomerName Country
1 xxxx 4
2 yyyy 5
xml:
<Customer>
<CustomerInformation>
<Customerid>1</Customerid>
<CustomerName>xxxx</CustomerName>
<Country>4</Country>
</CustomerInformation>
<CustomerInformation>
<Customerid>2</Customerid>
<CustomerName>yyyy</CustomerName>
<Country>5</Country>
</CustomerInformation>
</Customer>
This xml is input to my stored procedure, i need to insert the xml tag values into customner_table.
For this i insert the xml inro a xml_document_table having a xmltype column.
after , by using the below mentioned query to select xml_tag values from that column.
when i execute this query
INSERT into customer_table(customer_id)
SELECT X.XML_DOCUMENT.extract('/Customer/commodityInfo/CustomerInformation/Customerid/text()').getStringVal() "Customerid" from XML_DOCUMENT_TABLE X;
i got output in a single row.
customerid_
1 <next line> 2
But i need output like this,
Customerid_
1
2
im struggling with this simple insert. pls share ur idea.....
Edited by: 887268 on Apr 4, 2012 10:04 PM
Edited by: 887268 on Apr 4, 2012 10:17 PM -
Hello,
I am running a sql job which runs SSIs pakcage imported from Integration Service Sever..
it give me this error.... the server is :10.2.8.39 and the database is process
how can I fix It?Hello Arthux ,, thx alot for your help,,, I run the job again and this time it gives me this error ??
Date,Source,Severity,Step ID,Server,Job Name,Step Name,Notifications,Message,Duration,Sql Severity,Sql Message ID,Operator Emailed,Operator Net sent,Operator Paged,Retries Attempted
11/28/2011 13:58:09,SSISScoreCardsSDM,Error,0,OPLINKDEVINTRA\OPLINKDEVINTRA,SSISScoreCardsSDM,(Job outcome),,The job failed. The Job was invoked by User LINKDOTNET\michael.philip. The last step to run was step 1 (SDM).,00:00:01,0,0,,,,0
11/28/2011 13:58:10,SSISScoreCardsSDM,Error,1,OPLINKDEVINTRA\OPLINKDEVINTRA,SSISScoreCardsSDM,SDM,,Executed as user: LINKDEV\OPSQLADMIN. Microsoft (R) SQL Server Execute Package Utility Version 10.50.1600.1 for 64-bit Copyright (C) Microsoft
Corporation 2010. All rights reserved. Option " /CONNECTION" is not valid. The command line parameters are invalid. The step failed.,00:00:00,0,0,,,,0 -
ORA-00933: SQL command not properly ended
I am attempting to create a view in oracle 8.0.6 but get the error message ORA-00933 SQL command not properly ended, can anyone help?:
SQL> create view AJT_SCHEDULES01 as
2 select SCHDL_REFNO, STRAN_REFNO from SCHEDULES order by STRAN_REFNO desc;
select SCHDL_REFNO, STRAN_REFNO from SCHEDULES order by STRAN_REFNO desc
ERROR at line 2:
ORA-00933: SQL command not properly endedORDER BY cannot be used to create an ordered view or to insert in a certain order.
Please refer to Section ORA-00933: SQL command not properly ended at : http://otn.oracle.com/doc/server.805/a58312/newch220.htm
For further assistance, please post in the forum at : PL/SQL
Hope this helps
Regards
Pushkala -
Using ?import:file? command in a linux Enterprise server
Hello.
I'm with a problem with a template. I never had a client that use linux as OS in enterprise server.
I work with embedded bi publisher in JDEDWARDS and usually i use this command to call dinamic footers and never had a problem. For example
<?import:file:///\\10.153.2.86\BIP\R5543501\footerlastpage.rtf?>. This customer is in linux and dont know nothing about linux but i think that the problem is in this command because linux dont use " \\ " to perform this command \\10.153.2.86\BIP\R5543501\footerlastpage.rtf.
Someone know how i can solve this problem? i tried something like this ( <?import:file://///10.153.2.86\BIP\R5543501\footerlastpage.rtf?>) but still not working and cant find much information in internet about this.
Any help is appreciated
Tks in Adavance
Paulo DuarteHi Paulo,
You can import subtemplates this way:
<?import:http://myservername/subtemplates.rtf?> (access over HTTP)
or
<?import:file:///mydirectory/subtemplates.rtf?> (access over File System)
(Notice: http uses two forward slashes // and file uses three /// )
So in your case try this: <?import:file:///10.153.2.86/BIP/R5543501/footerlastpage.rtf?>
Another thing to make sure is set is this:
1) http://www.oracle.com/webfolder/technetwork/de/community/bip/tipps/Subtemplates/image01.png
2) http://www.oracle.com/webfolder/technetwork/de/community/bip/tipps/Subtemplates/image02.png
References:
BI Publisher Subtemplates:
http://www.oracle.com/technetwork/middleware/bi-publisher/overview/bip-subtemplate-1-132933.pdf
Cheers
Jorge
ps. If this answers your question then please grant the points and close the thread -
"Not an executable or is a link" errors when starting Messaging Server
"Not an executable or is a link" errors when starting Messaging Server
<P>
If Calendar Server 3.x has been installed to the same server root
as Messaging server, it is possible that the command 'NscpMail start'
to restart the server will return a string of errors:
# /etc/NscpMail start
19971207145610:Dispatch:Notification:Local Module
(Account-Handler) is not a n executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(Account-Manager) is not a n executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(AutoReply-Handler) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(Configuration-Manager) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(Error-Handler) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(Mailbox-Deliver) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(Program-Deliver) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(SMTP-Deliver) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(SMTP-Router) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(UNIX-Deliver) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Network Module
(Finger-Server) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Network Module
(IMAP4-Server) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Network Module
(POP3-Server) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Network Module
(SMTP-Accept) is not an executable or is a link.
Module not loaded.
Startup Problem:
Module Error-Handler is required for proper operation.
Netscape Messaging Server Exiting!
The Calendar server 3.x installation may have changed the permissions
on [server-root]/bin directory from 755 to 750. Simply issue the
command (as root) 'chmod 755 [server-root]/bin' and then start
the server with the 'NscpMail start' command, and it should start
without a problem."Not an executable or is a link" errors when starting Messaging Server
<P>
If Calendar Server 3.x has been installed to the same server root
as Messaging server, it is possible that the command 'NscpMail start'
to restart the server will return a string of errors:
# /etc/NscpMail start
19971207145610:Dispatch:Notification:Local Module
(Account-Handler) is not a n executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(Account-Manager) is not a n executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(AutoReply-Handler) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(Configuration-Manager) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(Error-Handler) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(Mailbox-Deliver) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(Program-Deliver) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(SMTP-Deliver) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(SMTP-Router) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(UNIX-Deliver) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Network Module
(Finger-Server) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Network Module
(IMAP4-Server) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Network Module
(POP3-Server) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Network Module
(SMTP-Accept) is not an executable or is a link.
Module not loaded.
Startup Problem:
Module Error-Handler is required for proper operation.
Netscape Messaging Server Exiting!
The Calendar server 3.x installation may have changed the permissions
on [server-root]/bin directory from 755 to 750. Simply issue the
command (as root) 'chmod 755 [server-root]/bin' and then start
the server with the 'NscpMail start' command, and it should start
without a problem.
Maybe you are looking for
-
Create a purchase order linked to sale order with DI
Hello all, I tried to create a purchase order based on a sale order with the DI but I get an error message "the business partner selected in base document is different than the target document" As you understand, this is normal to have a different bu
-
my reinstallation of itunes is failed, error code is error 7 (windows error 126) the system find not msvcr80.dll script
-
How can I programatically perform a conditional formula in "Eval Formula Node"?
Okay, I'm stumped. I have an application where I need to evaluate a conditional programatically, and I can't do it with a Formula Node. Basically, my user wants to be able to enter some formula which describes conditionals, such as "if this temperatu
-
Problem in PA30 Infotype 34 Corporate Function
Hi, While creating the corporate function IT0034 in transaction PA30, in which table the Long text will be saved. How to retrieve it.
-
SSAS Tabular - Why is it wrong to call classify it as MOLAP, ROLAP or HOLAP?
Hi There, I am working on an assignment (for a masters degree) in which I am evaluating different OLAP tools, and one of the tools assigned to me is Microsoft's BI stack. One of the classifications we are working on is whether a tool is MOLAP, ROLAP