Jar file is not getting executed from commandline
Hi ,
this is the weired problem i had.
i have created a executable jar file.When i double click that file it is getting executed without any problem but when i go to command prompt and tries to run this jar by using folowing command
java -jar myjar.jar
it is giving me the error as
Exception in thread "main" java.lang.UnsupportedClassVersionError:com/build/deploy/Deploy (Unsupported major.minor version 49.0)
i am not getting why it is giving me this version error.
can any body answer my question.
i am using version JDK1.5 also program is running perfesctly from ecllipse IDE.
I believe that something in your system is set up so that when you double click the jar, the correct java or javaw version is being used, but when you use the command line, an older version of java is being used.
Similar Messages
-
JAR file does not get uploaded to client for my SERVLET generated APPLET
Some help please...
I have a servlet that generates the HTML code that contains an APPLET. This APPLET needs a JAR file that is listed under its ARCHIVE property. The SERVLET is in a JAR file that is in the same directory as the other needed JAR file. If I create a static HTML with the output of the SERVLET it works fine. But if go through Weblogic the needed JAR file does not get uploaded to the client so I get a java.lang.NoClassDefFoundError:and my APPLET does not load.
Q1: I am not sure what to put under the CODEBASE tag. I tried "." and I also tried "http://mymachine" but both did not work. I also tried without the CODEBASE tag. No luck. The SERVLET is bound to http://mymachine/servlet.
Q2: Does anyone have any suggestions on how to do this? Is there a way to force the browser to upload a certain JAR file?
Thanks...It works!!
This is what I did:
The jar file in question was the weblogic.jar. I tried putting it under the lib directory of my war file but I had problems because the weblogic.jar contains other war files inside so when I tried to deploy my war file it also tried to deploy the inner war files which for some reason did not work. So I tried removing the war files from the weblogic.jar and this time I had no problems deploying my war file but I still could not find the classes I needed. So I tried moving the weblogic.jar to the root dir of my war file and it worked!! Now the trick here was: I did not set the CODEBASE AND I had the ARCHIVE paramenter set in TWO places like below:
<APPLET CODE = "marketmap.client.MarketMapApplet"
ARCHIVE = "weblogic.jar"
WIDTH = "657"
HEIGHT = "382"
ALIGN = "BOTTOM"
ALT = "APPLET tag not recognized">
</XMP>
<PARAM NAME = CODE VALUE = "MyApplet" >
<PARAM NAME = "type" VALUE="application/x-java-applet;version=1.2.2">
<PARAM NAME = "scriptable" VALUE="false">
<PARAM NAME = ARCHIVE VALUE="weblogic.jar">
</APPLET>
Actually if you do not place a parameter named ARCHIVE (at the end) it wil NOT work. I tried with multiple jar files listed and it works great too.
Anyway I figure I'd share. Thanks for the help too.
Lastly for people who choose not to upload the jar files to clients, you should look at the bea documentation on applets. It lists a classpath servlet that allows you to provide classes to the clients without having to force them to download the jar file. -
Files does not get sorted from Windows
I have OSX server (7 years old) using as a file server getting connected by many Windows clients. It did not happen in the beginning, but lately, I cannot sort the files by file names or file types from Windows client computer. It was all in good order even when I looked from Windows client computer, but in the past couple of years, it can never sort in good order either by file name or file types. Does anyone have the same experience like this or know what is going on?
Hi, I got reboot problem on W2k3 as well. Any time it came out, there were lots of java.nio exceptions. I really wonder if the NIO package will crash the OS? Btw, the JVM version is 1.4.2.008
One more: I found that there are exceptions which tells me "the establish connection has been terminated by the program hosted in your computer". Can any of you help? Thx... -
While executing a jar file I am getting an error
while exec a jar file i am getting an error
invalid file (bad magic number): Exec format error
i tried to execute it with the commnad
java -jar test.jar
or by directly too
./test.jarThan tell me how to launch a jar file I tried different ways like
java -jar MyJar.jar
and
MyJar
and
./MyJar
but its not worked -
Queries are not getting executed in the EJB
Hi,
I am using Stateless EJB for database transactions. I have one getConnection() method in it which I am calling in every method for connection. I have created one more method in that I am executing one simple query for count(*) from one table and returning the count in the Web dynpro application. But I am not getting the count. It seems the query is not getting executed. I have added classes12 jar externally to the EJB and also to the WebDynpro application. Is there anything I am missing????
Thanks,
Swati GaurHi Swati Gaur,
Did you print any logs in the your code to print the count after executing the query?
For debugging purpose you can try
System.err.println("Count after executing the query "+count);
count is the variable which contains the count after executing the sql query.
Check for the above statement in default trace. If count is printing in default trace then the problem is in your webdynpro code.
Hope this helps!
Regards,
Jaya. -
Could not get IOR from Domino Server while provisioning Lotus Notes
Hi all,
There are two servers that have OIM installed, development server and test server. From development server, we can
provision to Lotus Notes just fine. But for test server everytime when
provision to Lotus Notes. There will be an exception
NotesException: Could not get IOR from Domino Server: http://10.3.100.61:63148/diiop_ior.txt
From test server
I can access the URL http://10.3.100.61:63148/diiop_ior.txt using Internet Explorer
I can telnet to 10.3.100.61 63148
I can use connector testing program and it work fine
All configuration and jar files are the same as development server
There is no firewall or antivirus running in both systems.
Both server is virtual server using VMWare.
OS: Windows2003R2 Enterprise
DB: Oracle 10gR2 10.2.0.2
AS: Oracle AS 10g 10.1.3.3.0
OIM 9.1.0
Lotus Notes Connector 9.0.4.2
Thank you.
Satit
The error is as below
=================================================
INFO,11 Nov 2008 11:24:26,109,[ADAPTER.LOTUSNOTES],LotusNotesProvision::init
INFO,11 Nov 2008 11:24:26,109,[ADAPTER.LOTUSNOTES],LotusNotesProvision::init
DEBUG,11 Nov 2008 11:24:26,109,[ADAPTER.LOTUSNOTES],LotusNotesProvision::init : Host 10.3.100.61
DEBUG,11 Nov 2008 11:24:26,109,[ADAPTER.LOTUSNOTES],LotusNotesProvision::init : Port 63148
DEBUG,11 Nov 2008 11:24:26,109,[ADAPTER.LOTUSNOTES],LotusNotesProvision::init : Admin Pongtape Ungkawanish/Telecom./Central Support/Fin./KK_Bangkok/TH
DEBUG,11 Nov 2008 11:24:26,109,[ADAPTER.LOTUSNOTES],LotusNotesProvision::init : Certifier OU
DEBUG,11 Nov 2008 11:24:26,109,[ADAPTER.LOTUSNOTES],LotusNotesProvision::init : Before session
08/11/11 11:24:26 Running setTimeoutParameters
08/11/11 11:24:26 Running Connect
INFO,11 Nov 2008 11:24:26,109,[ADAPTER.LOTUSNOTES],LNotesConnectionUtil::getSession
INFO,11 Nov 2008 11:24:26,109,[ADAPTER.LOTUSNOTES],LNotesConnectionUtil::getSession : ***Non-Secure Mode
ERROR,11 Nov 2008 11:24:26,109,[ADAPTER.LOTUSNOTES],LNotesConnectionUtil::getSession : ***Connection refused to Lotus Notes......
NotesException: Could not get IOR from Domino Server: http://10.3.100.61:63148/diiop_ior.txt
at lotus.domino.NotesFactory.requestIORPlain(Unknown Source)
at lotus.domino.NotesFactory.requestIORUsingArgs(Unknown Source)
at lotus.domino.NotesFactory.getIOR(Unknown Source)
at lotus.domino.NotesFactory.createSessionUP(Unknown Source)
at lotus.domino.NotesFactory.createSession(Unknown Source)
at com.thortech.xl.Integration.HostAccess.LNotesConnectionUtil.getSession(Unknown Source)
at com.thortech.xl.Integration.HostAccess.LotusNotesProvision.connect(Unknown Source)
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:585)
at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpLNCREATEUSER.CONNECT(adpLNCREATEUSER.java:449)
at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpLNCREATEUSER.implementation(adpLNCREATEUSER.java:160)
at com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.runEvent(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.runMilestoneEvent(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.ejb.beansimpl.tcProvisioningOperationsBean.retryTasks(Unknown Source)
at com.thortech.xl.ejb.beans.tcProvisioningOperationsSession.retryTasks(Unknown Source)
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:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.SecurityRoleInterceptor.invoke(SecurityRoleInterceptor.java:47)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at tcProvisioningOperations_RemoteProxy_6ocop18.retryTasks(Unknown Source)
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:585)
at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:781)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:669)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:913)
... 45 more
INFO,11 Nov 2008 11:24:26,109,[ADAPTER.LOTUSNOTES],Unable to connect to the target. Attempting to reconnect after delay of 2000ms.......
INFO,11 Nov 2008 11:24:28,110,[ADAPTER.LOTUSNOTES],LNotesConnectionUtil::getSession
INFO,11 Nov 2008 11:24:28,110,[ADAPTER.LOTUSNOTES],LNotesConnectionUtil::getSession : ***Non-Secure Mode
ERROR,11 Nov 2008 11:24:28,110,[ADAPTER.LOTUSNOTES],LNotesConnectionUtil::getSession : ***Connection refused to Lotus Notes......
NotesException: Could not get IOR from Domino Server: http://10.3.100.61:63148/diiop_ior.txt
at lotus.domino.NotesFactory.requestIORPlain(Unknown Source)
at lotus.domino.NotesFactory.requestIORUsingArgs(Unknown Source)
at lotus.domino.NotesFactory.getIOR(Unknown Source)
at lotus.domino.NotesFactory.createSessionUP(Unknown Source)
at lotus.domino.NotesFactory.createSession(Unknown Source)
at com.thortech.xl.Integration.HostAccess.LNotesConnectionUtil.getSession(Unknown Source)
at com.thortech.xl.Integration.HostAccess.LNotesConnectionUtil.getSession(Unknown Source)
at com.thortech.xl.Integration.HostAccess.LotusNotesProvision.connect(Unknown Source)
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:585)
at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpLNCREATEUSER.CONNECT(adpLNCREATEUSER.java:449)
at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpLNCREATEUSER.implementation(adpLNCREATEUSER.java:160)
at com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.runEvent(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.runMilestoneEvent(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.ejb.beansimpl.tcProvisioningOperationsBean.retryTasks(Unknown Source)
at com.thortech.xl.ejb.beans.tcProvisioningOperationsSession.retryTasks(Unknown Source)
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:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.SecurityRoleInterceptor.invoke(SecurityRoleInterceptor.java:47)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at tcProvisioningOperations_RemoteProxy_6ocop18.retryTasks(Unknown Source)
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:585)
at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:781)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:669)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:913)
... 46 morecheck if DIIOP service is turned on at the Lotus Domino side...
Oleg. -
Tasks not getting executed as per schedule
Hello Gurus,
my query is with respect to tuxedo 7.1 / singleview 4.02.17.01.
I am facing some new issues these days with singleview.
Whenever we submit any task in singleview, it is not getting executed on its scheduled time.
this has been happening from past few days.
worstly,nothing has been found in logs.
Interestingly, twice it happened that i took down the application & after the app was brought up,these "NOT" executed tasks started automatically.
Why this could be happening?
unix file " stdout" <standard output> is getting written heavily & reaching its MAX size ( 2 GB) in less than 24 hrs.
i have changed its schedule as of now,but has it got anything with above problem?
Finally,i have generated a new "ubbconfig" for tuxedo which will help in maximising billing performance.
reason for this is in recent times i have observed that memory usage has increased .so this "ubb" contains maximum billing servers & rest minimum.if you have any idea on this,pls let me know.
your suggestions & corrections are welcome.
Thanks & Regards
Abhijeet KSome follow up questions:
- How did you migrate (dsmig ldif or binary import)
- Did the accounts in .x have any custom password policies set?
For a "new" and a migrated entry, can you check if a passwordpolicysubentry is configured?
(search as directory manager and fetch the attribute) -
Fault policies not getting executed for called BPEL process
Hi,
I am facing one issue in execution of fault policy for a called BPEL Process.
I have two BPEL Processes - BPELProcess1 and BPELProcess2.
We have fault-policies and fault-bindings file.
Case1 - BPELProcess2 is synchronous :-
BPELProcess2 throws a fault of selectionFailure.
Now this fault is defined in fault-policies and fault policy is bound to BPELProcess2 component in fault-bindings.xml file.
But this fault policy is NOT getting executed.
This selectionFailure fault from BPELProcess2 goes unhandled and in BPELProcess1, invoke activity gets this unhandled fault and raises a fault "remoteFault".
This remotefault is also defined in fault-bindings and bound to BPELProcess1 component. Here fault policy bound to BPELProcess1 is working fine.
So problem is that for called process, fault policies are not getting executed while for calling process, they are getting executed.
Case1 - BPELProcess2 is Asynchronous
BPELProcess2 is asynchronous. So same situation happening here. Fault policy for BPELProcess2 is not getting executed on throwing selectionFailure.
But now here, since BPELProcess2 is async in nature, BPELProcess1 is not getting response and it is always waiting for response which is wrong.
So how can we use fault policies in this case?
Please suggest.
Thanks & Regards,
ParshantSo that means - only fault originating from invoke activity in BPEL can be associated with a fault policy. No other fault can be associated. Even if I throw a selectionFault from throw activity, that will not be captured. Only fault from invoke activity can be associated with a fault policy.
Please confirm.
Thanks,
Edited by: 833944 on Feb 24, 2011 9:36 PM -
The Apache axis2 jar files are not taking at run time
While running the application I was getting the following errors. The error is getting at run time only. It has compiled successfully.
It ran under eclipse without any issues. But with Apache axis we are getting following error trace while uploading to server. The Apache axis2 jar files are not taking at run time.But compiling successfully.
The application is running under Oracle R12 server.I didn't find any option to set class path for run time in R12 server.
Using Java version is 1.6 and Apache axis2.1.6.2
Error trace:
Exception :java.lang.NoClassDefFoundError: Could not initialize class org.apache.axis2.description.AxisService
Error : java.lang.NoClassDefFoundError: Could not initialize class org.apache.axis2.description.AxisService
com.rightnow.ws.wsdl.RightNowSyncServiceStub.populateAxisService(RightNowSyncServiceStub.java:41)
com.rightnow.ws.wsdl.RightNowSyncServiceStub.(RightNowSyncServiceStub.java:636)
com.rightnow.ws.wsdl.RightNowSyncServiceStub.(RightNowSyncServiceStub.java:625)
com.rightnow.ws.wsdl.RightNowSyncServiceStub.(RightNowSyncServiceStub.java:673)
com.rightnow.ws.wsdl.RightNowSyncServiceStub.(RightNowSyncServiceStub.java:665)
com.rightnow.ws.util.ContactUtils.initializeService(ContactUtils.java:57)
somejsp.jspService(_somejsp.java:189)
com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
java.lang.Thread.run(Thread.java:619)Hello,
I too am trying to use Axis2 application in R12. But getting the following error:
java.lang.classCastException: com.sun.xml.messaging.saaj.soap.ver1_1.SoapMessageFactory1_1Impl cannot be cast to oracle.webservices.soap.VersionedMessageFactory
If I run the application standalone from java command line it works fine. I think the error could be because of some oracle app jars getting picked up inatead of my application jars. How to make sure that my application jars get picked up instead of oracle jars
I tried loading my jar file and then setting it as contextClassLoader using "Thread.currentThread().setContextClassLoader", but this did not help.
Can you please let me know what can be tried to fix this
Thanks
Srikanth -
I just purchased and downloaded an audiobook from iTunes. I tried to sync it to iPhone 4 and iPod Classic but with both devices got a message"file could not be read from to written to". Then I tried to play the audiobook in iTunes and realized that only part 2 of my 2 part download will play. Part 1 will not play. Is this why I got the message? Is there any way to get another try at downloading my audiobook I just paid $15 for??
Click the Shuffle button at bottom left of iTunes window so the crossed arrows are not blue.
-
File Name and File Content not gettinng passed from Proxy to Business Serv
Hi All ,
I have a requirement in OSB , where i need to pick the file from remote Source and FTP the files to Remote Target .Below are the steps which i did to achieve this.
1.Created a FTP Adapter in JDeveloper to Get the files from Source and a FTP Adpater to Put the files to Target.Inboth the adapters i have choose 'Shema is Opaque'
2.Imported the wsdl and jca file to OSB
3.Generated Proxy Service (PS ) and Business service (BS) out of Step 2
4.I edited the Message flow such a way that , the PS is routed to invoke the BS
Aslo i assigned $inbound/ctx:transport/ctx:request/tp:headers/jca:jca.file.FileName to a variable 'FileName' in PS
and in BS service i passed $outbound/ctx:transport/ctx:request/tp:headers/jca:jca.ftp.FileName = 'FileName'
When i tried to activate my session , the file that is getting written to the target has 0 byte.Also , the file name is also not getting passed from PS to BS
Can some one help me with the steps on how to use the Xpath , so as to pass the file name and file body from proxy servive to business service.
Thanks
JohnI search multiple shares to find a common file name then create a single output file. I will be doing this search and file creation
for 5-10 different file names. If there is a better way .. certainly open for suggestions. It's working but having issue with
the cmd file for every file and folder I check. It puts this error out for each run of the process.
Error message in LOG file:
Get-ChildItem : Cannot find path 'F:\powershell\-SearchFor' because it does not exist.
Thanks.
I tried your code with little changes and saved in Temp folder.
My CMD file has the below code
PowerShell C:\Temp\Untitled1.ps1
It worked.
Regards Chen V [MCTS SharePoint 2010] -
In PO Release "PO release effected" is not getting executed
Hi All,
I am working on PO Release WorkFlow.
when I execute the WF of PO release, its executing the first task "please release PO" but when I relase the PO from my work place the second step "PO release effected" is not getting executed. I could not found why this is happening.
Please help me in this issue.
Thanks.
Ranganadh.Thank You Adithya,
I have copied the standard one i.e. WS20000075. I am executing the workflow directly from the Workflow builde by giving the PO number and release code.
with this in my business workplace I can able to find the workitem.
I am releaseing the PO from the Workplace. After releasing the PO also I am getting the status of the workitem as "Inprocess".
In workflow log I found that only first task (PO Released) has been executed the subsequent steps are not getting executed.
Would be there any settings are missed out??
Thanks.
Ranganadh. -
File is not getting deleted in File-RFC-File without BPM
Hi,
I'm working on File-RFC-File scenario without BPM. Everything is working fine except file is not getting deleted after the process. I'm passing xml file here and in return it will give the xml success/error message from RFC.
For the sender CC, I'm passing the following parameters,
Transsport protocol: File system
Message protocol: File
QoS: BE
Poll Interval: 30 sec
Mode: Delete
File type: Binay
Please let me know if I missed anything while passing the values.
Thanks,
Swamy
Edited by: Swamy Mothe on Jun 15, 2009 8:52 AMHi
Then , is Sender and receiver File Adapter is using same folder )
Just a question.
But having all permisions and above config would delete the file
can u see the status of u r File Adapter in RWB.? Is it in green?
rgds
srini -
Scheduled job not getting executed on a logical standby
Hello,
We have created a job(through dbms_scheduler API). The job is enabled and shows up in the SCHEDULERJOBS view also.
However the job does not get executed. I looked into the following tables there was no relevant entry found for the aforesaid job:
select * from all_scheduler_job_log
select * from dba_scheduler_running_jobs
select * from DBA_SCHEDULER_JOB_RUN_DETAILS order by log_date desc
Is there any limitation that we cannot execute scheduled jobs on a logical standby database. If i execute the relevant program (that is configured to be run as job in this scenario) as an individual procedure from SQL plus, it gets executed successfully implying there is no errors/problem in the subprogram that the job is going to invoke.
Appreciate your thoughts in this regard.
Thanks.Hi Justin,
Thanks for your response.
As per the app design, the job invokes a stored program(that maps to a stored procedure present in standby db itself) that reads the data from standby and populates the relevant tables/entities in another database(third db, not primary or standby) which acts as a repository. No write operations are to be performed on standby.
So, i have two doubts:
-- Can scheduled jobs execute on logical standby db[Oracle release 10g(R2)]
I was going through few of the oracle docs and it is mentioned that this is a known limitation in 10g
R2 release and has been corrected in 11g. Now we have something called database_role
attribute that needs to be set to 'LOGICAL STANDBY' if you need to execute a job on
standby. However it is available in 11g onwards.
-- If there is no workaround for the above mentioned problem in 10g-R2 release.
Then we may have to schedule a job from third db instance that shall invoke the program(residing on the standby db). Can we have a scheduled job which executes a program that maps to a remote stored procedure instead of local stored procedure?
Appreciate your thoughts.
Thanks -
Hi,
My sql below is not getting executed.There are no errors but even after long time it is not producing any thing (error or result).
I am getting results till the statement SELECT D.budeptmap_v88_dept_id ,
but when I right the last statement on top of this nothing is coming.
select u.dw_code_skey,u.dw_code from dw.agg_inscope_top_nodes t, dw.dw_codes u
where
t.TOP_NODE_TR_HDR_SKEY = u.DW_CODE_TR_HDR_SKEY
and u.DW_CODE_SUPERTYPE_CODE = 'DEPT'
and u.DW_CODE_DW_CUR_IND = 'Y'
and u.DW_CODE_DW_DEL_IND = 'N'
and u.DW_CODE in(
SELECT D.budeptmap_v88_dept_id
from DW.CLIENT_ACCOUNTS C,DW.AON_V75_V88_BU_DEPT_MAP_SDO D
WHERE D.budeptmap_v75_dept_id = '-1'
AND D.budeptmap_v75_bu_id IN(C.cli_acct_producing_offICE_code)
AND C.CLI_ACCT_DW_CUR_IND='Y'
AND CLI_ACCT_SKEY IN (
SELECT A.CLI_SUM_CLI_ACCT_SKEY
FROM PROFIT.FACT_CLIENT_SUMMARIES A
WHERE A.CLI_SUM_PERIOD_SKEY = 3
AND A.DM1_TOT_ADJUSTED_REV_AMT =
(SELECT MAX(DM1_TOT_ADJUSTED_REV_AMT)
FROM PROFIT.FACT_CLIENT_SUMMARIES B
WHERE B.CLI_SUM_ENTITY_SKEY =A.CLI_SUM_ENTITY_SKEY
AND B.CLI_SUM_PERIOD_SKEY =3)))
any help in tunning is highly appreciated.
Thanks in advancehow long does this query takes to complete?
SELECT D.budeptmap_v88_dept_id
from DW.CLIENT_ACCOUNTS C,
DW.AON_V75_V88_BU_DEPT_MAP_SDO D
WHERE D.budeptmap_v75_dept_id = '-1'
AND D.budeptmap_v75_bu_id IN (C.cli_acct_producing_offICE_code)
AND C.CLI_ACCT_DW_CUR_IND = 'Y'
AND CLI_ACCT_SKEY IN (SELECT A.CLI_SUM_CLI_ACCT_SKEY
FROM PROFIT.FACT_CLIENT_SUMMARIES A
WHERE A.CLI_SUM_PERIOD_SKEY = 3
AND A.DM1_TOT_ADJUSTED_REV_AMT =
(SELECT MAX(DM1_TOT_ADJUSTED_REV_AMT)
FROM PROFIT.FACT_CLIENT_SUMMARIES B
WHERE B.CLI_SUM_ENTITY_SKEY =A.CLI_SUM_ENTITY_SKEY
AND B.CLI_SUM_PERIOD_SKEY =3))
Maybe you are looking for
-
I purchased IWEB 09 so I could publish multiple websites through mobile me. Do I need to purchase an upgrade to mobile me to be able to do that? poccsteve
-
Attaching a document in SAP...
Hi All, In FB03 t-code (Document display line items), there is one option to create an attachment. Here you can attach a file(pdf, xls or etc..) from your local workstation to sap. Do anyone know, where this document gets saved in server or at sap le
-
I've Now Killed 2 160GB iPod Classics with My Music Library
I've now tried to load my complete iTunes library onto an iPod classic twice, and both times, once the complete library is loaded, the Apple boot screen appears and the hard drive spins until the battery goes dead. Today, I took the first one into th
-
How to encrypt/decrypt xml data into, and then out of IDS?
Hi, How would we encrypt NPPI information being passed from an unencrypted xml through IDS, and then decrypt it on exit prior to Gendata. The IDS SDK gave a reference to IDSEncryptionRule(), but insufficient examples of implementation. It could be so
-
Reports 2.5 over-writing an existing output file
When I try to save the Reports 2.5 output to a file that already exists, the application seems to work. However, the Report Server logs indicate an error - Rep 1081 - Unable to open file ... When you check if the file was created, its even worse that