ASP page hang for calling ActiveX bridge!!!

Below are the steps I done
Note: Using jdk1.5.1.
1) It is my java program, i make it as simple program
public class FirstProgram{
     public FirstProgram(){
public String getMessage(){
return "hello";
2) My manifest.stub is like this:
Name: FirstProgram.class
Java-Bean: true
3) Then I generate the "FirstProgram.jar" file.
4) Then I register like this
jdk1.5.1\bin\packager -out C:\Program Files\Java\ j2re1.5.1\axbridge\bin -reg FirstProgram.jar FirstProgram
5) I tested this dll with Visual Basic. It works fine.
6) I tested this dll with VB script in ASP.
<%@ Language=VBScript %>
<%
Dim oTest
Set oTest = CreateObject("FirstProgram.Bean.1")
Response.Write oTest.getMessage()
Set oTest = Nothing
%>
or I tried like this
<%@ Language=VBScript %>
<%
Dim oTest
Set oTest = Server.CreateObject("FirstProgram.Bean.1")
Response.Write oTest.getMessage()
Set oTest = Nothing
%>
Page will be be unavaible and i run it again (then IIS will hang and die).
1) How do i solve this problem? Why it is able to run in VB not in asp? Is it because IIS bug?
Note: Windows Server 2003 IIS 6.0/ Windows XP IIS 5.1 ( I have tested it on
these two environments, it gave me same results).
2) I read some forums said we might need to use javareg.exe to register this component. Is it true? Where can I get this component?
Thanks for you help!!!

I am having the same problem.
I am running Windows 2003 Server and trying to create the object, but it is hanging. I am running the Sun JRE 1.5.3 ActiveX Bridge.
I have tried both IIS6 and IIS5 Isolation Mode, but neither work. Under IIS5, IIS just hangs.
HELP!

Similar Messages

  • New Mac, I open some web pages hang for 30sec before opening?

    Safari opens web pages but some sites for example Vodafone start to open but hang for around 20 seconds before fully opening the page. This can't be normal?

    There are no maps or plugin content on either of those pages, so I don't feel like I'm getting the whole story from you. However, please try the following.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of this test is to determine whether the problem is localized to your user account. Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault in OS X 10.7 or later, then you can’t enable the Guest account. The "Guest User" login created by "Find My Mac" is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.

  • Why does Pages 09 hang for 1min30sec? The spinning ball, etc...

    I am using Pages 09 version 4.3 (not the iWork package, just Pages 09)
    Operating system 10.8.3 with 4 Gb memory on an iMac from around 2009 (Intel core 2 duo)
    I had been using Quark Xpress for a couple decades and wanted to save a book I did in Pages so I can sell it in the Apple bookstore.
    So I saved a Quark document as a pdf.
    Then I used an on-line service to convert the pdf to a word document.
    Then I opened the word doc in Pages and saved it as a Pages file.
    I am in the process of doing a lot of reformatting, but I'm not surprised all the formatting didn't carry over, considering all the flie formats I went through.
    The document is about 40 pages and has perhaps 40 pictures, but I do resize them in Photoshop so the Pages document file is only 4.9 Mb.
    Pages isn't all that different from Quark, it just seems to hide things in different places.
    The problem is that every so often when I click in the document, I get the spinning ball and Pages hangs for 1 minute and 30 seconds (doesn't it seem odd that it is always for the same length of time?). Then it comes out of its coma and I carry on.
    Using the Activity Monitor I see Pages using 99.8% or 100% or even 100.5% of CPU. And The Pages line is in red type that reads "Pages (Not Responding).
    While I wait for Pages to come to its senses, I can surf the Web, or use other programs, which seems peculiar because if the CPU is 100% occupied, I would think it could.
    When I go to the dock and click on the Pages icon, it doesn't come to the front. I have to move any other windows so I can see my Pages document and click on it to bring it to the front.
    I went into FontBook and checked all my fonts and deleted a bunch. When I reopened the document, it said it was missing a font, so I selected a substitute, the document opened and I re-saved it with a new name.
    Sometimes it hangs when I click in text, but just now it was hanging every time I tried to click on a line behind the main text box.
    Just now it hung when I started to go to the Edit menu. I waited and now it's back, as if nothing happened.
    Any ideas?

    After a very long night it seems my problems were solved by
    1. making sure all the in-line pictures had the correct wrap around settings and
    2. deleting some lines that had originally been underscores, but wound up being independent lines behind the main text box and
    3. checking my fonts in FontBook and deleting the iffy ones (I dunno if this made any real difference, but I mention it anyway).
    Every time I would select a line there would be a long pause. Initially 1 1/2 minutes, but shorter as I deleted the lines one by one.
    There were also pauses when trying to select in-line pictures, and sometimes for no good reason that i could discern.
    Anyway, now that the pictures' wrap around is re-set, and the lines are delected, there are bo more pauses!
    Whew. I spent hours watching that ball spin. Still, it was better than re-creating the whole book.

  • Running the ActiveX Bridge examples

    I have just tried to download the examples and run them in JDK 1.4.2_06. Both the examples registered fine. Unfortunately, I get a very unhelpful message from Windows XP when I run the executable that the executable has to close before anything else happens. I have tried searching the forums for an error like this, but have seen nothing.
    Does anyone know why the documentation for the ActiveX bridge is so miniscule and incomprehensible? I wonder why they released it, if they're not going to document it properly.
    My eventual requirement (if I can get a proof-of-concept working) is to call Java from .NET code. Has anyone made this work, and if so, would you mind sharing hints? I'm very strong on the Java side, but it's been a long time since COM in school.
    Thanks!

    I also had a hard time to finally get my own bean running as expected. I call my Java objects from within Visual Basic. Post your error messages/exception stack traces so we may help you.

  • Page hangs While Navigating from JTT to OA

    In our product Oracle Trade Management we are facing the following issue while trying to navigate to an OA page from a JTT page. Please note that the page hangs for sometime and we have noticed following exception:
    java.lang.RuntimeException: java.sql.SQLException: Missing descriptor
    at oracle.apps.jtf.base.session.JTFCDB.getJTFCookieString(JTFCDB.java:414)
    at oracle.apps.jtf.base.session.JTFCookie.getBrowserCookie(Unknown Source)
    at
    oracle.apps.jtf.base.session.ServletSessionManager.addSessionCookie1(ServletSe
    ssionManager.java:4240)
    at
    oracle.apps.jtf.base.session.ServletSessionManager.addSessionCookie(ServletSes
    sionManager.java:4211)
    at
    oracle.apps.jtf.base.session.ServletSessionManager.endRequest(ServletSessionMa
    nager.java:2495)
    at pages._jtfcrmchrome._jspService(__jtfcrmchrome.java:1894)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at
    weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecu
    rityHelper.java:227)
    at
    weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.
    java:125)
    at
    weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at
    weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatche
    rImpl.java:523)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.
    java:253)
    at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:159)
    at pages._jtfcrmchrome._jspService(__jtfcrmchrome.java:1312)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at
    weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecu
    rityHelper.java:227)
    at
    weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.
    java:125)
    at
    weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at
    weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.
    java:416)
    at
    weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:326)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(Unknown Source)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at
    oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:332
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun
    (WebAppServletContext.java:3715)
    at
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(Web
    AppServletContext.java:3681)
    at
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.
    java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at
    weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletCon
    text.java:2277)
    at
    weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.ja
    va:2183)
    at
    weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    The sample code used in JTT page to build Hyperlinks, which takes us to OA page is give below:
    String l_strOfferNameHyperlink = oracle.apps.asf.util.FunctionUtil.getURL(omoPage,"OZF_FS_OFFR_UPDT")+"&qpListHeaderId="+l_strObjId;
    String l_StrPageIdsUrl = "&"+omoPage.getPageIDsURL().substring(1);
    l_strOfferNameHyperlink += l_StrPageIdsUrl;
    l_strOfferNameHyperlink += "&PAGE.OBJ.objType=OFFR";
    l_strOfferNameHyperlink = oracle.apps.jtf.admin.adminconsole.SideBarMetaData.getURL(l_strOfferNameHyperlink,0,0);
    We modified the code as per the OA dev guide and bug no: 04548959
    l_strOfferNameHyperlink = PageUtil.get(omoPage).getURLNoCookie("OZF_FS_OFFR_UPDT",false)+"&qpListHeaderId="+l_strObjId;
    String l_StrPageIdsUrl = "&"+omoPage.getPageIDsURL().substring(1);
    l_strOfferNameHyperlink += l_StrPageIdsUrl;
    l_strOfferNameHyperlink += "&PAGE.OBJ.objType=OFFR";
    l_strOfferNameHyperlink = oracle.apps.jtf.admin.adminconsole.SideBarMetaData.getURL(l_strOfferNameHyperlink,0,0);
    l_strOfferNameHyperlink = oracle.apps.jtf.base.session.ServletSessionManager.getURL(l_strOfferNameHyperlink);
    Pls let us know what is the better way to handle the navigation from JTT to OA to avoid this issue.
    Thanks,
    Nirma

    Calling OA Page from JSP page
    Call OAF Page from JSP
    -Anand

  • Problems with the ActiveX bridge for Java beans when using third-party .jar

    I encountered the following problem when using the ActiveX bridge for a java bean:
    I am using JDK 1.4.2_09 and MS Visual Basic 6.0 (SP6). I wrote a java bean called ProcessViewer (my class ProcessViewer inherits from JComponent and implements the interfaces Serializable and AdjustmentListener) which I would like to use within a VB 6.0 application. I used the ActiveX bridge (packager.exe) to generate a DLL (ProcessViewer.dll) and registered it successfully. The java bean GUI-control works fine within my VB 6.0 application unless my java bean (ProcessViewer.jar) uses any third-party .jar files.
    But when I tried to add a reference to some third-party class (com.sap.xxx.xxx....) I got some problems. I could solve the problem with packager.exe by setting the correct CLASSPATH. But at runtime my VB 6.0 application does not work. It crashes or it reports an error like this: "The control ... could not be loaded from axbridge.dll" (although I deployed my .jar file correctly to the directory C:\Programme\Java\j2re1.4.2_09\axbridge\bin and lib). Setting the CLASSPATH environment variable before calling my VB 6.0 application (exe) did not solve the problem.
    How can I teach my VB 6.0 application (containing the Java bean ActiveX control) where to find the third-party .jar file? Copying the third-party .jar file to the JRE lib-folder or to the axbridge\lib folder did not solve the problem either.
    I studied the documentation about the ActiveX bridge given at:
    http://java.sun.com/j2se/1.4.2/docs/guide/beans/axbridge/developerguide/index.html
    but I am missing informations on how the third-party .jar files can be found during runtime of the ActiveX container (e. g. a VB 6.0 application).

    See how to solve your problem with JNI:
    http://codeproject.com/cpp/OOJNIUse.asp
    More examples (for SWING) in tools setup:
    http://www.simtel.net/product.php[id]95126[SiteID]simtel.net
    http://www.simtel.net/product.php[id]94368[SiteID]simtel.net
    http://www.simtel.net/product.php[id]93174[SiteID]simtel.net

  • Problem calling java from vb via activex bridge

    I am trying to call java from vb via ActiveX Bridge and I am running into problems. I would appreciate any help.
    I am using Visual Basic 2010 express, and Java JDK 1.6.0_16. I have used the http://download.oracle.com/javase/1.4.2/docs/guide/beans/axbridge/developerguide/index.html page as a guideline. To try to make it work I took the following steps:
    1. Wrote a very simple java class (below):
    package xxx;
    import java.io.Serializable;
    public class axb implements Serializable {
    public int get_axb_Handle() {
    int Address = 12345678;
    return Address;
    2. After I compiled, and created the jar file. I built the dll using the following command:
    "C:\Program Files\Java\jdk1.6.0_16\bin\packager" -out "C:\Program Files\Java\jdk1.6.0_16\jre\axbridge\bin" E:\axb\dist\axb.jar xxx.axb
    3. I then registered using: regsvr32 axb.dll
    4. In Visual Basic Express IDE I use Project -> Add Reference to add Iterop.axb (dump below), and axb namespace
    5. In my basic code I use the following lines
    Dim axb1 As axb.axb
    axb1 = New axb.axb <== Crash here with AccessViolationException ( full exception below)
    What am I missing? Any help would be greatly appreciated
    Thanks
    Iterop.axb partial dump
    ___[MOD] C:\Documents and Settings\Elie A. Cohen.USINC022\My Documents\Visual Studio 2010\Projects\Repo API Example\Repo API Example\obj\x86\Release\Interop.axb.dll
    | M A N I F E S T
    |___[NSP] axb
    | |___[INT] axb.axb
    | | | .class interface public abstract auto ansi import /*02000006*/
    | | | implements axb.axbDispatch/*02000003*/
    | | | implements axb.axbSource_Event/*02000005*/
    | | | .custom /*0C000018:0A000001*/ instance void [mscorlib/*23000001*/]System.Runtime.InteropServices.GuidAttribute/*01000002*/::.ctor(string) /* 0A000001 */ = ( 01 00 24 34 45 36 44 30 44 41 38 2D 36 41 45 44 // ..$4E6D0DA8-6AED ...
    | | | .custom /*0C000019:0A000007*/ instance void [mscorlib/*23000001*/]System.Runtime.InteropServices.CoClassAttribute/*01000009*/::.ctor(class [mscorlib/*23000001*/]System.Type/*01000007*/) /* 0A000007 */ = ( 01 00 0C 61 78 62 2E 61 78 62 43 6C 61 73 73 00 // ...axb.axbClass. ...
    | |
    | |___[CLS] axb.axbClass
    | | | .class public auto ansi import /*02000004*/
    | | | implements axb.axbDispatch/*02000003*/
    | | | implements axb.axb/*02000006*/
    | | | implements axb.axbSource_Event/*02000005*/
    | | | .custom /*0C00000F:0A000008*/ instance void [mscorlib/*23000001*/]System.Runtime.InteropServices.ClassInterfaceAttribute/*0100000A*/::.ctor(int16) /* 0A000008 */ = ( 01 00 00 00 00 00 ) ...
    | | | .custom /*0C000010:0A000009*/ instance void [mscorlib/*23000001*/]System.Runtime.InteropServices.ComSourceInterfacesAttribute/*0100000B*/::.ctor(string) /* 0A000009 */ = ( 01 00 0F 61 78 62 2E 61 78 62 53 6F 75 72 63 65 // ...axb.axbSource ...
    | | | .custom /*0C000011:0A000001*/ instance void [mscorlib/*23000001*/]System.Runtime.InteropServices.GuidAttribute/*01000002*/::.ctor(string) /* 0A000001 */ = ( 01 00 24 43 44 42 46 36 42 33 33 2D 45 32 33 46 // ..$CDBF6B33-E23F ...
    | | | .custom /*0C000012:0A000002*/ instance void [mscorlib/*23000001*/]System.Runtime.InteropServices.TypeLibTypeAttribute/*01000003*/::.ctor(int16) /* 0A000002 */ = ( 01 00 02 00 00 00 ) ...
    | | |___[MET] method .ctor : void()
    | | |___[MET] method equals : bool(object)
    | | |___[MET] method getClass : object()
    | | |___[MET] method get_axb_Handle : int32()
    | | |___[MET] method hashCode : int32()
    | | |___[MET] method notify : void()
    | | |___[MET] method notifyAll : void()
    | | |___[MET] method toString : string()
    | | |___[MET] method wait : object(object,object)
    AccessViolationException exception
    System.AccessViolationException was unhandled
    Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
    Source=mscorlib
    StackTrace:
    at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
    at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache)
    at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache)
    at System.Activator.CreateInstance(Type type, Boolean nonPublic)
    at System.Activator.CreateInstance(Type type)
    at WindowsApplication1.Form1.getPatientHandle_Click(Object sender, EventArgs e) in C:\Documents and Settings\Elie A. Cohen.USINC022\my documents\visual studio 2010\Projects\Repo API Example\Repo API Example\Repo API Example.vb:line 13
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Button.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
    at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.Run(ApplicationContext context)
    at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
    at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
    at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
    at WindowsApplication1.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81
    at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
    at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
    at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()
    InnerException:

    In case you haven't figured it out already... Or if anyone else is curious... Or for myself when I get old and forgetful...
    h2. Object Creation
    For starters, when you create an ActiveX object from within VB, use:
    Set myObject = CreateObject("JavaObject.Bean")When I refer to JavaObject.Bean, I'm meaning the full object name + ".Bean". So, in your case, you should use:
    Set myObject = CreateObject("xxx.axb.Bean")h2. Location
    The .dll file must be located in the JRE that is used at the time of calling. Meaning, the .dll file must be placed under <jre_home>\axbridge\bin and registered there.
    In your case:
    DLL:
    C:\Program Files\Java\jre6\axbridge\bin
    Jar:
    C:\Program Files\Java\jre6\axbridge\libh4. A Note:
    The only supported JRE is a 32bit version as far as I know with regards to the ActiveX bridge. Just like the packager.exe can only be found in the 32bit JDK.
    h2. Methods
    h3. Object Types
    ActiveX Bridge does not support passing literals or arrays. However, it does support passing java's primitive data types as Objects.
    Simply meaning:
    h4. Invalid:
    public int get_axb_Handle() {
         int Address = 12345678;
         return Address;
    }h4. Valid:
    public Integer get_axb_Handle() {
         int Address = 12345678;
         return Address;
    }On a normal circumstance, there's little difference between the two methods. However, in the second example, the JVM does a typecast from a literal data type to a object data type, resulting in a valid object to pass through to Visual Basic. Now, obviously there are multiple ways to do a proper change, new Integer(int) for example. It doesn't matter to me. At the end of the day, you have to pass an object.
    As a side note, the same idea applies when receiving data from Visual Basic.
    h4. Invalid:
    public void set_axb_Handle(int newHandle) {
         int Address = newHandle;
    }h4. Valid:
    public void set_axb_Handle(Integer newHandle) {
         int Address =newHandle;

  • Calling the ASP page through a BSP application

    Hi,
    We are in the process of implementing Digital signature for SRM cFolders.
    BSP application : CFX_RFC_UI
    Pages with flow logic : doc_de_download
    The digitally signed files are uploaded to the cFolders.On click of a
    particular file in cFolders, the 'ASP' page residing on the server in IIS
    vertual directory i.e. 'verifyfile.asp' should get called.This ASP page has
    the logic to verify the signed file.
    The signed file resides on the file system in the same vertual directory.
    As a result we want to post a message on the screen which
    will be the output of the ASP page logic.
    Please suggest the way to achieve this.
    Regards,
    Nilesh
    Message : ---
    <b>Verification Successful</b>
      Certificate Details
    The certificate is valid
    CRL Status: Certificate Revocation Status is Unknown: CRL Not checked
    Email Id: [email protected]
    Issuer Name: ock Demo Certification Authority
    Serial Number: 15 65 7a 0a  00 00 0d d9
    Subject Name: Email Address = [email protected] | Country = US
    | StateOrProvince = VA | Locality = McLean | Organization = Technologies Corporation | Organizational Unit = ock Demo | Common Name = Valid ock |
    ThumbPrint: 16 00 c1 f4 76 aa 57 f2 20 27 0f 21 44 9e 08 9d 61 ca dd 95
    Valid From: Monday, April 10 2006,02:19:58
    <i><b>The code in OnInitialization event handler is as follows :----</b></i>
    * doc_de_download.htm
    DATA lp_root_exception   TYPE REF TO cx_root.
    DATA lp_doc              TYPE REF TO cl_cfx_document.
    DATA l_cur_ver_id        TYPE guid_32.
    DATA lp_col_app          TYPE REF TO cl_cfx_col_application.
    DATA lp_col              TYPE REF TO cl_cfx_collaboration.
    DATA : icontent type table of  sdokcntbin.
    data :  w_tmpcontent TYPE sdokcntbin.
    **** Data declaration
    data : g_folder_path TYPE btcxpgpar value 'usrsapDigitally signed files',
          g_md(100)      TYPE c,
          g_file_path    TYPE string,
          g_system       TYPE rfcdisplay-rfchost,
          g_os           TYPE sxpgcolist-opsystem,
          g_file_size    TYPE string,
          g_mime_type    TYPE string,
          g_file_ext     TYPE string,
          g_len1         TYPE i,
          g_var          TYPE c,
          g_out_file     TYPE c LENGTH 600,
          g_file_count   TYPE p,
          g_table_lines  TYPE p,
          g_counter      TYPE p VALUE 1,
          g_flag         TYPE c.
    DATA : i_doc_id TYPE sysuuid_c.
    CONSTANTS : c_dot TYPE c VALUE '.'.
    TRY.
        IF NOT p_refresh IS INITIAL.
          cl_cfx_ui_application=>delete_instance( ).
        ENDIF.
        TRANSLATE p_col_id TO UPPER CASE. "Just in case...
        TRANSLATE p_area_id TO UPPER CASE. "Just in case...
        TRANSLATE p_topic_id TO UPPER CASE. "Just in case...
        TRANSLATE p_doc_id TO UPPER CASE. "Just in case...
        TRANSLATE p_ver_id TO UPPER CASE. "Just in case...
        TRANSLATE p_save TO UPPER CASE. "Just in case...
    *   initialize in case of server state timeout
        IF ( NOT p_col_id IS INITIAL ) AND
           ( NOT p_area_id IS INITIAL ) AND
           ( NOT p_topic_id IS INITIAL ).
          CALL METHOD cl_cfx_context_ui=>initialize
            EXPORTING
              i_col_id      = p_col_id
              i_area_id     = p_area_id
              i_topic_id    = p_topic_id
              i_doc_id      = p_doc_id
              i_object_type = cfxf1_sc_doc_type_document.
        ENDIF.
        IF NOT p_col_id IS INITIAL.
          lp_col_app = cl_cfx_col_application=>get_instance( ).
          lp_col = lp_col_app->get_collaboration( p_col_id ).
        ENDIF.
    *   Do we need to prepare to checkout this document?
        cl_cfx_doc_ui=>get_docref_safe(
          EXPORTING
            i_guid        = p_doc_id
          IMPORTING
            ep_docref     = lp_doc ).
        IF ( NOT p_filepath IS INITIAL ) AND ( p_do_lock = 'X' ).
          l_cur_ver_id = lp_doc->if_cfx_versioning~get_current_version( ).
          IF l_cur_ver_id = p_ver_id.
    *       OK, prepare checkout
            TRY.
                lp_doc->if_cfx_document~lock( ).
              CATCH cx_root.
            ENDTRY.
          ENDIF.
        ENDIF.
    data: lt_formfields type TIHTTPNVP,
          l_formfield   type IHTTPNVP,
          l_request     type STRING.
    data: lt_headerfields type TIHTTPNVP,
          l_headerfield   type IHTTPNVP.
    CALL METHOD request->get_form_fields
      CHANGING
        fields = lt_formfields.
    CALL METHOD request->get_header_fields
      CHANGING
        fields = lt_headerfields.
    *    CALL METHOD cl_cfx_doc_ui=>retrieve_content
    *      EXPORTING
    *        ip_navigation = navigation
    *        ip_response   = response
    *        ip_runtime    = runtime
    *        i_col_id      = p_col_id
    *        i_area_id     = p_area_id
    *        i_topic_id    = p_topic_id
    *        i_doc_id      = p_doc_id
    *        i_ver_id      = p_ver_id
    *        i_save        = p_save.
    *   Do we need to checkout this document?
        cl_cfx_doc_ui=>get_docref_safe(
          EXPORTING
            i_guid        = p_doc_id
          IMPORTING
            ep_docref     = lp_doc ).
        IF ( NOT p_filepath IS INITIAL ) AND ( p_do_lock = 'X' ).
    *      l_cur_ver_id = lp_doc->if_cfx_versioning~get_current_version( ).
          IF l_cur_ver_id = p_ver_id.
    *       OK, do checkout
            TRY.
                CALL METHOD cl_cfx_doc_ui=>mark_doc_as_checked_out
                  EXPORTING
                    ip_doc     = lp_doc
                    i_filepath = p_filepath.
              CATCH cx_root.
            ENDTRY.
          ENDIF.
        ENDIF.
    i_doc_id = p_ver_id.
    CALL FUNCTION 'CFX_API_DOC_DOCUMENT_READ'
    Exporting
        i_doc_version_id = i_doc_id
      IMPORTING
        e_file_path      = g_file_path
        e_file_size      = g_file_size
        e_mime_type      = g_mime_type
        e_file_ext       = g_file_ext
      TABLES
        et_content       = icontent.
    ******  Download document
    IF NOT icontent[] IS INITIAL.
    ***  PERFORM sub_download_file USING g_file_path.
      CONCATENATE g_folder_path g_file_path
      INTO g_out_file.
      OPEN DATASET g_out_file FOR OUTPUT IN BINARY MODE.
      IF sy-subrc = 0.
        LOOP AT icontent INTO w_tmpcontent.
          TRANSFER w_tmpcontent TO g_out_file.
        ENDLOOP.
      ENDIF.
      CLOSE DATASET g_out_file.
      CLEAR g_out_file.
    ENDIF.
        CLEAR: p_area_id, p_col_id, p_doc_id, p_save,
               p_topic_id, p_ver_id, p_filepath.
    ** handle other standard exceptions
      CATCH cx_root INTO lp_root_exception.
        CALL METHOD cl_cfx_exception_ui=>handle
          EXPORTING
            ip_exception  = lp_root_exception
            ip_navigation = navigation.
    ENDTRY.

    Hi,
    Something like this should work:
    REPORT  zggar_http_client.
    PARAMETERS: p_host  TYPE char100 DEFAULT 'http://www.google.fr',
                p_port  TYPE char20.
    DATA: wcl_client TYPE REF TO if_http_client.
    DATA: w_content    TYPE string,
          w_host       TYPE string,
          w_port       TYPE string,
          w_proxy_host TYPE string,
          w_proxy_port TYPE string,
          w_path       TYPE string.
    w_host = p_host.
    w_port = p_port.
    CALL METHOD cl_http_client=>create
      EXPORTING
        host          = w_host
        service       = w_port
        proxy_host    = w_proxy_host
        proxy_service = w_proxy_port
      IMPORTING
        client        = wcl_client.
    wcl_client->request->set_header_field( name  = '~request_uri'
                                       value = w_path ).        "#EC *
    wcl_client->request->set_header_field( name  = '~request_method'
                                       value = 'GET' ).         "#EC *
    * send and receive
    wcl_client->send( ).
    wcl_client->receive( ).
    * display content
    w_content = wcl_client->response->get_cdata( ).
    Best regards,
    Guillaume

  • Can we call an ASP page using J2Me

    hi, I want to know whether there is a way of calling an ASP page which is for sending mass emails through my J2ME application using HTTP connection

    Yes, the server-side technology is irrelevent to the MIDlet, as long as it supports HTTP 1.1.

  • Call ASP page on Flash Button

    Hi, I am a newbie to Flash,  i want to call ASP page (.aspx) on Flash button click Event.
    thanks in advance.

    David,
    I don't know what that file is. Can you elaborate?
    Thanks,
    Chris
    quote:
    Originally posted by:
    Newsgroup User
    chriscatalano wrote:
    > Hopefully this is a simple problem. I've added a Flash
    Button via the Insert
    > Media -> Flash Button in DW8. Unfortunately the
    button does not show up when
    > the php page is loaded up to the server. And yes, I did
    make sure to upload
    > the button file.
    But did you upload this file?
    Scripts/AC_RunActiveContent.js
    David Powers
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "Foundation PHP 5 for Flash" (friends of ED)
    http://foundationphp.com/

  • Has anyone gotten the error message after statement of error from Adobe:  Mismatched begin and rollbackUserAction calls? (Import::import action to. generate page bitmap for CONTACT US)

    Help!  Full error statement:
    Adobe Muse CC has encountered an error and will now exit.  Please report the last few actions you took leading up to this error to the Adobe Muse CC team.
    Mismatched begin and rollbackUserAction calls? (Import::import action to. generate page bitmap for CONTACT US)

    Please send us the .muse file and the MuseLog.txt file from your Documents folder to [email protected] Include a link to this thread for context. If the file is larger than 20Mb you can use a service like Adobe SendNow, Dropbox, WeTransfer, etc. (If you use a service, please include your return e-mail address in the body of the message, since not all services include it in the sharing invite they send.) Thanks.

  • Skype Windows client hangs for the first call - co...

    Hi,
    Skype on my Windows 8.1 (depending on its mood) hangs for the first call. It will keep ringing and ringing till it times out, during that time I am not able to hang up the call as well, the red hang up button doesnt work and we have to let the call go on till it drops on its own. Then on the second try it connects perfectly fine. This happens most of the times, there are only a few days where it connects on the first try otherwise its always the 2nd time. 
    Please let me know what could be the possible solution for this one?
    Thanks

    Hi Marcin,
    This forum is mainly for talk about the product use related issue and not the best place to talk about the develop issue, for the develop issue we can post in MSDN forum for
    the further help and your issue may need capture a dump then for the further analysis it is not an efficient way to work in this community since we may need more resources which is not appropriate to handle in the community. I‘d like to suggest that you submit
    a service request to MS Professional tech support service so that a dedicated Support Professional can further assist with this request.
    MSDN forum
    https://social.msdn.microsoft.com/Forums/en-US/home
    Please visit the below link to see the various paid support options that are available to better meet your needs.
    http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone
    Thanks for your understanding and support.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Can Java Applet Call the ASP Page

    Hi,
    I would like to know whether the Java Applet can call the ASP page.
    If it can be done, how does the Java Applet get the value from ASP page?
    Please provide me some running example.
    Thanks.

    I would like to know whether the Java Applet can
    an call the ASP page.Something like:
    AppletContext.showDocument(new URL("http://wherever/myPage.asp"), "_blank");
    how does the Java Applet get the value from ASP page?What?
    Please provide me some running example.Nope.

  • Syntax for calling html page in PL/SQL package

    Hi,
    I'm trying to call html page (stored on server) in my pl/sql package!
    I have already create html page in pl/sql package code and it's works fine.
    Now create better html page (interface design) and stored on server. I would like to call that stored html page in my pl/sql package.
    What is syntax for calling html page in PL/SQL or could you suggest me some literature.
    In first option I had created ces and stored it on server. Then I call it in pl/sql package like htp.p('<link rel="stylesheet" href="\download\table_style.css" type="text/css">');
    I try someting like that for calling html page but it doesn't works.
    htp.p('<link rel="form" href="\download\interface.htm" type="text/html">');
    Does anyone know syntax for calling html page in pl/sql?!?
    Thanks!

    hello
    I normally use htp.anchor(URL,linkname);
    it works
    ammar sajdi
    www.e-ammar.com/Oracle.htm

  • Oracle 8i database hangs for the same amount during JDBC calls.

    Hi all,
    I have a Oracle 8i database on solaris. The database hangs for exactly 61 seconds for a random jdbc call from my Java application, i mean there is no particular pattern or a JDBC call for which the database hangs. If i choose to wait for 61 seconds it returns the results from the database but if i try to access the database with another query(SQL Plus) the first query starts executing immediately. Is that a database configuration problem or some thing else.
    And i also get some exceptions occasionally( Maximum Open Cursors exception). Are these two related?
    Any feedback is appreciated.
    Thanks
    Hugo Victor

    I have uninstalled Oracle 8i.
    Removed all the services from Windows services by deleting corresponding registry entries and deleted the Oracle folder.
    I have reinstalled Oracle 8i, this time i changed the name of global database to oracledb.
    I channged the tnsnames.ora file from DevSuite appropriately as:
    # tnsnames.ora Network Configuration File: C:\DevSuiteHome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = mscserver)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORACLEDB)
    Still it can't login using scott/tiger authentication.
    What may be the problem? Please help.
    -Sameer

Maybe you are looking for