Invoke scheduled job from client
I would like to know your inputs on
1. If XML Publisher 5.6.2 supports invoking scheduled jobs from client {Java program, web app}?
I understand XMLP uses OpenSymphony Quartz library for scheduling.
2. Can we start, stop job {e.g. using SchedulerFactory, Trigger etc.}?
There is no mention about this in "User Guide".
Regards,
Nishi
Hi Nishi, Vijay
Im double checking with one of the developers on this ... will get back to you asap
Regards, Tim
Similar Messages
-
Starting the datapump jobs from client side
sir
please make me understand
datapump is server side utility means we can not invoke it from client. but in documents (oracle).
they r talking that we can start the datapump job from client(Sqlplus) but the dmp files will be saved and the process will run on the server side
so how can invoke the datapump from the client side (SQL Plus) ?user13014926 wrote:
sir
please make me understand
datapump is server side utility means we can not invoke it from client.That's wrong to say and understand. The correct understanding should be that it's configured only for server side which means, that the folder where the dump files would be created would be available on a folder which must be there on the server side and over which, proper permissions must be available to you in the form of Directory object. There is no such thing that it can't be invoked sitting on the client side. It surely can but unlike the traditional export, there is no facility available anymore to give absolute file paths which would store the file on the local client machine.
but in documents (oracle).
they r talking that we can start the datapump job from client(Sqlplus) but the dmp files will be saved and the process will run on the server sideAll what they are saying is that since the datapump's API, DBMS_DATAPUMP , is completely exposed and is documented, it can be used by the client and as like any other package, either stored or created, can be invoked from the sqlplus session. The dump files location would indeed be on the server side only.
so how can invoke the datapump from the client side (SQL Plus) ?As mentioned already by Srini, using the API .
Aman.... -
Error while invoking a Dataservice from client application
Hi,<br><br>
Code snippet of Client to invoke DataService is....<br><br>
Hashtable h = new Hashtable();<br>
h.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");<br>
h.put(Context.PROVIDER_URL,"t3://10.1.5.31:7001");<br>
h.put(Context.SECURITY_PRINCIPAL,"weblogic");<br>
h.put(Context.SECURITY_CREDENTIALS,"weblogic"); <br>
Context context = new InitialContext(h);<br>
DataService ds =DataServiceFactory.newDataService(context, "HLCApp","ld:HLCAppDataServices/com/pfizer/hlc/dataservices/HCP_DETAILS"); <br>
<u>DataObject obj= (DataObject) ds.invoke("HCP_DETAILS", null);</u><br>
System.out.println(" HCP details : \n" + obj);
<br><br><br>
The line(which is underlind) is causing the error(I checked by putting some System.outs).
<br>
While invoking a DataService from the Client application(Java Client) I am getting the following error in the console.
<br><br>
Exception in thread "main" com.bea.ld.dsmediator.client.exception.SDOMediatorExc
eption: com.bea.ld.dsmediator.client.exception.SDOMediatorException: weblogic.rj
vm.PeerGoneException: ; nested exception is:
java.io.EOFException
at com.bea.ld.dsmediator.client.XmlDataServiceBase.invoke(XmlDataService
Base.java:114)
at com.pfizer.hlc.DSClient.HCP.main(HCP.java:23)
Caused by: com.bea.ld.dsmediator.client.exception.SDOMediatorException: weblogic
.rjvm.PeerGoneException: ; nested exception is:
java.io.EOFException
at com.bea.ld.dsmediator.client.XmlDataServiceBase.invokeQuery(XmlDataSe
rviceBase.java:183)
at com.bea.ld.dsmediator.client.XmlDataServiceBase.invoke(XmlDataService
Base.java:102)
... 1 more
Caused by: weblogic.rjvm.PeerGoneException: ; nested exception is:
java.io.EOFException
at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.j
ava:108)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
ef.java:290)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
ef.java:248)
at com.bea.ld.Server_ydm4ie_EOImpl_816_WLStub.executeFunction(Unknown So
urce)
at com.bea.ld.dsmediator.client.XmlDataServiceBase.invokeQuery(XmlDataSe
rviceBase.java:157)
... 2 more
Caused by: java.io.EOFException
at weblogic.rjvm.t3.T3JVMConnection.endOfStream(T3JVMConnection.java:897
at weblogic.socket.SocketMuxer.deliverExceptionAndCleanup(SocketMuxer.ja
va:599)
at weblogic.socket.SocketMuxer.deliverEndOfStream(SocketMuxer.java:549)
at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:707)
at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:654)
at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:2
82)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:
32)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
<br><br><br><br>
<b>And in the server's log file the exception is like below</b><br><br>
<Nov 1, 2006 4:29:31 PM IST> <Error> <RJVM> <gsipl-c2-8> <cgServer> <ExecuteThread: '1' for queue: 'weblogic.socket.Muxer'> <<WLS Kernel>> <> <BEA-000503> <Incoming message header or abbreviation processing failed
<b>java.io.InvalidClassException: javax.xml.namespace.QName; local class incompatible: stream classdesc serialVersionUID = 4418622981026545151, local class serialVersionUID = -9120448754896609940</b>
java.io.InvalidClassException: javax.xml.namespace.QName; local class incompatible: stream classdesc serialVersionUID = 4418622981026545151, local class serialVersionUID = -9120448754896609940
at java.io.ObjectStreamClass.initNonProxy(Ljava.io.ObjectStreamClass;Ljava.lang.Class;Ljava.lang.ClassNotFoundException;Ljava.io.ObjectStreamClass;)V(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Z)Ljava.io.ObjectStreamClass;(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Z)Ljava.io.ObjectStreamClass;(Unknown Source)
at java.io.ObjectInputStream.readObject0(Z)Ljava.lang.Object;(Unknown Source)
at java.io.ObjectInputStream.readObject()Ljava.lang.Object;(Unknown Source)
at weblogic.rjvm.ClassTableEntry.readExternal(ClassTableEntry.java:33)
at java.io.ObjectInputStream.readExternalData(Ljava.io.Externalizable;Ljava.io.ObjectStreamClass;)V(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Z)Ljava.lang.Object;(Unknown Source)
at java.io.ObjectInputStream.readObject0(Z)Ljava.lang.Object;(Unknown Source)
at java.io.ObjectInputStream.readObject()Ljava.lang.Object;(Unknown Source)
at weblogic.rjvm.InboundMsgAbbrev.readObject(InboundMsgAbbrev.java:65)
at weblogic.rjvm.InboundMsgAbbrev.read(InboundMsgAbbrev.java:37)
at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:212)
at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:251)
at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:748)
at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:782)
at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:105)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
<br><br><br>
<b>My workstation environment is</b>
Weblogic 8.1 SP6,Aqualogic 2.0 ,os is WindowsXP and JDK is jrockit81sp6_142_10.
<br><br><br>
Does anyone have any idea, why i am getting this error.
<br><br>
Thanks,<br>
Suresh varma.Hi Suresh varma
Did you get any answer for your problem?
I'm having the exact same problem. Working with Weblogic 8.1 SP6 and getting this strange message whenever I'm calling my data service.
I've followed the guidlines given on the URL posted here, and still getting the same message.
Let me know if you have any idea.
Cheers
Rod -
BEx Error: Automation error: Object invoked has disconnected from clients
Hi,
We have a user here that attempts to access a query in BEx (MS Excel), but receives this error message:
- Runtime error '-2147417848 (80010108)':
Automation error
The object invoked has disconnected from its clients.
Any ideas.
Thanks,
JohnPlease go through the OSS note 857360..
https://websmp108.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=857360&_NLANG=E
This talks about your error..
Solution
1) Replace the RFC library
librfc32.dll
on the client PC with a current version.
620: Version >= 6206.6.1938.4727 (620x.x.x.4727).
640: Version >= 6400.3.79.4740 (640x.x.x.4740).
There is a version of the 620 and 640 librfc32.dll in the attachments: and we recommend that you use Version 640 (compatible with SAPGUI 620) (see below).
620 Version: Download librfc32.rar. Rename it librfc32.exe. This file extracts itself automatically.
640 Version: Download librfc32.zip. You can use WinZip to extract this file.
Note:
It seems that newer (delivered) versions of 6.20 librfc32.dll do not contain this fix. In this case, you can also use the 6.40 librfc32.dll. For reasons of compatibility, you should use the following Microsoft DLLs that are available on the PC for this: msvcr71.dll and to be msvcp71.dll (see Note 684106). -
How to remove scheduled jobs from Control Center?
Hi,
My control center shows a bunch of jobs in the "scheduled" tab that no longer exist.
They do not exist in Control Center and they also do not exist in the Design Center anymore.
Is there a way I can delete entries from the list of schedule jobs?
I am on OWB 10gR2
Thanks,
Sam
PS, I saw this thread that talks about my problem. However the solution provided seems to only work if the jobs still exist
in your control and design centers.
OWB 11g Control Centre, Want to Remove Schedule Jobs listCould it be that some process flows are still attached to a schedule? Perhaps you've made a copy of a Process Flow?
-
Could not schedule jobs from DB13
Hi Experts,
yesterday we have changed the file permission in /oracle/<SID>/102_64 mount point in our production system.
After changing i could not schedule any jobs from DB13 and i could not use <sidadm> user for taking the backup from sap.
Now i am taking the backup through OS and Archive log copying also OS level.
I have given the below command for changing the file permission.
chmod -R 777 /oracle/TPR/102_64
I think we changed the whole permission under the oracle/SID/102_64 mount point. its changing the full permission for Oracle related files.
How i can revoke the same?
Kindly advice.
Regards,
Sundar.CHi,
Please check you are able to run the backup from Brtools at os level.
If yes then check the permission of the files in the sapmnt/SID/exe as mentioned below.
-rwxr-xr-x 1 <SID>adm sapsys 9652136 brrecover
-rwxr-xr-x 1 <SID>adm sapsys 3403504 brrestore
-rwxr-xr-x 1 <SID>adm sapsys 12771456 brspace
-rwsrwxr-x 1 ora<SID> dba 4962288 brtools
-rwsrwxr-x 1 ora<SID> dba 8910816 brarchive
-rwsrwxr-x 1 ora<SID> dba 9282832 brbackup
-rwsrwxr-x 1 ora<SID> dba 12419824 brconnect
If you are not able to fire the backup from Brtools.
then you need to get the file system restored as you change the permission of all the files by doing the chmod -R.
or
you can compare the permission with another sap server of same database and same patch level and then change the permission manually of all the directoried and files.
did you stop the dtabase and then did the permission change if no then restart the server .it may be possible thet your database shall not come up.
thanks
Rishi Abrol -
Delete scheduled jobs from previous days
Post Author: supermeerkat
CA Forum: Administration
I look after a Business Objects server that runs about 400 reports per day.
Over the weekend the CMC stopped, nothing was reported in the logs, no attemps at restarting occured. But this isn't the problem.
When I restarted the CMC it started up with no problems, but in the
Instance Manager, it has started running the scheduled reports from the
day it stopped (Sunday the 4th May). It looks like it'll work through
all of the scheduled reports from Sunday, then Monday, before it gets
to today (Tuesday).
Is there any way I stop it from running the scheduled reports from
Sunday and Monday, and just have it run Tuesdays reports? Any help
would be gratefully recieved.Nope. You can't get that, if house keeping jobs are scheduled.
Regards,
Subhash -
Could I migrate scheduled jobs from 4.6C to ECC 6?
Hi experts,
I need to copy all background jobs from 4.6C to ECC 6? Is there a tools supported by SAP?Dennis,
Does it work?
Regards,
Faisal -
Invoking UNIX executables from client side forms
Has anyone had any success invoking UNIX executables from forms without using "hosted" rsh and/or rcp commands? There are too many of these UNIX executables to convert to PL/SQL procedures. Have developed a technique using dbms_pipe package but requires a daemon on UNIX side. Any thoughts or sugesstions? Thanks.
I have done alot of this and the only way that I know of is using dbms_pipe. It looks alot harder than it really is. Also you may want to look at using Forms Server on your database server. I know that you can use the host command, which if running on your database server will send the command to your unix server.
-
Connection problem while invoking remote method from client using oracle 8.1.6 server
while using a connection object to make connection to oracle in all remote methods(in EJB)only the first remote method called from the EJB client is getting invoked and the connection stops.It gives me COMM_FAILURE while invoking the second method in oracle 8.1.6.Help me out in this aspect immediately please.
r singh wrote:
>
I am getting "No Suitable Driver" exception from WebLogic 6.1 (sp1) at
the start up of the server.
My settings:
- WLS 6.1 on a solaris 8 machine and Oracle 8.1.6 on a WIN2K machine.
- I created the connection pool for oracle with the following
parameters:
connection name: OracleConnectionPool
url: jdbc.oracle.thin:@myOracleServer:1521:myDBName
driver class name: oracle.jdbc.driver.OracleDriver
properties: user=scott
password=tiger
- I have also downloaded classes12.zip and nls_charset12.zip from
Oracle.com
and have placed under $WL_HOME/lib.
- I have added $WL_HOME/lib/classes12.zip:$WL_HOME/lib/nls_charset12.zip
in
front of the $CLASSPATH in the startWeblogic.sh script. The echoed
classpath
from the startup script is:
/opt/tools/bea/wlserver6.1/lib/classes12.zip:/opt/tools/bea/wlserver6.1/lib/nls_
charset12.zip:/opt/tools/bea/wlserver6.1:/opt/tools/bea/wlserver6.1/lib/weblogic
_sp.jar:/opt/tools/bea/wlserver6.1/lib/weblogic.jar
- Still I get the error:
<Jan 16, 2002 1:38:45 PM EST> <Error> <JDBC> <Cannot startup
connection pool "Or
acleConnectionPool" No suitable driver>
Can somebody point me out if i am doing anything wrong here.
Thanks.
RamanandHi,
Sure. Your URL should be "jdbc:oracle:thin:@myOracleServer:1521:myDBName"
not "jdbc.oracle.thin:@myOracleServer:1521:myDBName"
Joe -
RMI: connection refused error while invoking remote method from client mac.
Hi All,
when i run client program, which is calling remote object from other system, it shows the below error.
please help me solving this issue, i also have policy file and installed security manager.
Exception in Cliendjava.rmi.ConnectException: Connection refused to host: 10.66.
112.137; nested exception is:
java.net.ConnectException: Connection refused: connect
thanks in advance.
Regards,
Anand.See item A.1 of the [RMI FAQ|http://java.sun.com/j2se/1.5.0/docs/guide/rmi/faq.html].
-
Invoking a method in WSDL file from client class
Hi,
I have got a WSDL file and I have to invoke certian methods from a client class from the WSDL file. What exactly should I do to invoke them from a Java standalone program /servlet/JSP. There is a sayHello() method in the WSDL. Please tell me how to invoke that method from client side. Aslo please let me know the jar files that are needed.
Below is the WSDL file
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://tutorial.com" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://tutorial.com" xmlns:intf="http://tutorial.com" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!--WSDL created by Apache Axis version: 1.2.1Built on Jun 14, 2005 (09:15:57 EDT)-->
<wsdl:message name="sayHelloResponse">
</wsdl:message>
<wsdl:message name="sayHelloResponse1">
<wsdl:part name="sayHelloReturn" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="addRequest">
<wsdl:part name="a" type="xsd:int"/>
<wsdl:part name="b" type="xsd:int"/>
</wsdl:message>
<wsdl:message name="sayHelloRequest">
</wsdl:message>
<wsdl:message name="addResponse">
<wsdl:part name="addReturn" type="xsd:int"/>
</wsdl:message>
<wsdl:message name="sayHelloRequest1">
<wsdl:part name="name" type="xsd:string"/>
</wsdl:message>
<wsdl:portType name="Hello">
<wsdl:operation name="sayHello">
<wsdl:input message="impl:sayHelloRequest" name="sayHelloRequest"/>
<wsdl:output message="impl:sayHelloResponse" name="sayHelloResponse"/>
</wsdl:operation>
<wsdl:operation name="sayHello" parameterOrder="name">
<wsdl:input message="impl:sayHelloRequest1" name="sayHelloRequest1"/>
<wsdl:output message="impl:sayHelloResponse1" name="sayHelloResponse1"/>
</wsdl:operation>
<wsdl:operation name="add" parameterOrder="a b">
<wsdl:input message="impl:addRequest" name="addRequest"/>
<wsdl:output message="impl:addResponse" name="addResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="HelloSoapBinding" type="impl:Hello">
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="sayHello">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="sayHelloRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://tutorial.com" use="encoded"/>
</wsdl:input>
<wsdl:output name="sayHelloResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://tutorial.com" use="encoded"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="sayHello">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="sayHelloRequest1">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://tutorial.com" use="encoded"/>
</wsdl:input>
<wsdl:output name="sayHelloResponse1">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://tutorial.com" use="encoded"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="add">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="addRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://tutorial.com" use="encoded"/>
</wsdl:input>
<wsdl:output name="addResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://tutorial.com" use="encoded"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="HelloService">
<wsdl:port binding="impl:HelloSoapBinding" name="Hello">
<wsdlsoap:address location="http://localhost/WebService1/services/Hello"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Thanks in advance
PrashanthHi.
Please put this line in the google search engine "Invoking java web service" u will get lots of the links.
Sanjay Kumar Gupta
[email protected] -
BI Publisher Bursting sending Email even after I delete schedule job
I am facing some weird issue in BI Publisher. We have a BI Publisher report and we are using Bursting query to burst the report to destination Email. It works fine when i run manually. It also worked fine when i schedule it first time for particular time. few days ago client wanted to change the scheduling time. Since there is no way to modify the scheduling time, i deleted the old schedule jobs from BI Publisher as well as i truncated the following tables from DB where it stores scheduling job information.
XMLP_SCHED_JOB
XMLP_SCHED_OUTPUT
XMLP_SCHED_SUBSCRIPTION
I also created the new scheduling job based on new time. The issue is Clients are getting the emails in old time as well as new scheduling timel. I can see the new scheduling information in following table so no information of old scheduling time. How BI Publisher is still running the report on old time. I research a lot but still i am not able to find the place from where it is still sending the old emails. Can anyone please have any idea to resolve this?Did you delete the job schedule using the GUI first? Otherwise by manually deleting the records from XMLP_ tables
may somehow have corrupted the scehduling option.
There are other components for the scheduler which are not only saved in XMLP_ tables and these
are the QUARTZ tables.
As of release 11g there is not mechanism to manage BIP scheduler tables.
regards
Jorge -
Where can I find scheduled Jobs (Reports) in Database?
Hello anyone,
i'm nearly new in using Oracle Application Server, so excuse me for asking silly questions,please.
But where can i find the scheduled jobs (reports) in the database?
We are using OAS in version 10.1.2.3.0
Thanks
FlorianHi florian,
where can i find the scheduled jobs (reports) in the database?
http://<ip-address>:7778/reports/rwservlet/showjobs?server=<your report server name>
Then select scheduled jobs from the drop down list
Note:
1)7778 is the default port for OAS10g r2..check in your httpd.conf file whether it 7778 or else change it accordingly
2)you will your get report server name from em console itself ie rep_****
Regards
Fabian -
Scheduling jobs with condition-after job programatically
Hi,
Could anybody please tell me how can we schedule jobs from programs(prgramatically) with condition-start after job(after a particular job completed) like we have the same option in sm36.
Thanks,
Rahul.Hello Rahul,
Check the following Link Page Number 41.
"Sample Program: Wait for Predecessor Job with
JOB_CLOSE"
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCDWBLIB/BCDWBLIB.pdf
Regards,
Abhishek Jolly
Maybe you are looking for
-
Ajuda - Planejamento de Projeto
All, Estou em um cliente e surgiu a seguinte necessidade: Existe um projeto que deve ser feito dentro de 4 meses, e dentro desse período há fases que devem ser cumpridas dentro de um prazo determinado Ex.: - Emitir requisição em até 15 dias - Emitir
-
Auto-update of 2120 startup application using compact flash
Just getting started with a 2120, but have one "tricky" question. I want to have my executable run off the controller's memory, not the compact flash; however I also want the executable to check for software updates on a compact flash card. In othe
-
We have a site license for CS6 for our company and for the past year have not been able to convert RAW files from our newer cameras using Adobe Camera Raw. We do not want to use the Cloud version as we work off laptops in the field and overseas and e
-
How can i Email Apple ID Scurity Accounts?
To make the long story short,... I have 2 apple ID's in my iPad Address1 - a***************@yahoo.com - for gaming ( sync with my Game Center) Address2 - b***************@gmail.com - for AppStore purchases My brother sent an itunes gift card (20$
-
XML Parsing exception: org.w3c.dom.ls.LSException
Hi All, <p>We have a WSM(Webservice Management Application) product which will generate a 'Proxy WSDL URL' for a 'Real WSDL URL' and it does security/auditing/logging/routing and other stuffs at runtime while getting a webservice request (on Proxy WS