Passthrough from webserver to appserver

Has anybody successfully got SunOne webserver to pass requests through to an appserver on a different machine. I have read the documentation from Sun and added the following to the magnus.conf
Init fn="load-modules" shlib="/iplanet/server6-2/AS7plugin/lib/webserver-plugin/solaris/iws/libpassthrough.so" funcs="init-p
assthrough,auth-passthrough,check-passthrough,service-passthrough" NativeThread="no"
Init fn="init-passthrough"
and to obj.conf
NameTrans fn="assign-name" from="(fortune/fortune/*)" name="passthrough"
NameTrans fn="assign-name" from="(fortune/*)" name="passthrough"
at the top of the default object (I have deployed the fortune app from 6.5)
and added
<Object name="passthrough">
ObjectType fn="force-type" type="magnus-internal/passthrough"
Service type="magnus-internal/passthrough" fn="service-passthrough" servers="http://10.2.1.30:80"
Error reason="Bad Gateway" fn="send-error" uri="$docroot/badgateway.html"
</Object>
The server starts up O.K but nothing ever gets forwarded to the appserver it is still looking in the docroot of the local machine. The plugin library file is sucessfully linked in (pldd).
If I add an extra line in the obj.conf like
NameTrans from="/" fn="passthrough"
I get the following reported in the error log.
[11/Nov/2002:11:03:28] config (28996): for host 0.0.0.0 trying to GET /, func_exec reports: cannot find function named passthrough
Anybody got any ideas? or actually has this working?

I realised what I have done! what an idiot I missed off the leading / on the redirection it should have been /fortune/fortune and not fortune/fortune.

Similar Messages

  • What's the disadvantages of using webserver and appserver of different type?

    If I choose webserver:iPlanet6.0 and appserver:WebLogic6.1 on one server, What's the disadvantages?
    Mayby I will use the webserver and appserver of the same company.
    I wish someone give me some advice.

    As Barney-15E says, someone with physical control, can just remove the disk, and put it in an external enclosure, and mount the file system with their computer and access all the files.
    Only encrypted data would be protected. There are data encryption facilities available on the Mac, both included, as well as 3rd party, including 3rd party whole disk encryption.
    But having a password on an account, and engaging the password when the screen saver is active, can keep casual access from happening.
    Also if you allow network access (file sharing, remote login, screen sharing), the password will keep random net users from accessing your system, when for example, you are in a coffee shop, or if someone gets onto your WiFi network, or you give a visitor to your home access to your network, or you allow a guest to use the guest account.

  • Url to call Integration engine from Webserver

    Hi All,
    Please let me know what is the url to call INtegration engine from Webserver
    I know below is url which we will use to call Adapter engine..But i need direct call to Integration engine
    http://server:50100/XISOAPAdapter/MessageServlet?channel=:R3_DEV:R3_CHANNEL_sender
    Thanks and Regards
    Suma S
    Edited by: Suma S on May 3, 2011 5:51 PM

    the url will have the format of
    http://hostname:8000/sap/xi/adapter_plain?type=entry&sap-user=xisuper&sap-password=******&namespace=<namespace>&interface=<interfacename>&service=<servicename>

  • Make sure Webserver and Appserver are up. java.lang.NullPointerException

    I redeployed PIA (websphere version 6.1.0.3) Aix 5.3
    Webserver / Apps boot up fine and 3 tier login works perfect.
    While trying to login to the Apps (PIA) i get following Error
    Please make sure Webserver and Appserver are up.
    java.lang.NullPointerException
    i also reinstalled PIA for another instance on the same server... that is working fine.
    I checked the PIAinstall.log as well .. that also looks fine.
    I have increased the Java Heap size but that also dint help..
    Can anyone help or adivse on this ...Thanks

    Vishal,
    Is it the follow of your previous thread ? Re: Issue with PeopleSoft Sign-on url....not able to get the signon page
    Wouldn't it be Weblogic11gR1 ?
    Did you upgraded your FSCM 8.9 database to Peopletools 8.50 ?
    It seems you are not using fixed IP address and /etc/hosts not updated correctly (127.0.0.1 should not be used here).
    OS ?
    I checked the PSMSGNODEDEFN table and the node PSFT_EP is the default node and not the PT_LOCAL. Can this be the reason or something else? I'm not sure to understand you is wrong there. Why would you want PT_LOCAL ?
    Error in service HomepageT, CREF with URL can not be foundAre you using Portal ?
    This error is described here : HomepageT, CREF with URL can not be found ID 624799.1+
    Nicolas.

  • Creation of support message from Webserver like CRM, XI

    Hi Gurus,
    Can anyone guide me, how to Create support message from Webserver like CRM, XI.
    I could configure from GUI Based systems like ECC, SCM.
    But i don't know how to configure for CRM, XI etc..,Java based web applications.
    Pls guide me.

    try maybe using the web interface service desk application. the same one that you find in the incident management workcenter when you choose New Message.

  • EVDRE error "encountered problem when retrieving data from webserver"

    Hi,
    in a EVDRE we always get the error "encountered problem when retrieving data from webserver"
    When analysing this further we noticed this is always generated when a base member is selected in the CV and the expansion on the row for this dimension is has one of the following expansion settings:
    DEP
    ALL
    NOEXPAND
    if we select SELF, the error disappears again and the EVDRE works fine again ... is this normal behavior?
    there is no problem with application nor dimension.
    D
    solved it

    Note that the keyword "ALL" does not include the member itself. This may cause some confusion, but as Harish implies, when you select a base member it finds no matches if your memberset is "ALL".
    If you want to design a report to handle the user moving back and forth between base and non-base members in their CV, you either need to include SELF,ALL or SELF,DEP, or something similar....
    OR you need to get a little fancier, and use EVPRO to look and see if the CV member is base -- evpro(app,member,"CALC") -- and then use some conditional logic in Excel to choose the correct expansion options. If Calc=N, use Self, otherwise use SELF,DEP or whatever you choose. This can be a bit tricky if you then want the user to be able to drill down in the report (especially if you want the workbook option to insert add'l rows on the expansion, rather than replace), but it's all possible.

  • Unable to forward requests from webserver

    I am trying to set-up iWS 6.0sp4 to forward requests to the application server but I always get not found as the webserver is just looking at its own document root. I have deployed the fortune ear (from 6.5) and can access that via the application servers own http server perfectly well. I have added the plugin package to the webserver and added the following into the magnus.conf
    Init fn="load-modules" shlib="<install_dir>/lib/webserver-plugin/solaris/iws/libpassthrough.so" funcs="init-passthrough,auth-passthrough,check-passthrough,service-passthrough" NativeThread="no"
    Init fn="init-passthrough"
    and to the obj.conf
    NameTrans fn="assign-name" from="(fortune/fortune/*)" name="passthrough"
    NameTrans fn="assign-name" from="(fortune/*)" name="passthrough"
    ObjectType fn="force-type" type="magnus-internal/passthrough"
    Service type="magnus-internal/passthrough" fn="service-passthrough" servers="http://<application server http listener>"
    Error reason="Bad Gateway" fn="send-error" uri="$docroot/badgateway.html"
    </Object>
    The webserver starts up without any errors but never forwards any requests what might I be doing wrong?

    I followed the instructions found in the App Server 7 documentation and everything worked fine.
    The instructions I followed are in the document found at this link:
    http://docs.sun.com/source/816-7156-10/agplugin.html#17655
    Just FYI...
    I also checked with Sun about why this process is now necessary and I asked about what happened to the web connector from 6.x. Sun had this reply:
    The Web Server Plug-in is the new web connector. It just hasn't been wrapped with an installation yet ... which is why it is tedious. The old Plug-in for 6.5 would ultimately have the same type of obj.conf entries. I'm not sure if there will be an installation wrapper for it once the Enterprise Edition is released.
    The Web Server Plug-in is different right now in that it doesn't 'know' about multiple instances yet. These are capabilities that will be introduced in the Enterprise Edition in March. Of course, that doesn't stop you from having multiple instances of the web server talking to multiple instances of the app server. It just means that the web server instances have to be directed to the app server instances rather than discovering them.

  • Video Control Bar in Flash Displays on HD but Not From Webserver

    I am using Flash Pro 8 - putting FLV files in SWF files using
    Flash Pro 8 and then "publishing" to Html and SWF to a location on
    my hard drive.
    When I display the webpage from my Hard Drive from where ever
    on my hard drive I initially published to from Flash 8 Pro -
    everything works fine - videos play and video control bar shows and
    works.
    When I publish this website to web server the video displays
    and plays but NO Video Controller Bar (at bottom of the video)
    shows at all.
    Symptom: when I make an Html, SWF and FLA file into a folder
    on my hard drive and display them in the browser the video control
    bar shows. When I copy those three files into the hard drive
    website in FrontPage, the video shows but the video control bar
    does not.
    So, I re-made the Html, SWF, and FLA files and put them
    directly into the FrontPage website (on my hard drive) then
    everything works fine when I use broswer (IE 6 or Firefox). z
    But, when I publish the hard drive website to the remote
    website hosting company, the video control bar disappears -
    everything else works fine (video shows OK just no video controller
    bar.)
    My guess is that the SWF file has a non-relative URL
    reference concerning the video control bar and when the three files
    (Html, SWF and FLA) are moved to new location then that
    non-relative address rears its head.
    I should NOT publish from Flash 8 Pro directly to remote
    webserver as it has FrontPage Extensions and does not like to talk
    to FTP changes to website not coming from FrontPage client.
    is my guess right? What to do?????
    [email protected]

    quote:
    1. When I encoded the video in flash I selected one of the
    pre-packaged control bars (so the user can control basic
    functions). I then published an HTML and a .swf. The HTML works
    perfectly however when I use Dreamweaver to insert the .swf it does
    not carry over the control bar. I have tried pulling over the
    control bar .swf and placing it under the video file but a HUGE
    object is imported with a bunch of controls that do not work (bunch
    of controls = play/pause/etc).
    make sure the component skin is uploaded in same directory as
    swf, movie, html
    quote:
    The second issue is this; the user still has to click once on
    the video to use the controls... does anyone know what I am doing
    wrong on the video file?
    Follow directions
    HERE
    for getting rid of ActiveX control

  • JMS destinations disappear from JNDI after appserv restart

    I am using the PE 8.1 2005Q1 application server. I create a jms resource as jms/myQueue and I can see it using the JNDI browser.
    However, after restarting the application server, my destinations still show up under JMS Destinations & Admin Object Resources, but disappear from the JNDI browser and are unavailable to clients!
    Do I need to perform an addtional step in order to get the appserver to persist these jndi registrations? There appears to be a disconnect between JMS and JNDI. Any help is greatly appreciated.

    JMS has a ForeignJMSProvider config option to do this I believe. 9.0 will also support this more generally.

  • How to manage coexistance of IIS policy agent and sun-passthrough from AS

    We have an ISS 6 with Policy Agent 2.2 and on same instance we have the sun-passthrough plugin installed to redirect certain pages to an Application mounted on Sun App Server 8,2. We need to apply policies to requests to those pages before redirection is done but seams that passthrough plugin is taking precedence over Policy Agent. Therefore, policies are not evaluated and all traffic is passed. PA agent is installed as a wild card and passthrough as an ISAPI filter. We do not see a way to change priority (already set to HIGH) for the passthrough plugin. PA has the option on amAgent.properties and we set it allready to HIGH. Any hint?
    Edited by: blancay on Sep 20, 2008 9:47 AM

    1) How to restrict the new employee from availing any type of leave company have a policy only after completion of probation employee can avail sick leave?
    Note 897623 User Exits in PT
    Use user exit to check It0019 or monitoring of tasks or reminder of dates or 0041 IT
    2) Sick leaves can be availed only after completion of 1 year wht are the settings do i need to set?
    You can use quota deduction and user exit and read dates from 0041 for his entry date in company
    3) Earned leaves can be given to employees those who complete 2 years of service? what are the settings for this?
    base entitlement ie seniority quota check table v_t559l
    4) Intervening holidays and weekly offs can be treated as leaves in sick leave as well as earned leaves what are the customizing settings for this?
    counting rule and exit
    5) only female employees are entitled to avail maternity leave?what are the settings for this?
    feature pe03 MASEX  Set Infotype 80 Admissability for Employees
    read more on help.sap.com

  • Starting Jar-File from webserver - possible?

    Hello to all of you.
    I've got a little problem with an executable Jar-file.
    I need to start it using a URL on an intranet website.
    As long as this link points to a file on a local (or network) drive there is no problem. But I need to launch this application from a webserver (in the intranet).
    The webbrowser won't start it then (security issues I think).
    What can I do? Can I "sign" the Jar-file so the webbrowser recognizes it as somehow "trusted"?
    Do I have to change any client settings?
    Many thanks in advance.

    The Jar contains a small portion of an application we want to run in our network (no access from outside).
    It only contains the GUI the rest is done on a Corba-server / Oracle database.
    We work with a centralized information management system (Hyperwave information server) and were tasked to include the entry point to this application in this (html) framework.
    Stupid idea I know but this idea wasn't ours ;)

  • [SOLVED] sudo from webserver

    I'm trying to start a program from my webserver, I already got it working, but one of the commands is not executed. This is my suders file:
    ## User privilege specification
    root ALL=(ALL) ALL
    ***** ALL=(ALL) NOPASSWD: ALL
    http ALL=(css) NOPASSWD: /usr/bin/screen
    This piece of code works:
    <?php
    system("sudo -u css /usr/bin/screen -dmS css /home/css/css/css/srcds_run -autoupdate -game cstrike +exec server.cfg +map de_nuke +maxplayers 12 +ip 192.168.0.150 +port 27015 &");
    ?>
    And this one doesn't work:
    <?php
    system("sudo -u css /usr/bin/screen -dmS csgo /home/css/csgo/srcds_run -game csgo -console -usercon +game_type 0 +game_mode 0 +mapgroup mg_allclassic &");
    ?>
    Output of auth.log
    Jul 29 01:12:37 localhost sudo: http : TTY=unknown ; PWD=/home/css/public_html/extended ; USER=css ; COMMAND=/usr/bin/screen -dmS csgo /home/css/csgo/srcds_run -game csgo -console -usercon +game_type 0 +game_mode 0 +mapgroup mg_allclassic
    But it's not running, while the first one does run, what's wrong? I already tried adding /home/css/csgo/srcds_run to the sudoers file but it didn't work.
    Last edited by Ztjuh (2012-08-04 13:38:50)

    Found the problem, I just had to change the working directory with the php function chdir() to the directory of where the executable is.

  • Configuring Weblogic 9.x as both webserver and appserver

    Hi,
    How can one configure weblogic to host static content on weblogic web server and application/business logic on application server.
    Regards
    Raju

    We have upgraded our WebLogic from 8.1 to 9.2 along with our PeopleSoft 9.0 upgrade and boy-oh-boy, has the WebLogicAdmin console slowed down.
    It used to open in about 10 seconds.
    Now it opens in roughly 1 minute and 30 seconds.
    The heap size settings are the same as they were in the WebLogic 8.1
    Even restarting the WebLogicAdmin and associated PeopleSoft PIA's is the worst I have ever seen.
    Windows 2003 SP3
    Here's the startup command line;
    -Xms256m -Xmx256m -XX:MaxPermSize=128m -classpath ";D:/psft/hr849\webserv\hdev\lib\ps_patch.jar;D:/psft/hr849\webserv\hdev\applications\peoplesoft\PSIGW\WEB-INF\lib\mail.jar;D:/psft/hr849\webserv\hdev\lib\portlet-api-1.0.jar;D:/psft/hr849\webserv\hdev\lib\pluto-1.0.1.jar;D:/psft/hr849\webserv\hdev\applications\peoplesoft\PORTAL\WEB-INF\lib\saaj.jar;D:/psft/hr849\webserv\hdev\applications\peoplesoft\PORTAL\WEB-INF\lib\xml-apis.jar;D:/psft/hr849\webserv\hdev\applications\peoplesoft\PORTAL\WEB-INF\lib\xercesImpl.jar;;d:\bea\patch_weblogic923\profiles\default\sys_manifest_classpath\weblogic_patch.jar;d:\bea\jdk150_12\lib\tools.jar;d:\bea\WEBLOG~1\server\lib\weblogic_sp.jar;d:\bea\WEBLOG~1\server\lib\weblogic.jar" -Djava.util.logging.config.file=D:\psft\hr849\webserv\hdev\applications\peoplesoft\logging.properties -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Dweblogic.Name=WebLogicAdmin -Dweblogic.management.username=operator -Dweblogic.ProductionModeEnabled=true -Dps_vault=D:\psft\hr849\webserv\hdev\psvault -Djava.security.policy="d:\bea\WEBLOG~1\server\lib\weblogic.policy" -Dssl.debug=false -Dps_home=D:/psft/hr849 weblogic.Server
    Regards,
    Tom

  • Playing Images Directly from Webserver

    I'm re-designing our presentation look while at the same time trying to more narrowly target audiences with messaging.  What I'd like to do is a streaming video box on one part of the screen with another box for still image assets and possibly one other box with other image assets.  The design isn't my problem, though.
    The issue is, with the video box in the presentation, I can no longer use the playlist function of the Digital Signs module, which means I have to add all the assets to the presentations manually, which can be quite time consuming with the number of presentations we have (26).
    The idea I have is for each presentation to pull from a corresponding folder on a webserver, with the contents of that folder displaying in sequence.  Ideally this would act in the same way as the playlist function, allowing us to update the list by adding and removing files using a quick copy/paste.  I am aware that it would be possible to add everything to a Flash file and play that out, but I would then have to rely on the individual campuses to add my content to their files, and I wouldn't be able to monitor their images at a glance without having to wait for the file to play out.
    We are already using the server to host the files and ACNS to manage the bandwidth.  I guess what I need is some kind of script that will play the contents of the folder when it is accessed by the DMP, but without having to name each file in the script, because they will be changing often.
    We are on version 5.3 with 4400G endpoints.  I have looked into a CMS like AppSpace, but we don't currently have the budget to purchase one, so I am looking for a temporary solution while waiting for the next budget cycle.

    I think the confusion comes from having two kinds of playlists in different modules.  DMD playlists can hold Digital Signs (DS) playlists.  If there is more than one DMD playlist, though, only one can use DS playlists.  All the others must have individual assets assigned to them, as only one DMD playlist can display video, and since DS playlists *could* have video assets in them, DMD treats them as video and restricts their use in non-video playlists.
    What I want to do is have a video, such as CNN, etc., on-screen while displaying messaging with still images.  As you know this requires at least 2 playlists; one for the video and the other for stills.  I will also be limiting the still playlist to 10 minutes of content, so your suggestion could work, except it becomes more complicated when I want an image in heavier rotation, or when I don't have enough images to fill 10 minutes.  DMD playlists also don't have the Duplicate function of DS playlists, so adding more instances of an asset is tedious.
    Per your example, it might look like this:
    Campus-01
    Campus-02
    Campus-03
    System-01
    Campus-04
    Campus-05
    Campus-06
    System-02
    We have dated content that doesn't always have something ready to replace it when it expires, but limiting the time available may create some queues.  I'd still worry about empty "containers" and managing that inventory.  Keeping that organized could still be problematic.  Addtionally everyone is wearing multiple hats, and more "creative" types, so I'd like to find a solution that allows them to simplify their workload, instead of adding to it more than I have to.
    It may not be "supported," but I was thinking of something where I could point to a URL and that link would show the images.  AppSpace, from the demo, seems like what we need to do what we want, but we can't afford it, currently.

  • Calling "ttOptGetFlag('passthrough')" from C#

    Hi everyone,
    I am using the latest version of timesten with .NET 4.0 for my thesis project, I needed to make a call to the built-in procedure 'ttOptGetFlag' with the 'passthrough' value as a parameter, but no result is returned, need help please.
    Here is the important portion of code I am using:
    string connectionString = "USER ID=cacheuser;PASSWORD=timesten;DATA SOURCE=localhost/vtauctiontt:timesten_client";
    OracleConnection timesTenConnection = new OracleConnection(connectionString);
    timesTenConnection.Open();
    Console.WriteLine("Connected to timesten version: {0}", timesTenConnection.ServerVersion);
    OracleCommand getPassthroughCmd = timesTenConnection.CreateCommand();
    getPassthroughCmd.CommandText = "call ttOptGetFlag('passthrough')";
    var reader = getPassthroughCmd.ExecuteReader();
    while (reader.Read())
    Console.WriteLine("{0}:{1}", reader[0], reader[1]);
    Thanks.

    From the ODP.Net documentation, note the final reference below:
    Use an OracleCommand instance to call a built-in, as in the following example. This assumes an OracleConnection instance conn with a connection to TimesTen has been established. Call the Dispose method to free resources when you have finished using the OracleCommand instance.
    // switching to passthrough 1 mode using ttOptSetFlag built-in function
    string switchModeStmt = "call ttOptSetFlag('passthrough', 1)";
    OracleCommand switchCmd = new OracleCommand(switchModeStmt, conn);
    switchCmd.CommandType = CommandType.Text;
    switchCmd.ExecuteNonQuery();
    switchCmd.Dispose();
    For built-in procedures that do return a result set, the result set would not be accessible through ODP.NET. However, if you call the built-in from a PL/SQL program, you could access the result set as a REF CURSOR through PL/SQL.
    #########################

Maybe you are looking for

  • Excise duty - not reflected in Purchase Order

    Hi Dears I have maintained tax code JMOP with tax code FV11 and selected country-plant-control code wise. I have also entered desired rate of excise duty here. Further J1ID was properly maintained for material-control code (Chapter id). But when I pr

  • ITunes not Starting when iPhone connected

    I just got an iPhone 3G and installed iTunes 9.0. When I connect my iPhone to sync, iTunes does not start. I get the box: Camera connected Select the program to launch for this actiona Canon CameraWindow Microsoft Scanner and Camera Wizard If I manua

  • FLV supporting but .mp4 (H.264 encoded) video not supporting in mobile browser?

    Hi     I want to know one things, is there any other settings required to publish the swf file for playing mp4 file in mobile browser also. I am able to play ".FLV" in mobile browser but not able to play ".MP4" (H.264 encoded)  in my mobile browser.

  • Edit Leading role in Project

    Hi All, I had performed the Basic configuration in solution manager.Unfortunately for development system I had selected the leading role of the system as production.I want to change it to development.Is there any way I can change that? Also If the Le

  • Rewrite the query with out joins and group by

    Hi, This was an interview question. Table Names: bookshelf_checkout bookshelf And the join condition between these two tables is title We need to rewrite below query without using join condition and group by clause ? SELECT b.title,max(bc.returned_da