Plugin 1.3.1 sometimes runs under explorer.exe rather than iexplore.exe

Mates,
I've written a large application that can also run as a signed applet using the 1.3.1 plugin. It runs beautifully and I'm very happy with the plugin technology. However, I've noticed that for certain users the plugin runs under the shell executable, explorer.exe, instead of the browser executable, iexplore.exe, even though it's started from the browser. When the applet/application is exited, it calls System.exit(0) (not ideal, I know) thereby shutting down the JVM, the plugin, and the executable the plugin is running under. No doubt you can imagine the shock on a user's face when closing my applet caused the shell to crash! This, of course, is happening because Microsoft tried to blur the lines between the browser and the desktop early in the browser wars. I can't figure out how to turn it off!
Can any of you help with this problem. If you'd like to test it, just run a small applet through explorer.exe by right-clicking on "My Computer", Open, navigate to the applet, etc. It helps if you have qslice from the resource kit open so you can see the threads opening under explorer.exe (or iexplore.exe if you try it from a browser). My system specifics are Windows 2000 sp1 with IE 5.
Thanks,
Ziad
[email protected]

Hi Ziad,
Just wondering if you ever found a solution to this problem?
I am experiencing a similar situation where browser windows are controlled by the same Explorer.exe process (not IExplore.exe) on certain machines. This means that when the browser windows are closed and reopened, the JVM is not reset. Because the machines are up for long periods of time, the JVM eventually runs out of memory and crashes.
I am trying to find a way of forcing browser windows to be spawned in separate IExplore.exe processes (instead of running under Explorer.exe).
Help Appreciated,
Mark

Similar Messages

  • Can I fool the Mac App Store into thinking my mini runs Snow Leopard Client rather than server?

    I've googled this to death and can't find an answer because, well, Google ain't all its cracked up to be.
    I highly object to Apple forcing you to pay for both Lion Client & Server if you have a server model Mac. Especially seeing as Lion Server software is just an app that sits on top of standard Lion, and that you can remove/disable it anyway. I bought a Mini from a chap in Hong Kong purely because it was way more powerful for the price than any Mini's available running a client OS here in the UK. I have no intention of learning to use the server side products, its not an interest and never will be. Plus some of the ways in which OS X 10.6 server operates gets on my nerves because of the control the server has over certain functions.
    I'm happy to go through the process of a fresh install of retail Snow Leopard firest IF I really have to as it's cheaper than Lion & Lion Server, but ultimately it's just £26 spent for the sake of it. I was wondering if anyone knows of a system file that can be tweaked so when the App Store checks my OS version, it doesn't see server, only standard Snow Leopard?
    Having read the online instructionals on how to move and save the download files and then perform a fresh install from a boot device (as the upgrade under the above circumstances would likely wreck the system) I'm living in hope I don't need to go through retail Snow Leopard first.
    Thanks all!

    Probably the best idea although do read their Terms Of Use first. Do realize that anybody here who answers your question is in contravention of the YOU as much as you would be for posing the question.
    But good luck
    Pete

  • Video controls under video rather than on top?

    Any way of making the video controls that Edge make under the video rather than on top of the video?
    ie in my example below it's interfering with the white arc and text...
    Thanks in advance.

    Buttox. I hereby submit a request
    Or is there a request area I should be doing that?

  • The MessagePerformanceUtils:totalTime issue in Flex 4 (rpc.swc) using LCDS 3.1 running under JDK1.6

    We are facing an issue while using LCDS 3.1 running under JDK1.6 in Sun Solaris v5.10 OS & Adobe Flex 4.
    Scenario :-
    ===================================
    As part of our Flex-based client-server application (with Java backend) we have a performance report generation module. Following flex framework class is used to calculate the performance of various layer of a typical server-based request-response cycle.
    ; (available in rpc.swc library file)
    (for example : server time, cairngorm time, UI screen rendering time, UI event generation time etc).
    The totalTime was working properly before upgrading the rpc.swc to Flex 4 ; However it broke after migrating to Flex SDK 4; The totalTime is now coming as negative junk value.
    As we understand that the above Flex framework class method works in conjunction with LCDS running at server side on JDK.
    We suspect that the new rpc.swc taken from Flex SDK 4 is causing the issue !
    System information :
    Web Server : Weblogic 11G
    Operating System : Sun Solaris v5.10 OS running on Sparc hardware.
    Flex : Adobe Flex sdk 4.0
    Flash player : Adobe Flash Player 10
    Browser : Internet Explorer 8
    LCDS : 3.1
    JDK : JDK 1.6.0_14
    ===================================
    Has anyone faced similar problem before ? Any help or direction would be highly appreciated.
    Thanks in advance,
    Rabi
     mx.messaging.messages.MessagePerformanceUtils :totalTime

    Nothing has changed in the Flex SDK sources for this class since sometime around 2008. Are you running against the same LCDS server as you were before you updated to Flex 4?  This certainly seems strange (and bad).  Do you see the same behavior with Flex 4.5?  What was the version of Flex you were using before switching to Flex 4.0?
    If you can provide the additional information, we will look in to this.  A reproducable case that was a simple mxml application along with a simple destination config would help us narrow the problem.
    Sorry for the problems!
    Tom

  • Thunderbird running under Win 8.1 with Defender does not download attachments and offline content.

    Thunderbird on Win 8.1 with Windows Defender is not downloading attachments from my roadrunner email account. It does so when running under Ubuntu 12.04 though. On Windows no attachments are shown. Also on Windows there is content that is not shown, I know so as there is an empty box. Then there is no option to download offline content. How may I use Thunderbird to read my email if it won't display properly? I trust the source of these emails as they are from the legal department of my former employer. I asking for the content to be resent does not work either. Please help me.
    Thank you;
    Below is information on my Win 8.1 configuration.
    Application Basics
    Name: Thunderbird
    Version: 31.6.0
    User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
    Profile Folder: Show Folder
    (Local drive)
    Application Build ID: 20150330093429
    Enabled Plugins: about:plugins
    Build Configuration: about:buildconfig
    Memory Use: about:memory
    Mail and News Accounts
    account1:
    INCOMING: account1, , (imap) mail.twc.com:143, plain, passwordCleartext
    OUTGOING: mail.twc.com:587, alwaysSTARTTLS, passwordCleartext, true
    account2:
    INCOMING: account2, , (none) Local Folders, plain, passwordCleartext
    Crash Reports
    Extensions
    Show All Body Parts, 1.2, true, [email protected]
    Important Modified Preferences
    Name: Value
    browser.cache.disk.capacity: 358400
    browser.cache.disk.smart_size_cached_value: 358400
    browser.cache.disk.smart_size.first_run: false
    browser.cache.disk.smart_size.use_old_max: false
    extensions.lastAppVersion: 31.6.0
    font.internaluseonly.changed: true
    font.name.monospace.el: Consolas
    font.name.monospace.tr: Consolas
    font.name.monospace.x-baltic: Consolas
    font.name.monospace.x-central-euro: Consolas
    font.name.monospace.x-cyrillic: Consolas
    font.name.monospace.x-unicode: Consolas
    font.name.monospace.x-western: Consolas
    font.name.sans-serif.el: Calibri
    font.name.sans-serif.tr: Calibri
    font.name.sans-serif.x-baltic: Calibri
    font.name.sans-serif.x-central-euro: Calibri
    font.name.sans-serif.x-cyrillic: Calibri
    font.name.sans-serif.x-unicode: Calibri
    font.name.sans-serif.x-western: Calibri
    font.name.serif.el: Cambria
    font.name.serif.tr: Cambria
    font.name.serif.x-baltic: Cambria
    font.name.serif.x-central-euro: Cambria
    font.name.serif.x-cyrillic: Cambria
    font.name.serif.x-unicode: Cambria
    font.name.serif.x-western: Cambria
    font.size.fixed.el: 14
    font.size.fixed.tr: 14
    font.size.fixed.x-baltic: 14
    font.size.fixed.x-central-euro: 14
    font.size.fixed.x-cyrillic: 14
    font.size.fixed.x-unicode: 14
    font.size.fixed.x-western: 14
    font.size.variable.el: 17
    font.size.variable.tr: 17
    font.size.variable.x-baltic: 17
    font.size.variable.x-central-euro: 17
    font.size.variable.x-cyrillic: 17
    font.size.variable.x-unicode: 17
    font.size.variable.x-western: 17
    gfx.direct3d.last_used_feature_level_idx: 0
    mail.openMessageBehavior.version: 1
    mail.winsearch.firstRunDone: true
    mailnews.database.global.datastore.id: 6859eb31-fcde-4f29-ae94-8ac4ec7602a
    network.cookie.prefsMigrated: true
    places.database.lastMaintenance: 1428360994
    places.history.expiration.transient_current_max_pages: 104858
    plugin.importedState: true
    Graphics
    Adapter Description: Intel(R) HD Graphics 5500
    Vendor ID: 0x8086
    Device ID: 0x1616
    Adapter RAM: Unknown
    Adapter Drivers: igdumdim64 igd10iumd64 igd10iumd64 igdumdim32 igd10iumd32 igd10iumd32
    Driver Version: 10.18.14.4029
    Driver Date: 11-18-2014
    Adapter Description (GPU #2): AMD Radeon R7 M270
    Vendor ID (GPU #2): 0x1002
    Device ID (GPU #2): 0x6604
    Adapter RAM (GPU #2): 4095
    Adapter Drivers (GPU #2): aticfx64 aticfx64 aticfx64 aticfx32 aticfx32 aticfx32 atiumd64 atidxx64 atidxx64 atiumdag atidxx32 atidxx32 atiumdva atiumd6a atitmm64
    Driver Version (GPU #2): 14.301.1002.1001
    Driver Date (GPU #2): 10-1-2014
    Direct2D Enabled: true
    DirectWrite Enabled: true (6.3.9600.17415)
    ClearType Parameters: ClearType parameters not found
    WebGL Renderer: false
    GPU Accelerated Windows: 2/2 Direct3D 10
    AzureCanvasBackend: direct2d
    AzureSkiaAccelerated: 0
    AzureFallbackCanvasBackend: cairo
    AzureContentBackend: direct2d
    JavaScript
    Incremental GC: 1
    Accessibility
    Activated: 1
    Prevent Accessibility: 0
    Library Versions
    Expected minimum version
    Version in use
    NSPR
    4.10.6
    4.10.6
    NSS
    3.16.2.3 Basic ECC
    3.16.2.3 Basic ECC
    NSS Util
    3.16.2.3
    3.16.2.3
    NSS SSL
    3.16.2.3 Basic ECC
    3.16.2.3 Basic ECC
    NSS S/MIME
    3.16.2.3 Basic ECC
    3.16.2.3 Basic ECC

    Does this occur with defender turned off?

  • When opening firefox to my Yahoo homepage, all of the formatting is screwed up. If I open it under explorer, it's fine. Any suggestions as to why firefox is messing up the yahoo formatting?

    The whole yahoo homepage is pushed to the left side and listed in a columnar format. None of the picture graphics appear as well. It's seems like yahoo isn't compatible. The whole page is setup in almost an outline format with numbers for each topic. (for example, Mail is showing as #1 with a small box with a decimal underneath. #2 is Autos with a box with a decimal underneath..and so on. The links are just boxes and there are decimals throughout. At the top left of the page, displayed over the Yahoo title is "YAI". If I close out and open yahoo under explorer, the site is perfectly normal so this tells me it has something to do with the firefox formatting. Using windows vista 2007.

    I do not want to download another virus program.. I do not believe it is a virus. I am running the full version of Norton 360 and it is doing a daily scan. I have Windows 7, 64 bit OS.
    This is very irritating !! If I wanted Yahoo I would ask for it !

  • Please help me!!!! my macbook pro 15 running on mountain lion is hanging a lot...sometimes when i use any app than it get freeze for some seconds...what should i do?

    please help me!!!! my macbook pro 15 running on mountain lion is hanging a lot...sometimes when i use any app than it get freeze for some seconds...what should i do?

    Hardware Information:
              MacBook Pro - model: MacBookPro8,2
              1 2.2 GHz Intel Core i7 CPU: 4 cores
              4 GB RAM
    System Software:
              OS X 10.8.2 (12C60) - Uptime: 0 days 1:17
    Disk Information:
              TOSHIBA MK5065GSXF disk0 : (500.11 GB)
                        disk0s1 (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) /: 499.25 GB (424.92 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              HL-DT-ST DVDRW  GS31N 
    USB Information:
              Apple Inc. BRCM2070 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple Inc. Apple Internal Keyboard / Trackpad
              Apple Inc. FaceTime HD Camera (Built-in)
              Apple Computer, Inc. IR Receiver
    FireWire Information:
    Kernel Extensions:
    Problem System Launch Daemons:
                     [failed] com.apple.coresymbolicationd.plist
    Problem System Launch Agents:
                     [failed] com.apple.afpstat.plist
                     [failed] com.apple.AirPlayUIAgent.plist
                     [failed] com.apple.coreservices.appleid.authentication.plist
                     [failed] com.apple.rcd.plist
    Launch Daemons:
                     [loaded] com.adobe.fpsaud.plist
                     [loaded] com.adobe.SwitchBoard.plist
                     [loaded] com.google.keystone.daemon.plist
                     [loaded] com.microsoft.office.licensing.helper.plist
    Launch Agents:
                     [loaded] com.adobe.CS5ServiceManager.plist
                     [loaded] com.google.keystone.agent.plist
    User Launch Agents:
                     [loaded] com.adobe.ARM.202f4087f2bbde52e3ac2df389f53a4f123223c9cc56a8fd83a6f7ae.plist
                     [loaded] com.facebook.videochat.Akshay.plist
                     [loaded] com.microsoft.LaunchAgent.SyncServicesAgent.plist
    User Login Items:
              Sony Ericsson Bridge Helper
              BitTorrent
              uTorrent
    3rd Party Preference Panes:
              Flash Player
              Java
    Internet Plug-ins:
              AdobePDFViewer.plugin
              AdobePDFViewerNPAPI.plugin
              Flash Player.plugin
              FlashPlayer-10.6.plugin
              googletalkbrowserplugin.plugin
              JavaAppletPlugin.plugin
              npgtpo3dautoplugin.plugin
              QuickTime Plugin.plugin
              SharePointBrowserPlugin.plugin
    User Internet Plug-ins:
              Google Earth Web Plug-in.plugin
              Picasa.plugin
    Bad Fonts:
              None
    Top Processes:
              14.6  %          WindowServer
              6.9   %          coreaudiod
              6.4   %          uTorrent
              1.9   %          WebProcess
              1.4   %          iTunes
              1.2   %          EtreCheck
              0.5   %          fontd
              0.2   %          NotificationCenter
              0.1   %          Dock
              0.0   %          Microsoft

  • Does Adobe Illustrator 10 run under Mavericks or Yosemite?

    I've put off upgrading from OS 10.6.8 because I do a lot of work in Adobe Illustrator 10.  I can't really justify the expense of upgrading to any of Adobe's Creative Suite packages because the Illustrator work I do doesn't bring in any revenue.  Increasingly, other software I need will no longer run under 10.6.  I'm kind of between a rock and a hard place on this.  So, is anybody out there able to run Illustrator 10 under Mavericks or Yosemite, or even OS10.8?  Thanks.

    Upgrading an OS does not have to be an all-or-nothing proposition. You can simply have two operating systems installed, if you want to preserve Snow Leopard and Illustrator 10, and also use a later OS for other apps. You can add an external HD for the newer OS and apps for way, way less than the cost of Illustrator 5.5. You can also use your new drive/OS to safely explore the workability of running Snow Leopard Server in a VM (virtual machine) using Parallels or VMware Fusion on a 10.8 or later system. It would cost a very modest amount to try the combination of VMware Fusion and Snow Leopard Server. Server is available from Apple for $20 (but only by calling them). I don't remember what Fusion costs, but it works well and the license allows you to install it on more than one machine, which the Parallels' license doesn't.

  • Not running internet explorer in windows 8

    Help! Can't get flash player to run on IE 11 and get the message "not running Internet Explorer in Windows 8"

    This is a known problem with Internet Explorer 11, which Microsoft has been aware of since October 18 when they released their latest "untested" browser. The pages can't recognize the browser, so they don't recognize any of the plugins, like Flash Player. So far, Microsoft has made NO indication that they have any plan to fix it soon.
    Microsoft's recommendation is to use Compatibility View for affected pages, and "pretend" you're using an different browser. Trouble with that is it has seen limited success at best, and you have to individually enable it for EVERY page that has problems.
    I'm not big on "pretending" so I recommend actually using another browser.
    Firefox (from Mozilla)
    Opera (from Opera)
    Safari (from Apple)
    Chrome (from Google)
    ANY of those will work where IE11 won't, with the Flash Player Plug-in (For all other browsers), and Chrome doesn't even need that because it has its own Flash Player plugin built in.

  • Which version of Acrobat and Adobe Reader could be run under Win7

    Someone tell me my plugin works fine under win7 with Acrobat 8,but others tell me not.
    Also Adobe Reader seems not always works fine under win7 with my plugin under win7.
    Anyone help me?

    Thanks,Bernd.
    What about Acrobat 7 and 8?
    I know the lates release of Adobe Reader/Acrobat can be run under windows 7.

  • UAC is blocking me from running anything, even explorer.exe. User Profile or permissions suspected

    Help Please!
    Win7 Pro installation on Lenovo laptop.  Currently I can log in to a migrated user account (NewUser) but nothing will start as UAC is blocking access even to basic items like Explorer.exe.  The NewUser account is an admin account. 
    I have checked permissions on C: Drive and files.  Drives and system files have Users, Admin and System access. NewUser account in c:\users\NewUser is owned by NewUser and NewUser has full control of all subfolders and items.
    If I turn UAC  _OFF_  (and reboot) I can run and execute things pretty normally but this is not desired.  I have a backup Admin account on the machine so things are not tragic.
    History:
    I switched the Laptop from being a Domain to a Local system (my small company got rid of their domain and file server and moved to the "cloud" but IT who did migration left everone using cached domain passwords to login, and other group policy network
    items were triggering errors so I wanted to get rid of the domain.
    This blew away my Domain\OldUser account (I expected it to migrate it... silly me).  So I created a new Local Admin account (NewUser) and migrated the files over following this: TechNet.microsoft.com/wiki/contents/articles/24342.user-account-migration-in-windows.aspx
    The new account has the current problem even after checking all ownerships and permissions.  Before changing and updating Junction Points, and c:/users/NewUser/... folder permissions the NewUser account would not even log in (upon login attempt it immediately
    logged out).
    I read more threads and tried turning UAC off. Execution ability returned but my Start Menu, Task Bar, and desktop background did not migrate (if they did they are not accessable even with UAC off, unsure how to verify)
    I have not changed Group Policies or anything else so there could be a problem with Win7 replacing OldUser with SYSTEM in groups and permissions.  I am not familiar with groups etc.   System obviously had a Domain group, and there are two
    separate Local workgroups.
    Any suggestions on how I might continue to resolve this issue appreciated. 
    Thanks!

    Thanks for responding Michael,
    I used a standard GUI box to make machine Local vs. Domain. I believe it was under System Properies\Computer Name\.  Not sure if I used the "Wizard" or "Change" option as now the computer is not on a domain and the option to make the computer a Local
    System is no longer displayed but was when I clicked on it...
    No Restore points seem to be available although I believe one was created only a day or two before the change in OldUser account.
    Problem persists if UAC is on.  I have searched and read a lot but nothing has helped.  Seems to be some type of basic permissions issue with my NewUser Account.  I have added all group policies that were in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Group
    Policy\OldUserSID to NewUserSID group policy key just in case (no change to operation).
    Symptoms:
    Selecting any of;
    Username
    Documents
    Pictures
    Music
    Computer
    or
    Devices and Printers
    gives dialog box with explorer.exe in upper left and message
    "Windows cannot access the specified device, path, or file.  You may not have the appropriate permissions to access the item." error message.
    Selecting Control Panel
    gives box with "::{26EE0668-A00A-44D7-9371-BEB064C98683}" in upper left and same error message.
    Selecting Default Programs
    "::{26EE0668-A00A-44D7-9371-BEB064C98683}\8\::{17CD9488-1228-4B2F-88CE-4298E93E..." in Upper left and same error message.
    Help and Support
    Doesn't seem to do anything
    If I right click on "Computer" in start menu and select "open" same error message.
    If I right click and copy "Computer" to desktop the desktop icon will not launch Computer, but if I right click on desktop Computer Icon and select "Open" it opens!! (Someone else had this problem and posted that work around.) Their solution was to review the
    registry for instances of the OldUser Domain SID and replace with NewUser Local SID.  I have done this where it made sense but no change.
    If I click on a Taskbar explorer.exe icon I get dialog box with Server execution failed error message.
    Something in the UAC security system is not setup correctly for the NewUser account access Privileges to allow access permissions for Start Menu selected items, or any Icons in the system or desktop to run.
    I have ensured NewUser has admin rights to all folders in c:\Users\NewUser and subfolders using icacls cmd line.
    I have ensured standard compatibility Junctions are correct for NewUser (they initially pointed to the wrong user folder)
    Any thing I should check for to further debug this?

  • 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,
    Rikard

    Here'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.

  • How to allow access to web service running under ApplicationPoolIdentity

    Hi All,
    I have a WCF web service hosted in IIS 7 (or maybe 7.5, whichever comes with Windows server 2008 R2) using DefaultAppPool running under ApplicationPoolIdentity per Microsoft's recommendation. The web service needs to call a stored procedure to insert data
    to a db. The web server is on a different VM than the database server. The db server is running SQL 2008 R2. Both VMs run Windows server 2008 R2.
    When the web service tries to connect to db, it encounters this exception:
    Exception in InsertToDb()System.Data.SqlClient.SqlException (0x80131904): Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
    Here's the connection string in web.config:
    Application Name=somewebservice;Server=somewebserver;Integrated Security=SSPI;Database=somedatabase;Connection Timeout=60"
    How should I configure SQL security to make this work?
    Thanks in advanced.

    Thanks for the link Dan. Maybe I'm the one who cause the confusion :)
    If I understand you(and Erland) correctly, you suggest using a custom, domain account for application pool identity. However, if we do that, our IT will need to maintain those accounts, and they don't  want that. So I'm choosing a built-in account called
    ApplicationPoolIdentity as the application pool identity, but it's not working. Network Service, on the other hand, works, but my boss wants us to follow MS's best practice.
    What's puzzling is that according to this: http://learn.iis.net/page.aspx/624/application-pool-identities/, both Network Service and ApplicationPoolIdentity uses machine account to access network resource (like db in this case), but in my case, Network Service
    works, but not ApplicationPoolIdentity.
    Hallo Stephen,
    with respect - it seems to me that only idiots are working at your IT ;)... It is absolutely useful to work with "service accounts" created within the domain. That's the only way to manage and control accounts!
    If you want to "pass through" the identity of the web user (SSO) you have to check whether the app pool is set to "allow impersonate". As far as I understand the ApplicationPoolIdentity-function the app pool will create a unique user named as the service.
    I assume that will not work with the connection to the sql server because this user is unknown.
    Local Service will not work because it's restriction is located to the local machine.
    Network Service will work because access to network resources will be available.
    So my recommendation is to use a dedicated service account or impersonation:
    http://msdn.microsoft.com/en-us/library/xh507fc5.aspx
    Uwe Ricken
    MCITP Database Administrator 2005
    MCITP Database Administrator 2008
    MCITS Microsoft SQL Server 2008, Database Development
    db Berater GmbH
    http://www-db-berater.de

  • Global data getting reset when running under IIS?

    We have a scenario using IIS with an ASP.NET web service written in VB.NET. When a call to the web service is made, the web service calls a native dll (written in C, compiled using VS2010) using platform invoke, which in turn calls into our product API:
    VB.NET web service -> native library (p/invoke) -> native API ....
    Web service requests are successfully completed and the system runs without problem for hours. A trace of the native API shows it is being called by multiple processes and multiple threads within those processes.
    The main native API dll contains a static global variable used to detect whether it is the first time it has been called and run initialization logic if it is. This dll is itself linked to a second dll that contains a global variable used to detect if it is
    the first time it has been called.
    After some hours the trace shows that the native API is invoked by an existing process but that the initialization logic is being exercised again, even though the global variable was set to indicate not first time and is never reset.  One theory was that
    the first process has ended and a new process has started almost instantaneously using the same process ID. However this is not the case as existing thread IDs from the same process are seen to write to the trace again after the first time logic has executed
    for the second time, indicating the process has not restarted. The problem occurs regularly.
    It is as though the process's global data has been initialized again and malloc'ed memory freed while the processing is still running. Is there any way this is possible when running under IIS?
    There is an internal thread which waits on a blocking read of a named pipe (via ReadFile), and when the problem occurs, the ReadFile call ends with ERROR_NO_ACCESS, which appears to indicate the malloc'ed buffer is no longer valid, again implying something
    has happened to the memory allocated to the process.

    Suggestting you asking it on:
    http://forums.iis.net/

  • RE: How to have multiple application running under one server

              I have one server
              I have many application
              Question: Is it possible for me to have a weblogic properties file under each
              of this application.
              

    If your question is whether you can run multiple instances of WebLogic
              (or multiple applications) on one server, the answer is yes. The only
              problem is, you must have a unique port for each of the servers to run
              on. I.e., they can not all run under port 80 which has obvious
              internet/network implications.
              This also means you have multiple weblogic.properties files etc. for
              each instance.
              We do this with WL5.1 on a Linux 2.4 kernel in developement to allow
              multiple developers run their own instance on one box.
              Dano
              Mettu Kumar <[email protected]> wrote in message news:<[email protected]>...
              > No if you are running single instance of wls.
              >
              > Kumar.
              >
              > Sonny wrote:
              >
              > > I have one server
              > > I have many application
              > > Question: Is it possible for me to have a weblogic properties file under each
              > > of this application.
              

Maybe you are looking for