DynPro application compiled under SP14 and deployed to SP11 Portal
Hello,
I have accidently compiled and deployed a DynPro application on NWDS client with SP14 to NW Portal with SP11. Now I receive an exception:
java.lang.NoClassDefFoundError: com/sap/tc/webdynpro/progmodel/api/IWDEventHandlerId
Is there any way to retreive this jar from the SP11 server and recompile the application with it?
HI Roy,
You question is confusing. In heading you said that "DynPro application compiled under SP14 and deployed to SP11 Portal" and in message you said "application on NWDS client with SP11 to NW Portal with SP11".
If you have compiled application with SP11 then it should be ok. But, if you have compiled with SP14 then it surely gives such error.
You can open your dynpro application in NWDS SP11 and then rebuild it and deploy on the WAS SP11. It will work.
Regards,
Bhavik
Similar Messages
-
Compiling EJB files and Deployment Discriptor
Hi,
Could any body tell me step by step process of compiling EJB files and building deployment descriptor. I want to learn from scrap. I search on web but not found material that I need.
Actually I've made a simple EJB example now I want to compile and want to write a deployment descriptor for that using ant or javac.
You can also refer me tutorial describing the process form scrap.
Looking forward,
Regards,
AbbasiAlthough you could deploy each bean in a different .jar file , deploying them
together in an jar file produces a classloader arrangement that allows one ejb
class to refer to another ejb class. Packaging ejb jar files in a ear file produces
a common classloader for the ejb jar files.
"Gary Gu" <[email protected]> wrote:
>
Hi,
To build ejb jar files, we can include all beans (including bean class,
home,
inteface, and other java classes) of the application into one jar file.
Or we
can make ONE jar file for EACH bean (including only bean class, home
and interface.
NOT other dependent classes that will sit in weblogic server classpath).
I would like to know any disadvantage for second method in terms of memory,
class
loading, etc. Or any advantage for the second method
Thanks -
EJB2 application on Weblogic10 appc and deployment problem
Hi,
I am trying to migrate my EJB2.0 application from WLS7 jdk4 to WLS10 jdk5. I compiled my application with jdk5 and WLS10 libraries then I am trying to run weblogic.appc on my application it complains that there is some class missing (see the below exception) .. then i try to deploy the jar without running appc on it.. i am getting another exception.. Please help if i am missing any library that is used by appc. I tried to look into all the jars shipped with WLS10 but unable to find that class..
weblogic.appc exception
Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/descriptor/BeanUpdateListen
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at weblogic.logging.MessageLogger.<clinit>(MessageLogger.java:45)
at weblogic.logging.WLMessageLogger.log(WLMessageLogger.java:51)
at weblogic.j2ee.J2EELogger.logAppcFailedWithError(J2EELogger.java:5257)
at weblogic.application.compiler.Appc.runBody(Appc.java:174)
at weblogic.utils.compiler.Tool.run(Tool.java:158)
at weblogic.utils.compiler.Tool.run(Tool.java:115)
at weblogic.application.compiler.Appc.main(Appc.java:183)
at weblogic.appc.main(appc.java:14)
Deployment exception on WLS10
<Aug 24, 2007 9:58:09 AM PKT> <Error> <J2EE> <BEA-160197> <Unable to load descriptor /ecds/bea100/user_projects/domains/
fmsdomain/servers/AdminServer/upload/FMS-raw.jar/META-INF/ejb-jar.xml of module FMS-raw.jar. The error is weblogic.descr
iptor.DescriptorException: Unmarshaller failed
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:152)
at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:292)
at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:260)
at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoade
r2.java:774)
at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java
:395)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoa
der2.java:745)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:7
54)
at weblogic.ejb.spi.EjbJarDescriptor.getEjbJarBean(EjbJarDescriptor.java:131)
at weblogic.ejb.spi.EjbJarDescriptor.getEditableEjbJarBean(EjbJarDescriptor.java:171)
at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processEjbJarXMLWithSchema(EjbDescriptorReaderImpl.java
:673)
at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processEjbJarXML(EjbDescriptorReaderImpl.java:220)
at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createDescriptorFromJarFile(EjbDescriptorReaderImpl.jav
a:172)
at weblogic.ejb.spi.EjbDescriptorFactory.createDescriptorFromJarFile(EjbDescriptorFactory.java:73)
at weblogic.application.compiler.EJBModule.merge(EJBModule.java:130)
at weblogic.application.compiler.flow.SingleModuleMergeFlow.proecessModule(SingleModuleMergeFlow.java:16)
at weblogic.application.compiler.flow.SingleModuleFlow.compile(SingleModuleFlow.java:31)
at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96)
at weblogic.application.compiler.ReadOnlyEjbMerger.merge(ReadOnlyEjbMerger.java:27)
at weblogic.application.compiler.flow.AppMergerFlow.mergeInput(AppMergerFlow.java:94)
at weblogic.application.compiler.flow.AppMergerFlow.compile(AppMergerFlow.java:47)
at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96)
at weblogic.application.compiler.AppMerge.runBody(AppMerge.java:137)
at weblogic.utils.compiler.Tool.run(Tool.java:158)
at weblogic.utils.compiler.Tool.run(Tool.java:115)
at weblogic.application.compiler.AppMerge.merge(AppMerge.java:149)
at weblogic.deploy.api.internal.utils.AppMerger.merge(AppMerger.java:70)
at weblogic.deploy.api.internal.utils.AppMerger.getMergedApp(AppMerger.java:51)
at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createDeployableObject(WebLogicDeploya
bleObjectFactoryImpl.java:177)
at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createLazyDeployableObject(WebLogicDep
loyableObjectFactoryImpl.java:150)Sorry for delayed reply. Actually my problem related to deployment is resolved. There were duplicate entries of the same name in the ejb-jar.xml and it seems that weblogic10 parser is more strict on that. I have successfully build and deployed my application on WL10 at AIX. But i am still having problem to run appc on windows. Its throwing the following exception
[java] Created working directory: C:\DOCUME~1\kymsh2\LOCALS~1\Temp\appcgen_1188625950850_FMS-raw.jar
[java] [GC 8128K->3358K(130112K), 0.0161498 secs]
[java] [GC 11486K->5074K(130112K), 0.0172815 secs]
[java] [GC 13202K->5831K(130112K), 0.0129304 secs]
[java] [GC 13959K->6728K(130112K), 0.0116495 secs]
[java] <Sep 1, 2007 10:52:38 AM GMT+05:00> <Error> <J2EE> <BEA-160197> <Unable to load descriptor E:\FMSAntBuild\WL
S10_Build\jars\FMS-raw.jar/META-INF/ejb-jar.xml of module FMS-raw.jar. The error is java.io.IOException
[java] at weblogic.descriptor.internal.MarshallerFactory.<init>(MarshallerFactory.java:50)
[java] at weblogic.descriptor.BasicDescriptorManager.getMarshallerFactory(BasicDescriptorManager.java:131)
[java] at weblogic.descriptor.BasicDescriptorManager.getDescriptorFactory(BasicDescriptorManager.java:165)
[java] at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:289)
[java] at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:260)
[java] at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescrip
torLoader2.java:774)
[java] at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoad
er2.java:395)
[java] at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescr
iptorLoader2.java:745)
[java] at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader
2.java:754)
[java] at weblogic.ejb.spi.EjbJarDescriptor.getEjbJarBean(EjbJarDescriptor.java:131)
[java] at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processEjbJarXMLWithSchema(EjbDescriptorReaderI
mpl.java:671)
[java] at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processEjbJarXML(EjbDescriptorReaderImpl.java:2
20)
[java] at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyDescriptorFromJarFile(EjbDescript
orReaderImpl.java:185)
[java] at weblogic.ejb.spi.EjbDescriptorFactory.createReadOnlyDescriptorFromJarFile(EjbDescriptorFactory.java:9
3)
[java] at weblogic.ejb.container.ejbc.EJBCompiler.parseDescriptors(EJBCompiler.java:1430)
[java] at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:467)
[java] at weblogic.application.compiler.AppcUtils.compileEJB(AppcUtils.java:298)
[java] at weblogic.application.compiler.EJBModule.compile(EJBModule.java:83)
[java] at weblogic.application.compiler.flow.SingleModuleCompileFlow.proecessModule(SingleModuleCompileFlow.jav
a:16)
[java] at weblogic.application.compiler.flow.SingleModuleFlow.compile(SingleModuleFlow.java:31)
[java] at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
[java] at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
[java] at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
[java] at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
[java] at weblogic.application.compiler.EJBCompiler.compile(EJBCompiler.java:25)
[java] at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:118)
[java] at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
[java] at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
[java] at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
[java] at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
[java] at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
[java] at weblogic.application.compiler.Appc.runBody(Appc.java:172)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:158)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:115)
[java] at weblogic.application.compiler.Appc.main(Appc.java:183)
[java] at weblogic.appc.main(appc.java:14)
[java] Caused by: com.bea.xml.XmlException: unable to load type library from classloader sun.misc.Launcher$AppClass
Loader@133056f
[java] at com.bea.staxb.runtime.internal.BindingContextFactoryImpl.createBindingContext(BindingContextFactoryIm
pl.java:50)
[java] at weblogic.descriptor.internal.MarshallerFactory.<init>(MarshallerFactory.java:48)
[java] ... 35 more
[java] .>
[java] com.bea.xml.XmlException: unable to load type library from classloader sun.misc.Launcher$AppClassLoader@1330
56f
[java] at com.bea.staxb.runtime.internal.BindingContextFactoryImpl.createBindingContext(BindingContextFactoryIm
pl.java:50)
[java] at weblogic.descriptor.internal.MarshallerFactory.<init>(MarshallerFactory.java:48)
[java] at weblogic.descriptor.BasicDescriptorManager.getMarshallerFactory(BasicDescriptorManager.java:131)
[java] at weblogic.descriptor.BasicDescriptorManager.getDescriptorFactory(BasicDescriptorManager.java:165)
[java] at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:289)
[java] at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:260)
[java] at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescrip
torLoader2.java:774)
[java] at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoad
er2.java:395)
[java] at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescr
iptorLoader2.java:745)
[java] at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader
2.java:754)
[java] at weblogic.ejb.spi.EjbJarDescriptor.getEjbJarBean(EjbJarDescriptor.java:131)
[java] at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processEjbJarXMLWithSchema(EjbDescriptorReaderI
mpl.java:671)
[java] at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processEjbJarXML(EjbDescriptorReaderImpl.java:2
20)
[java] at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyDescriptorFromJarFile(EjbDescript
orReaderImpl.java:185)
[java] at weblogic.ejb.spi.EjbDescriptorFactory.createReadOnlyDescriptorFromJarFile(EjbDescriptorFactory.java:9
3)
[java] at weblogic.ejb.container.ejbc.EJBCompiler.parseDescriptors(EJBCompiler.java:1430)
[java] at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:467)
[java] at weblogic.application.compiler.AppcUtils.compileEJB(AppcUtils.java:298)
[java] at weblogic.application.compiler.EJBModule.compile(EJBModule.java:83)
[java] at weblogic.application.compiler.flow.SingleModuleCompileFlow.proecessModule(SingleModuleCompileFlow.jav
a:16)
[java] at weblogic.application.compiler.flow.SingleModuleFlow.compile(SingleModuleFlow.java:31)
[java] at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
[java] at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
[java] at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
[java] at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
[java] at weblogic.application.compiler.EJBCompiler.compile(EJBCompiler.java:25)
[java] at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:118)
[java] at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
[java] at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
[java] at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
[java] at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
[java] at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
[java] at weblogic.application.compiler.Appc.runBody(Appc.java:172)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:158)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:115)
[java] at weblogic.application.compiler.Appc.main(Appc.java:183)
[java] at weblogic.appc.main(appc.java:14)
[java] unable to load type library from classloader sun.misc.Launcher$AppClassLoader@133056f
[java] Java Result: 1
**** ANY IDEA.. ANY BODY ??? ************* -
I am running Firefox 6.0.2 on several computers and on several of them the applications tab under "options" only shows 5 or 6 applications while another shows 20-25 applications including PDF which is what I am interested in. How can I get applications to appear on this menu?
All of the computers in questions are running Windows XP Pro. On the computer with the limited menu if I attempt to download a PDF copy of my bank statement Mozilla opens the PDF rather than opening it with my PDF program. If I attempt to save the file or print it, Mozilla crashes. On the computer which lists all of the apps on the application tab the PDF opens normally using the program which I have selected for opening that file type.You can try to disable hardware acceleration in Firefox.
*Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
You need to close and restart Firefox after toggling this setting.
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
You can check if there is an update for your graphics display driver.
*https://support.mozilla.org/kb/how-do-i-upgrade-my-graphics-drivers -
Can Visual Composer applications only be created and deployed on EP?
We are working with Visual Composer on our Enterprise Portal box and I like it a lot. However, our company is investigating Microsoft Sharepoint as a possible candidate for Portals. This could mean that we are not going to use EP. I would like to know if it is possible to create and deploy Visual Composer applications if we don't have EP installed.
As VC is dedicated SAP technology I don't think this can work but I want to be be 100 % sure. Maybe there are other ways to run VC in a sharepoint portal that I don't know off?
kr
Angelique HeutinckHi Angelique,
You need the SAP Enterprise Portal to run Visual Composer.
In the VC you create pages and iviews that need the enterprise portal services to run.
"... Visual Composer operates on top of the SAP NetWeaver portal, utilizing the portals connector-framework interfaces to enable access to a range of data services, including SAP and third-party enterprise systems. In addition to accessing mySAP ERP systems, users can access SAP Business Warehouse and any open/JDBC stored procedures..."
http://help.sap.com/erp2005_ehp_03/helpdata/EN/42/ef8270370a1bcae10000000a11466f/frameset.htm
Best regards,
José -
Deploy Dc that compiles under jdk1.5 in NW7.0
Hi
In my project a need a library that can be compiled only under jdk1.5. The library is POI 3.6.
My server however is NW7.0 and runs under JDK 1.4.
Is it possible to create a DC for the classes I need (POI 3.8) , compile it under jdk1.5 and treat it as a used DC in my main DC that runs under JDK 1.4?
I hope someone understand me...
Thank you for your advice.
regards
Yuval PeeryHi
Ok, so another question?
Is it possible to run a vbs program that resides on the file system of the machine where the server is installed?
What I want is to call this script from a web dynpro application.
Thank you and regards
Yuval -
Under applications, "mailto" has disappeared and I am unable to send links.
I recently had to reformat my hard drive and reinstall (among other things) Firefox. Fine. Then I was asked if I wanted to upgrade, which I did. A day or two later, I wanted to e-mail a link to several friends and when I clicked on "send llink" under File, nothing happened. I checked the application option under Tools and discovered that the "mailto" app had disappeared. I have reinstalled Firefox a couple of times with no change. All I really want to know is how I can get the "mailto" app option back.
I am running Windows Vista, Firefox 3.6.8, Thunderbird 3.1.2 and a large number of add-ons.Please read this thread to see if helps you:
https://support.mozilla.com/en-US/questions/668801 -
Need ant script to compile, package, and deploy to Oracle AS 10.3.1
I have a test app with ADF faces/jsf for front-end and EJB 3.0 Session Facade/Entity beans for back-end. The project structure/layout is similar to the SRDEMO app in JDeveloper. I was able to compile, package, and deploy within JDeveloper 10g to Oracle AS 10g successfully. Is there a sample ant script to compile, package, and deploy to Oracle AS 10g that I can run from command line? The build.xml that came with SRDEMO only do the compilation, not packaging and deployment. I was able to modify the SRDEMO's build.xml to compile my test app though. I still need the script to package and deploy it.
Thanks,Hi,
How are you referring to the class path. I have created my custom build file and I refer like this.
<path id="classpath">
<pathelement location="${oracle.home}/lib/aia.jar"/>
<pathelement location="${oracle.common.home}/modules/org.apache.commons.logging_1.0.4.jar"/>
</path> oracle.home is the location where my aia.jar resides.
In the compile-classes target I have
<!--Target for Class path details -->
<target name="compile-classes">
<mkdir dir="${sca-inf.classes.dir}"/>
<javac destdir="${sca-inf.classes.dir}" classpathref="classpath"
debug="on" nowarn="${javac.nowarn}"
deprecation="${javac.deprecation}" encoding="Cp1252"
source="1.6" target="1.6">
<src path="${src.dir}"/>
</javac>
</target> Regards,
Neeraj Sehgal -
Build and deploy iPhone application from terminal
Hi,
I'm new to the Mac world and was trying to build an application from the terminal without success although the documentation mentions its possible (but doesn't provide any documentation on the tools or any other details).
So, anyone can give me a simple example of how to build an application from the terminal and deploy it to the simulator and/or sign and deploy to an iphone?
ThanksHello lancea,
sorry for not specifying my Qs clearly.
But now I got clear idea about asant command.
Actualy my problem is How to package an ear for obove mentiioned files, which all are in package.
When I tried to build .ear for particular session bean and accessed from remote client
I am getting following exeption. It seems application is not able to refer classes in package.
C:\j2ee\orcaclient>java -classpath ".;c:/sun/appserver\lib\orcaClient.jar;C:\j2
ee\orcaclient\jp\or\med\orca\sdk\server\base\manager\orcaAppClient.jar;c:/sun/ap
pserver\lib\j2ee.jar;c:/sun/appserver\lib\appserv-rt.jar" -Dorg.omg.CORBA.ORBIni
tialHost=JAVADEV01 -Dorg.omg.CORBA.ORBInitialPort=3700 jp.or.med.orca.sdk.server
.base.manager.Client
Exception in thread "main" java.lang.NoClassDefFoundError: jp/or/med/orca/dbs/DB
SIllegalStatusException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.sun.corba.ee.impl.util.Utility.loadStub(Utility.java:912)
at com.sun.corba.ee.impl.javax.rmi.PortableRemoteObject.narrow(PortableR
emoteObject.java:285)
at javax.rmi.PortableRemoteObject.narrow(Unknown Source)
at jp.or.med.orca.sdk.server.base.manager._DBSAccessorSessionHome_Stub.c
reate(Unknown Source)
at jp.or.med.orca.sdk.server.base.manager.Client.main(Unknown Source)
I hope you got my problem.
Thanks in advance.
Regards,
Prashant- -
Web Dynpro application needs to never expire.
Hi
I have a Web Dynpro application (NW2004 SP12) that displays spreadsheet like sales data to anyone who walks past the screen in a common area in the office/s. It should therefore run unattended. It refreshes the data on a timer. The data comes from a back-end aRFC. Everything works fine but about every 1.5 days the application times out (session expires) and needs to be re-opened (this seems to be a large administrative problem to re-login at all the deployment sites).
It gives an error 500 application has expired. Please restart with the refresh button
In testing/troubleshooting I used the direct URL to the application running on WAS and not through a Portal iView.
I also changed the System destination from using SSO to using a dedicated user to the back-end.
Does anyone have an idea on how to auto refresh a Web Dynpro application or auto-renew the session so that it can run forever or a way to re-login automatically?
Thanks in advance,
Rick ViljoenHi Isidro
Yes, this was my final solution. Here is the code for the htm page. It will refresh/reload every 6 hours. Hope it helps.
Regards,
Rickus
<html>
<head></head>
<body>
<div id = div1></div>
<script type="text/javascript">
function putIF(hldr,x,y,w,h,url) {
// Iframe
holder=document.getElementById(hldr);
holder.style.position ='absolute';
holder.style.left=x;
holder.style.top=y;
holder.style.width=w;
IF=document.createElement("iframe");
IF.setAttribute("height", h);
IF.setAttribute("width", w);
IF.setAttribute("src", url);
if (holder.hasChildNodes()) {
var oChild=holder.children(0);
holder.removeChild(oChild);
holder.appendChild(IF);
var myDate=new Date();
window.status="Last reload on: " + myDate;
function refreshiframe() {
myWidth = document.body.offsetWidth-21;
myHeight = document.body.offsetHeight-4;
putIF("div1","0px","0px",myWidth,myHeight,"http://<server>:<port>/webdynpro/dispatcher/local/SalesD/SalesD?j_user=xxx&j_password=ppp");
window.setTimeout(refreshiframe, 21600000);
refreshiframe();
</script>
</body></html> -
SSO to partner application running under IIS
Hi,
We have a complete set-up for 9iAS Release2 where some applications are running. In parallell we have an application running under IIS, and would now like to enable the IIS application as a partner application to 9iAS letting the 9iAS SSO server handle the authentication.
In the documentation of Oracle Proxy Plug-in I read that this proxy plug-in can be used to proxy requests from IIS to Oracle http server (OHS) and also in this way enable SSO.
My question is if this can be done only for applications running under 9iAS but having IIS as web server, or if it is also possible like in our case to enable SSO via the proxy plug-in to applications runnind under IIS?
If this is not supported is the only available solution to use the SSO SDK in my IIS application?
Thanks and regards,
RikardHere's a DIY answer.
See Metalink Note 269820.1 which shows you how to use Perl to overwrite the host name in the HTTP header and remove the port number. -
Web Dynpro application - HTTP or HTTPs
Hi all,
when is a web dynpro application called over http and when over https.
I have a web dynpro application (SICF - Logon Standard - not SSL) but the application is sometimes triggered with HTTPS.
How can i find this out?
regardsSo If SSL is configured and installend on your System,
you can call your wd-application through HTTPS (beside HTTP) as well.
But if you enable SSL in SICF on the Logon,
only HTTPS will work, HTTP will not work anymore. -
How to Debug a BAPI from a Web Dynpro application
I have a Web Dynpro application calling a BAPI, and I would very much like to see what data the Web Dynpro application is passing into the BAPI, and then debug the BAPI.
Is there a way to do this? I'm wondering if it is possible to somehow set up the ABAP stack so that on receipt of the BAPI call, it appears on the tRFC queue waiting for execution.
However it is done, I need a way to step through the BAPI on the ABAP stack.
BR,
Tony.Hi Anthony,
The ABAP runtime environment contains various tools that you can use for analysis purposes, such as for debugging source code. All source code written for Web Dynpro applications in ABAP can normally be tested using the debugger.
To allow it to test other Web Dynpro-specific program entities too, the debugger has been equipped with a special enhancement. In the phase model in the active application, you can typically see the following information at various points in time:
-The structure of the content of the current controller,
-The properties of the UI elements in the layout of the current view
-The currently instantiated component usages
Starting the Debugger
The functions for debugging Web Dynpro entities are embedded in the new debugger. You therefore need to have selected the new debugger in your Workbench settings.
Selecting the New Debugger
1. In the menu, choose Utilities -> Settings.
2. A dialog box now appears that contains two nested tab page areas. Choose the parent tab page ABAP Editor.
3. The settings for ABAP Editor always open with the content of the child tab page Editor. Here, select Front End Editor (New).
4. Now switch to the Debugging tab page in the ABAP Editor settings and select New Debugger.
5. Save your changes and close the dialog.
Starting the Debugging Process
To run an application in debugging mode, you first need to set an external breakpoint in display mode in one of the methods in the component.
Now start a test run of the application from ABAP Workbench as usual.
The method in which you set the breakpoint depends on the purpose of the test run. To debug a view, for example, it is best to set the breakpoint in method WDDOMODIFYVIEW. Provided that the context of the view controller is not filled using a supply method, the view is fully instantiated in the phase model at this point in time.
Selecting the Web Dynpro Tool in the New Debugger
When you start the application, another session opens automatically for the debugger. If you have not yet saved any personal settings with regard to the layout of the debugger, the Editor tool will now appear on the left, with the Display Variables tool on the right.
1. Select one of the three desktops in order to reconfigure it for debugging the Web Dynpro application (see Designing Work Areas).
2. The right-hand edge of the debugger window has a bar of function icons. Choose the Replace Tools icon:
3. In the next dialog box (New Tool) open the lowest node (Special Tools) and choose Web Dynpro.
4. Confirm the dialog box.
On the right of the debugger desktop, you will see that the previous tool has now been replaced by the Web Dynpro debugger. You can save this setting for future debugging activities. To do this, choose Save Layout In the debuggers general toolbar.
Thankyou,
Ramganesh. -
Compiling for Windows and Java
Hi All
This is a deff newbie question. Basically i have a program that will compile in Windows, but if I try and compile it in Linux (CentOS) then I get 48 errors all related to graphics of constructors.
It was my understanding that Java was meant to be platform independent, or is that just a myth?
Is there any way that i can resolve this, or find a tool that will show me what wont compile under linux and why?I have a
program that will compile in Windows, but if I try
and compile it in Linux (CentOS) then I get 48 errors
all related to graphics of constructors. Difficult to say without the actual compiler messages.
You may be missing some jar(s) in your classpath. -
I'm moving to a new system. It appears that the Cold Fusion
Archives feature under Packaging and Deployment of the CF
Administrator is the appropriate vehicle for this. However, there
is no entry for Cold Fusion Archives under Packaging and
Deployment. I'm running MX7, Standard Version. Is this not in the
Standard Version?
If so, what's the best path for moving a
configuration?A ColdFusion Archives demo video has been posted here: http://www.youtube.com/watch?v=HGrbOJl8RwA
Associated blog entry is here: http://blogs.coldfusion.com/post.cfm/a-new-video-on-coldfusion-10-archives-is-posted-on-yo utube-channel
Thanks,
-Aaron
Maybe you are looking for
-
Filter a tableview based on a column value-Navigation Issues.
Hi, I have a table view with total 99 values. The values are displayed in 10 tabs of the table view with 9 values in each tab.I go to the third tab and select a column value, which triggers an event and filters the result list from 99 to 12. I am sim
-
Getting 'License for this product has stopped working'
I'm getting the subject error trying to run Photoshop CS3 on a Mac under Parallels/Windows 7. I've tried the license recovery program to no avail, including running it a second time after rebooting and entering 0. That produces a status code 127 me
-
My iCloud system preferences is asking me for my apple id password, but will not let me click ok, forget, or sign out....just makes this annoying noise .....so now i can't even use my system preferences at all....all i can do is hide sytem preferen
-
Ipad with muliple apple ids but need to do a backup
i have an ipad with items purchased with multiple apple ids that i need to backup so i can transfer to a new ipad mini Can you help?
-
How do we regain control over our Time Machine drive revisited
+I posted this question as two posts over in the+ *Intel-based iMac* +forum but I think I may have put it in the wrong place. Please forgive me if you've already read this over there. If someone tells me how to delete a post I will or perhaps a Moder