Tomcat only for localhost?

hi all!
I'm creating for the 1st time an online shop and I'm trying to share it with other ppl from the internet. I'm telling them my IP so they can request any page from the server. I'm using Tomcat, JRE 1.5 on winXP. They can't access my site even when I disable my firewall.. so I think it's something I should cofigure in Tomcat but couldn't find any option..
DETAILS: how they should access my pages? I'm telling the ip (say 212.0.193.16) the port (it runs on default 80) and the page to request /test/order.jsp (so it looks like http://212.0.193.16/test/order.jsp).. but they say the browser displays "timed out" (it can't find such a server probably).. I guess Tomcat just refuses the connections from the internet for some security reasons.. if so please tell me somebody how to configure it to serve pages to all the ppl.
PS: please don't try to access the url above because I have dial-up, that means that I'm almost always offline, and even when I get online I get also a new ip..
PPS: oooph.. it's almost 3:30 am.. rather late..

Are you just doing this for test purposes, or actually opening your site?
Its quite possible that your ISP blocks requests coming IN on port 80.
They don't like people only paying for net access having machines that act as web servers. I can't think why ;-)
Try running on some other random port - try 8085 for instance (if they block 80, then possible 8080 might be blocked as well)
Alternatively get some webspace somewhere and put the whole thing online, where everyone can get to it easily.

Similar Messages

  • 9i only for X.2 Server ?

    The documentation says that Oracle is only for OSX Server ... but can I install it on MacOS X Client ?

    Okay I don't want to risk being sued by Oracle so I'll explain what to do rather than provide any downloads. Follow the Release notes as far as making drectories go etc. I'm sure there are much smarter ways of doing this but then I'm a Mac user and not a very bright one at that.
    sudo su -
    mkdir /Users/orcale
    mkdir /Users/oracle/9iR2Now move the orahome directory into /Users/oracle/9iR2
    I think that some of the binaries reference this path so i don't think there's a choice (Thanks!!).
    Now rather than messing up your login screen etc add the oracle user by copy and pasting the following into a file, save it myscript.sh and chmod a+x it. To see the results you can use netinfo manager.
    You'll be prompted for a password. Oracle recommend using 'oracle' as the password.
    #!/bin/bash
    mkdir /Users/oracle
    niutil -create . /users/oracle
    niutil -createprop . /users/oracle uid 20
    niutil -createprop . /users/oracle name oracle
    niutil -createprop . /users/oracle realname "Oracle Service"
    niutil -createprop . /users/oracle gid 20
    niutil -createprop . /users/oracle shell /bin/bash
    niutil -createprop . /users/oracle change 0
    niutil -createprop . /users/oracle home /Users/oracle
    echo "enter password for Oracle"
    passwd oracle
    The set_grp script provided by oracle works just fine so use that to make the dba group (Good work guys).
    cd /User/oracle/9iR2/orahome/DBCreate/
    chmod a+x set_grp
    ./set_grpAgain you can check the results in netinfo manager.
    Now.. (make sure you're still root)
    cd /User
    chown -R oracle oracle/
    chgrp -R dba oracle/Now we need a script to start and stop the oracle service.
    mkdir /Library/StartUpItems/Oracle
    touch /Library/StartUpItems/Oracle/Oracle
    touch /Library/StartUpItems/Oracle/StartupParameters.plistand lets make a visible log directory
    mkdir /Library/Logs/Oraclepaste the following into /Library/StartUpItems/Oracle/Oracle
    #!/bin/sh
    . /etc/rc.common
    export ORACLE_HOME=/Users/oracle/9iR2/orahome
    export SRCHOME=$ORACLE_HOME
    export PATH=$ORACLE_HOME/bin:$PATH
    export ORACLE_SID=ab
    #Stuff from set_ulimit script provided by Oracle
    oracle ulimit -a
    ulimit -a
    ulimit -c unlimited
    ulimit -d unlimited
    ulimit -s 65536
    ulimit -u 1000
    ulimit -Hv
    ulimit -a
    echo "Setting up Resource Limits complete."
    export DYLD_LIBRARY_PATH=$S/lib:$S/rdbms/lib
    StartService ()
    if [ "${ORACLESERVICE:=-NO-}" = "-YES-" ]; then
         ConsoleMessage "Starting Oracle 9i Database"
         echo "DATE: " `date` > /Library/Logs/Oracle/oracle.log
         echo "Starting Oracle DB" >> /Library/Logs/Oracle/oracle.log
         env >> /Library/Logs/Oracle/oracle.log
         sudo -u oracle sqlplus "/ as sysdba" @$S/DBCreate/startdb.sql >> /Library/Logs/Oracle/oracle.log 2<&1
         sleep 10
         sudo -u oracle lsnrctl start >> /Library/Logs/Oracle/oracle.log 2>&1
         sleep 10
         sudo -u oracle sqlplus "/ as sysdba" @$S/DBCreate/startdb.sql >> /Library/Logs/Oracle/oracle.log 2>&1
         sleep 30
         sudo -u oracle lsnrctl status >> /Library/Logs/Oracle/oracle.log 2>&1
         sleep 10
         sudo -u oracle sqlplus system/manager @$S/DBCreate/checkdb.sql >> /Library/Logs/Oracle/oracle.log 2<&1
         sleep 10
         echo "ORACLE STARTED ON " `date` >> /Library/Logs/Oracle/oracle.log
         ConsoleMessage -S "OracleServer"
    fi
    StopService ()
         if [ "${ORACLESERVICE:=-NO-}" = "-YES-" ]; then
         ConsoleMessage "Stopping Oracle 9i Database"
         echo "Stopping Oracle DB" >> /Library/Logs/Oracle/oracle.log
         Stopping Oracle Listener
         sudo -u oracle lsnrctl stop >> /Library/Logs/Oracle/oracle.log 2>&1
         Stopping Oracle DB
         sudo -u oracle sqlplus "/ as sysdba" @$S/DBCreate/stopdb.sql >> /Library/Logs/Oracle/oracle.log 2>&1
         sleep 10
         echo "END DATE: " `date` >> /Library/Logs/Oracle/oracle.log
         ConsoleMessage -S "Oracle"
         fi
    RestartService ()
         StopService
         StartService
    RunService "$1"
    And this into /Library/StartUpItems/Oracle/StartupParameters.plist
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
         <key>Description</key>
         <string>Oracle Service</string>
         <key>Messages</key>
         <dict>
              <key>start</key>
              <string>Starting Oracle9i.</string>
              <key>stop</key>
              <string>Stopping Oracle9i.</string>
         </dict>
         <key>OrderPreference</key>
         <string>Last</string>
         <key>Provides</key>
         <array>
              <string>Oracle</string>
         </array>
         <key>Uses</key>
         <array>
              <string>IPServices</string>
              <string>AuthServer</string>
              <string>NetworkExtensions</string>
              <string>Network Time</string>
              <string>Core Services</string>
              <string>BIND</string>
              <string>Cron</string>
              <string>Resolver</string>
              <string>NFS</string>
              <string>SecurityServer</string>
         </array>
    </dict>
    </plist>
    Now edit /etc/hostconfig to include the ORACLESERVICE
    ORACLESERVICE=-YES-
    Restart you machine or type
    sudo /Library/StartupItems/Oracle/Oracle startHope fully you'll have an oracle service.
    ===Getin the webapp running===
    I'm assuming you know how to set tomcat up .
    Ignore the nonesense and the stuff oracle provide you just need the oradev directory in DBCreate. I'm using tomcat 4.0.3 in case its an issue.
    As root (i think at least (if sqlplus prompts for login then try as oracle (su - oracle)
    cd /User/oracle/9iR2/orahome/DBCreate/oradev/ptssql/
    ./setschema.sh abmactcpset the orapts.jar file in your classpath
    tcsh
    setenv CLASSPATH $TOMCAT_HOME/webapps/oradev/classes/orapts.jarCopy oradev to your webapps directory.
    edit server.xml
    From:
    <Context path="" docBase="ROOT" debug="0"/>
    To:
    <Context path="" docBase="oradev" debug="0"/>
    Start tomcat and request using a web browser
    http://127.0.0.1:8080/pts/login.jsp
    hit submit and hopefully it runs..
    I also had to do a multiple find and replace of the image paths on the jsp files to get the images served.
    replaced
    from
    /oradev/pts/images
    to
    /pts/images
    mail me if it works or not (no abuse please)
    [email protected]

  • OAM 11g: SOA server works only with localhost or hostname, not IP address

    Hello,
    I have weblogic 10.3.3 up and running (no errors) and successfully start the SOA server (no errors). I can access the URLs for Weblogic and OIM using http://ipaddress:portno/servername.
    However, I can access the SOA server only using localhost in the URL or the hostname (http://localhost:8001/soa-infra or http://hostname:8001/soa-infra). If I try using the IP address I get a 401 error. Is there some setting I'm missing? I tried adding the ipaddress to the hosts file on the server but no effect.
    Since I can't use the IP address, in effect I can't connect to it from outside the localhost or use it for JDeveloper.
    Any suggestions?
    Thanks!

    So I tried something else, on my IE browser, for LAN settings, Bypass proxy server for local addresses is checked. But I added the IP address of my soa server to the Exceptions section under Advanced. That seems to have resolved my issue! I can now use the IP address and get to my SOA server. I didn't think of trying this because my OIM and weblogic server were accessible without this setting.
    Thank you for all your help Atul.
    Edited by: user8476704 on Mar 9, 2011 5:15 AM

  • Creating OD Replica: Unable to locate kerberos services for localhost

    Hello,
    I'm trying to setup a new OS X Server to become an OD Replica for my other OS X Server that is acting as an OD Master in an Active Directory Magic Triangle configuration. Both Macs are running the same build of 10.8.2 (12C3104). Here is the log from slapconfig from the Mac I'm trying to set as the replica:
    2012-12-17 00:41:11 +0000 slapconfig -createreplica
    2012-12-17 00:41:18 +0000 command: /usr/sbin/sso_util info -r /LDAPv3/ldap://172.20.9.40 -p
    2012-12-17 00:41:19 +0000 int _populateLDAPService(): Unable to locate kerberos services for localhost: 0 (null)
    2012-12-17 00:41:19 +0000 Populating LDAP kerberos service in local node's localhost computer record failed.  Replication and rootDSE may not behave as expected.
    2012-12-17 00:41:19 +0000 Error retrieving kerberos realm
    2012-12-17 00:41:19 +0000 CopyReplicaArray: ldap_search_ext_s failed
    2012-12-17 00:41:19 +0000 Error retrieving replica array
    2012-12-17 00:41:19 +0000 Deleting Cert Authority related data
    2012-12-17 00:41:19 +0000 No intCAIdentity, not removing int CA from keychain
    2012-12-17 00:41:19 +0000 command: /bin/launchctl unload -w /System/Library/LaunchDaemons/com.apple.xscertd.plist
    2012-12-17 00:41:19 +0000 command: /bin/launchctl unload -w /System/Library/LaunchDaemons/com.apple.xscertd-helper.plist
    2012-12-17 00:41:19 +0000 command: /bin/launchctl unload -w /System/Library/LaunchDaemons/com.apple.xscertadmin.plist
    2012-12-17 00:41:19 +0000 void _destroyLDAPServer(const char *): Failed to find computer record named usvtamtln103.lostarrow.com$: 0 (null)
    2012-12-17 00:41:19 +0000 Updating ldapreplicas on primary master
    2012-12-17 00:41:19 +0000 CopyPrimaryMaster: CopyLdapReplicas failed
    2012-12-17 00:41:19 +0000 Unable to locate primary master
    2012-12-17 00:41:19 +0000 Primary master node is nil!
    2012-12-17 00:41:19 +0000 Unable to locate ldapreplicas record: 0 (null)
    2012-12-17 00:41:19 +0000 Error setting read ldap replicas array: 0 (null)
    2012-12-17 00:41:19 +0000 Error setting write ldap replicas array: 0 (null)
    2012-12-17 00:41:19 +0000 ODRecord *_getODRecord(ODNode *, NSString *, NSString *, NSArray *): ODNodeRef parameter error
    2012-12-17 00:41:19 +0000 int _removeReplicaFromConfigRecord(ODNode *, NSString *): ODRecord not found
    2012-12-17 00:41:19 +0000 Error synchronizing ldapreplicas: 0 (null)
    2012-12-17 00:41:19 +0000 Removing self from the database
    2012-12-17 00:41:19 +0000 Stopping LDAP server (slapd)
    2012-12-17 00:41:19 +0000 Stopping password server
    2012-12-17 00:41:19 +0000 cleanKeytab: unable to retrieve default realm
    2012-12-17 00:41:19 +0000 Stopping password server
    2012-12-17 00:41:19 +0000 Removed file at path /Library/Preferences/com.apple.openldap.plist.
    The only thing I can derive from this is that the issue is related to kerberos. Any suggestions?

    SSH is enabled for all users on both Macs. Manually added diradmin aswell just to make me feel better.
    Additionally, here's what I get when I try running preflight on either Mac:
    usvtamtln101:~ sadmin$ sudo /usr/sbin/slapconfig -preflightreplica 172.20.9.40 diradmin
    Password:
    172.20.9.40's Password:
    2012-12-17 19:34:33 +0000 NSMutableDictionary *_getRootDSE(const char *): rootDSE not found
    2012-12-17 19:34:33 +0000 Error: Unable to determine the master's software version.
    After seeing this, I tried unbinding both Macs from Active Directory, restarting and then trying again. Same thing...

  • Flex + BlazeDS + Java (works only on localhost)

    Hi!
    I'm new in Flex so I have very incomplete knowledge in many issues. I usually use Java to write applications but now, I need to connect Java with Flex. I read some articles and tutorials about integration using BlazeDS but I still have problem. I made a simple web app and it works, but only on localhost. If I upload my app on server it works but I can't call Java methods.
    Applicaton copy text from TextInput to Label when user press Button.
    Below I add content of some files (remote-config.xml, services-config.xml, web.xml and flex main MXML file)
    remote-config.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <service id="remoting-service"
        class="flex.messaging.services.RemotingService">
        <adapters>
            <adapter-definition id="java-object" class="flex.messaging.services.remoting.adapters.JavaAdapter" default="true"/>
        </adapters>
        <default-channels>
            <channel ref="my-amf"/>
        </default-channels>
    </service>
    services-config.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <services-config>
        <services>
            <service-include file-path="remoting-config.xml" />      
        </services>
        <channels>
            <channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">
                <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/>
            </channel-definition>
        </channels>
        <logging>
            <target class="flex.messaging.log.ConsoleTarget" level="Error">
                <properties>
                    <prefix>[BlazeDS] </prefix>
                    <includeDate>false</includeDate>
                    <includeTime>false</includeTime>
                    <includeLevel>false</includeLevel>
                    <includeCategory>false</includeCategory>
                </properties>
                <filters>
                    <pattern>Endpoint.*</pattern>
                    <pattern>Service.*</pattern>
                    <pattern>Configuration</pattern>
                </filters>
            </target>
        </logging>
        <system>
            <redeploy>
                <enabled>false</enabled>
            </redeploy>
        </system>
    </services-config>
    flex-servlet.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
        xmlns:flex="http://www.springframework.org/schema/flex"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:context="http://www.springframework.org/schema/context"
        xsi:schemaLocation="
            http://www.springframework.org/schema/beans
            http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
            http://www.springframework.org/schema/flex
            http://www.springframework.org/schema/flex/spring-flex-1.0.xsd
             http://www.springframework.org/schema/context
             http://www.springframework.org/schema/context/spring-context-3.0.xsd">
        <flex:message-broker>
            <flex:remoting-service default-channels="my-amf"/>
        </flex:message-broker>
        <context:annotation-config />
        <context:component-scan base-package="blah" />
    </beans>
    web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
        <display-name>BlazeDS Spring Integration Application</display-name>
        <description>BlazeDS Spring Integration Application</description>
        <servlet>
            <servlet-name>flex</servlet-name>
            <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
            <load-on-startup>1</load-on-startup>
        </servlet>
        <servlet>
            <servlet-name>RDSDispatchServlet</servlet-name>
            <display-name>RDSDispatchServlet</display-name>
            <servlet-class>flex.rds.server.servlet.FrontEndServlet</servlet-class>
            <init-param>
                <param-name>useAppserverSecurity</param-name>
                <param-value>false</param-value>
            </init-param>
            <init-param>
                <param-name>messageBrokerId</param-name>
                <param-value>_messageBroker</param-value>
            </init-param>
            <load-on-startup>10</load-on-startup>
        </servlet>
        <servlet-mapping id="RDS_DISPATCH_MAPPING">
            <servlet-name>RDSDispatchServlet</servlet-name>
            <url-pattern>/CFIDE/main/ide.cfm</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>flex</servlet-name>
            <url-pattern>/messagebroker/*</url-pattern>
         </servlet-mapping>
    </web-app>
    FooProject.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" xmlns:services="services.*">
        <fx:Declarations>
            <s:CallResponder id="sayHelloResult"/>
            <services:FooService id="fooService">
                <services:channelSet>
                    <s:ChannelSet>
                        <s:AMFChannel uri="http://mctg.yoyo.pl/WebContent/messagebroker/amf"/>
                    </s:ChannelSet>
                </services:channelSet>
            </services:FooService>
        </fx:Declarations>
        <s:TextInput id="ti" x="10" y="13"/>
        <s:Label x="10" y="43" text="{sayHelloResult.lastResult}"/>
        <s:Button x="146" y="14" label="Send" click="sayHelloResult.token = fooService.sayHello(ti.text)"/>
    </s:Application>
    The problem is in my opinion in the line wchich is bold. If I change it to <s:AMFChannel uri="http://localhost:8080/WebContent/messagebroker/amf"/> and run on localhost everything is fine. If I upload app on server and call Java method I can only wait for response but I never will get it.
    I realize that similar threads are currently on this forum. I read a few o them but finally I haven't solved my problem yet. I would be grateful for any help.

    Hi ,
    Please check the imapproxy component is in active or inactive state by using the below mentioned command.
    Get-ServerComponentState -identity "servername"
    If it is inactive in state please make it as active.
    Set-ServerComponentState -Identity "server name" -Component imapProxy -Requester HealthAPI -State Active
    Thanks & Regards S.Nithyanandham

  • I have a game but it only for one apple id and one divece but someone i dont know id play that game and using my apple id and i want to know if u can block them from using ur apple id and also erase all the games they downlode with the apple id

    I have a game but it only for one apple id and one divece but someone i dont know id play that game and using my apple id and i want to know if u can block them from using ur apple id and also erase all the games they downlode with the apple id

    There probably is, but it requires that you be able to use punctuation and write in sentences so that we can understand exactly what you want.
    You can block others from using your Apple ID by changing your password.  There is no way to erase what was already downloaded on to someone else's device, for obvious reasons,

  • SRM Classic - Automatic PO creation in R/3 only for PReqs based on catalogs

    Dear Experts,
    in SRM 7.0 Classic Scenario, i am facing the following question w.r.t. automatic PO creation on the R/3 side:
    Is it possible to have automatic PO creation in R/3 only for those purchase requisition items, that are based on shopping cart items from a third party punch out catalog?
    The idea is, that the requisitioner on the SRM EBP side shops in a catalog. Once the the SC is approved and the purchase requisition is created in the R/3 system, automatically a PO should be created based on that PReq. This would save the time for the buyer, who do not need to pay attention to this document, because the purchase from the catalog guarantees the buyer, that the already pre-agreed conditions are getting applied.
    But PReqs that are based on Free Text shopping cart EBP items must not be taken into account for the automatic PO creation.
    Is there a way to distinguish between the catalo-based and the non-catalog based PReq positions?
    Thank you.

    Hello Ashutosh,
    thank you very much for that idea!
    I would have the following question w.r.t. to such configuration:
    If i configure that the PO creation for complete SC should happen for a certain purchasing group, would it be somehow possible to arrange that when a Catalog item is put into the shopping cart, that only that certain purchasing group gets defaultet? (the idea behind this is, to leave the free text shopping carts to already known purchasing groups and to keep the purchase requisition as the backend object for this configuration. And additionally to create new purchasing groups, that should be linked to the catalog purchases and to POs as the backend objects).
    Thanks again for the help!

  • Automatic PO creation - only for PRs based on catalog SRM/EBP items

    Dear Experts,
    i am facing the following question w.r.t. automatic PO creation:
    Is it possible to have automatic PO creation in R/3 only for those purchase requisition items, that are based on shopping cart/EBP/SRM items that are from a third party punch out catalog?
    The idea is, that the requisitioner on the SRM EBP side shops in a catalog. Once the the SC is approved and the purchase requisition is created in the R/3 system, automatically a PO should be created based on that PReq. This would save the time for the buyer, who do not need to pay attention to this document, because the purchase from the catalog guarantees the buyer, that the already pre-agreed conditions are getting applied.
    But PReqs that are based on Free Text shopping cart EBP items must not be taken into account for the automatic PO creation.
    Is there a way to distinguish between the catalog-based and the non-catalog based PReq positions?
    Thank you.

    Auto PO transaction ME59N comes with huge selection crieteria. If you can distinguish between catelog vs non catalog requisition then it very easy to set up variant to filter non catalog based requistion. you can also think about ehnacement of polulating text fields like Requisitioner or Requirement tracking number  with unque idetifier  in case of non catalog based PR then you can set variant to filter out those requistions..

  • My iPhone was stolen a few days ago. It appears to be offline on the Find My iPhone app. If the person who has it turns it on only for a brief moment and then turns it off immediately, will the location still be found? Once it returns to be

    My iPhone was stolen a few days ago. It appears to be offline on the Find My iPhone app. If the person who has it turns it on only for a brief moment and then turns it off immediately, will the location still be found? Once it returns to being offline will the location still be sent to me? And also, how can I retrieve my pictures from my iCloud?

    Anything is possible.

  • [CC] How to perform a script "foo_beforeSave.htm" only for specific site?

    Since a long time I use a script for automatic text replacements which perform with each save command.
    The script sits in that folder:
    C:\Users\myusername\AppData\Roaming\Adobe\Dreamweaver CC\de_DE\Configuration\Commands\foo_beforeSave.htm
    It works for all documents of all sites.
    The source code (the regex rule is just an example) of the script you find below.
    My question:
    I like to perform a script like this only for a specific site.
    I'm not a programmer. So I don't know where to place the script to reach that target. Or how I have to edit the source code of the script.
    Is there anybody who could help me with that please?
    I would appreciate it a lot. Thanks
    <!DOCTYPE HTML SYSTEM "-//Macromedia//DWExtension layout-engine 5.0//dialog">
    <!-- MENU-LOCATION=NONE -->
    <html>
    <head>
    <title></title>
    <script src="../Shared/Common/Scripts/dwscripts.js"></script>
    <script>
    function canAcceptCommand(){
        return true;
    function getFileName(url) {
      var index = url.lastIndexOf('/');
      if (index != -1) retVal = url.substring(index + 1);
      else retVal = url;
      return retVal;
    function runCmd(){
        var dom = dw.getDocumentDOM();
        dom.synchronizeDocument();
        var path = dw.getDocumentPath('document');
        if(getFileName(path) != 'foo_beforeSave.htm'){
            var docEl = dom.documentElement;
            var tempDoc = docEl.outerHTML;
            tempDoc = tempDoc.replace(/&bdquo;/g,'„');
            tempDoc = tempDoc.replace(/&#8222;/g,'„');
            tempDoc = tempDoc.replace(/&ldquo;/g,'“');
            tempDoc = tempDoc.replace(/&#8220;/g,'“');
            tempDoc = tempDoc.replace(/&rdquo;/g,'”');
            tempDoc = tempDoc.replace(/&#8221;/g,'”');
            docEl.outerHTML = tempDoc;
    </script>
    </head>
    <body onLoad="runCmd();">
    </body>
    </html>

    Well, the posted script is a full working one.
    I just search for a way to limit the range of the script to the actual site.
    Therefore it is unimportant, which regex is in the example.

  • SRM 4.0- How to set the default values for product type (01) only for SC

    The radio button “Service” should not be visible.
    Also for search help (e.g. search for internal products) where a search should only be possible for product type 01 (goods). The system should not display the product type and internally always search for goods only.
    How to set the default values for product type (01) only for SC
    We needs to use Search help BBPH_PRODUCT which having parameter PRODUCT_TYPE
    Here we can set defalut value 01 but it is not correct one since same search help is using several places.
    We need to limit the search help results only for SC.
    Kindly help out me ASAP.

    The easiest way to set defautl values is to edit the batch class.
    Goto the characteiristic and go to update values.
    In here you probably have something like 0 - 100 as a spec range.
    On the next line enter the default value within this range.  At the end of the line, click in the box in the column labelled "D".  This indicates the defautl value for the characteristic.
    If you need to you can do this in the material classification view as well.
    Just to be clear, these values will only show up in the batch record.  You can not have defautl values in resutls recording screens.
    FF

  • How to change the background color only for one HTML-Portlet?

    Hi all,
    I have created a HTML-Portlet in my root-page. The root page have a style: Main-Style.
    I want to change the background-color only for this one HTML-Portlet:
    <html>
    <header><title>Test</title></header>
    <body bgcolor="#999999">
    Test
    </body>
    </html>
    But this does not work...
    When I use the CSS, then it will change the background-color for the root-page too.
    Thans
    Leonid Pavlov

    could you try this
    <table bgcolor="#999999">
    <tr>
    <td>
    test
    </td>
    </tr>
    </table>
    I don't think you need <html><header><title>Test</title></header>
    <body></body></html> for your HTML-Portlet.

  • How do I keep a page as my home page when dragging icon to left of URL to house image & confirming that I want it as home page works only for current session, so when Firefox next opened, I end up with some stupid search page which McAfee doesn't like?

    A couple of days ago, I connected to the Internet as usual & opened Firefox, only to be greeted by an almost blank screen with a Google-type search box in the middle & this message from McAfee:
    "Your default search settings have changed. This may pose a security risk. Would you like to restore them to McAfee Secure Search to provide a safer searching experience?"
    instead of my usual home page (BT Yahoo). I naturally clicked on the "Yes" option in the message, but rather than restoring my BT Yahoo home page, all that did was to insert the McAfee logo to the left of the search box in the top right-hand corner of the screen. The first time it happened, I had to search for the BT Yahoo page & then followed the standard procedure for setting it again as my home page. It worked only for that session: each time I shut down Firefox or restarted my computer after that, all I got was the blank "search page" & restoring the previous session was the only way to get back to BY Yahoo. How on earth do I make the home page setting permanent?
    As far as I'm aware, I have done nothing to alter my search settings. However, I am anything but computer-literate, so I may have done/pressed something without realising it, but trying to understand what is now happening is far beyond my limited IT skills.

    See McAfee support to find out how to disable that McAfee feature - that isn't part of the normal Firefox installation.

  • Header Details to be Printed only for the line item details.

    Hi All,
    I have the following requirement.
    I have Page1 with the Logo, Header Window, Vendor Window, Send Invoice To, Delivere Invoice To and Main Window. Main Window Starts from the middle of the page. In the Page2 i have Logo, Header window and Main Window. In the Page3 i have only Main Window.
    In the Footer of the Main Window i have Placed the Terms and conditions which should always be Printed in the New Page. So in the footer i have given a command "Go to New Page " and given the page as Page3.
    The requirement is Logo,and Header Window should appear only for the Line items and not for the Terms and conditions.
    For the Page1 i have given the Next Page as Page2. Suppose if there is only one line item then it Prints in the first Page itslef and the control flows to the Page2 and since in the page2 i have given the condition for the Logo and header window to print only if line item is more than 1 and since Main Window is starting from the middle there is a blank Space appearing in the start of the page.
    The command i have given in the footer to trigger new page that is page3 is not getting triggered. If there are more than one line item then its printing the logo and header window and so there is no blank space appearing and it is working fine.
    Please let me know how to avoid this blank space and move my main window to the start of the Page if there is only one line item.
    Thank you.

    Dear Vasudha,
    I am a little bit confused regarding your query,
    "In the Footer of the Main Window i have Placed the Terms and conditions which should always be Printed in the New Page. So in the footer i have given a command "Go to New Page " and given the page as Page3. "
    When you say footer of main window does it mean , that you are using a table inside your main window and the command node your have inserted is in the footer of the table ?.I hope it is, because my suggestion is based on this assumption.
    Well my suggestion for your issue is,
    1.I  hope you are aware we can trigger a next page in two ways, one by setting the next page static attribute & second using  the command node which you have used.In your case you will have to use a combination of both.
    2.I feel your First page design is ok. Set its static next page attribute to PAGE2. Similarly set the static next page attribute for PAGE2 as PAGE2 itself. This should take care of your table which you have placed in the main window. If the table contains only one lineitem it will get over in the first page itself. If the lineitems are more in the table, it will automatically triggerPAGE2 (since static next page attribute for PAGE1 is PAGE2)  and the remaining line items will be displayed. Now no matter how many lineitems you have ,PAGE2 will be triggered repeatedly(since static next page for PAGE2 is PAGE2 itself) until the entire data in your table is displayed.
    In this way your requirement of printing the logo and header windows for the data lineitems only will be fulfilled.
    3.Now the last catch in your case is the printing of PAGE3(The terms and condition page) on an entirely new blank page.
       In the footer section of the table which you have used,  use a command node set to PAGE3.  After the command node and under the same  footer section now insert your terms and condition lineitem.
    Also Check the "at End of table" checkbox and uncheck " AT PAGE BREAK" under OUTPUT OPTIONS tab for the footer section.
    So now this footer section will be triggered only once after all the data in the table is displayed
    4. So now if there is only one lineitem, before the default second page is triggered the command node will trigger the PAGE3 and the terms and condition will be displayed.Else if there are more lineitems the page2 will be triggered again and again and finally when all the lineitems are over, the footer of the table will get triggered. So the command node will take you to the PAGE3 wherin the terms and condition will only be displayed.
    Hope this helps.
    Regards,
    Riju

  • Interest calculation only for open item for customers

    Hi, do you know how to calculate Interest calculation only for open item for customers?I do not want to see cleared   items. I have problem with customization.
    Best Regards
    Tom

    In the item interest calculation, you can tick the  'open items' for calculation of interest and also select the 'no cleared items'.
    Regards

Maybe you are looking for

  • Java.lang.AbstractMethodError: oracle.jdbc.driver.OracleResultSet.isLast()Z

    Hello. I'm trying to detect if a row is the last one of a ResultSet (from a executeQuery): ResultSet results = sql.executeQuery(); if (results.isLast())      out.println("EMPTY"); But I get this error message: Error 500 Servlet internal error: java.l

  • Trouble connecting mac to Canon IR-ADV C5030

    I am trying to connect to a Copier/Printer at my new office. I downloaded the driver recommended by IT. I have been unsuccessful in trying to print. I continue to receive the "Stopped. Filter failed" error. I have tried deleting and re-adding the pri

  • Inbound Dialpeer fixed number of digits

    Hi, I want to block some calls which are less than any number of digits to the VoIP gateway. In incoming called-number command, when we use "." it would cause any number of digits comes in and I want to restric for example 7 digits calls drops at the

  • Problems Using DB Object

    I have created an Oracle DB object, I can use the object, open and close it but the I try and use ora_parse or ora_exec I get the following error message. Warning: Connection already closed for cursor index 111742996 It's odd because I don't get an e

  • CUPS Simply Doesn't Work

    Hello, I've a HP PSC 1110 connected on my computer. I placed hplip before cups in /etc/rc.conf file. The services are started correctly and it seems to recognise my printer since i can see the statistics about it from the console with hp-* stuff.. An