Urgent! Hide Tomcat console and run in NT services

Greetings!
     Urgent! I working on project using the JSP with Tomcat. There are serverals things I would like to know :
1. How to hide or minimize the Tomcat console/ Dos-prompt?
2. How to create console/ Dos-prompt run in System tray?
3. How to make the Tomcat console/ Dos-prompt run in the NT services instead of run and show in desktop?
     Please give me some guidance or tips for me. The example code or helpful link are appreciated. Thank you!
Regards,
Ansonding

The setup.exe package that is downloadable from Jakarta will install an NT service for you (it prompts for whether you want one on installation):
Download from here:
http://nagoya.apache.org/dist/jakarta/jakarta-tomcat-4.0/release/v4.1.18/bin/jakarta-tomcat-4.1.18.exe

Similar Messages

  • How to get up and run a Web Services/RESTful functionality?

    Hello there,
    The DBAs just completed the upgrade for the APEX 4.2 in our organization. I was asked to work with APEX and build some application. This morning I was asked by my boss to take a look at getting the Web Services/RESTful API Functionality up and running. I am new to this environment. When I check the RESTful Services I found out the are no RESTful Services. What do I do to get this running? as a Developer, I do not have access to any schema or web services. How do I go about making this work? can any one point me to some blog or site that will help me make this work?

    Hello,
    You can consume Web-Services from APEX, but you can't produce. So first ask your boss which web-service you want to implement.
    There are 2 types of web services in general, SOAP based and RESTful. APEX provides simplified API's to invoke both types web-service.
    Identify web-service you want to TEST
    Create ACL for APEX_XXXX schema to access web-service
    Create ACL for Proxy Server as-well, if required
    If web-service is SSL-enabled then configure wallet. See 17.7 Implementing Web Services
    Use APEX API's to invoke Web-Services. See APEX_WEB_SERVICE
    You can process XML response from Web-Service using Using XQuery with Oracle XML DB
    If Web-Service returns JSON data either you can use PL/JSON | Free software downloads at SourceForge.net to process response, or you can process response at client side using jQuery
    Regards,
    Hari

  • Firxfox installed (without me agreeing!) and update and since then I cannot open it at all. RE-installation didn't help. I urgently need Firefox up and running with my bookmarks intact. Thank you

    As mentioned above, when I opened Firefox this morning it installed automatically an update w/o me agreeing and I don't know what was isntalled. Since then I cannot open Firefox. Mozilla Crash Reporter opens and thell me Firefox had a problem and crashed. "We'll try to restore your tabs and windows when it restarts.
    To help us diagnose and fix the problem, you can send us a crash report."
    I press restart Firefox but I always just get the same message. I uninstalled it and downloaded it again, nothing is changing. I urgentlyu need to use the bookmarks as I don't have them in Explorer which I have to use now.
    Thank you

    You need "sysinternal's process explorer", it is free and can replace the Microsoft process explorer, that you get by "CTRL+ALT+DELETE". Either program will allow you to kill the instances of FF that didn't die as they should have, when you closed them. Sysinternal is easier to use, it is a graphic display with many options. Do not push "CTRL+ALT+DELETE" twice unless you want to reboot, that is its default behaviour under Microsoft.

  • Install and run blazeds-turnkey-3.2.0-3978 in Tomcat on Linux

    I Installed and ran the  blazeds-turnkey-3.2.0-3978 distrubution in Tomcat 5.0.27 with JVM  1.5.0_22 in my laptop (Window Vista Pro) successfully.
    Blazeds, ds-consolo, and  samples applications are working fine. I'm not using  Flex Builder for this. The ds-consolo and samples are
    accessed  through http://localhost:8080/ds-consolo and http://localhost:8080/samples.  I did not change any of the configuration files
    (service-config.xml,  ...) in the distribution package.
    Now I try to Install and run the same  blazeds-turnkey-3.2.0-3978 distrubution with the same Tomcat 5.0.27 with  JVM 1.5.0_22 in a remote Linux server.
    I changed the configuration  files as following:
    For blazeds application, I changed the parameters in all  the configuration files under WEB-INF/flex in following way:
    {server.name}:{server:port}  to xyz.com   (xyz.com is the domain name, and we use default port 80).
    {context-root}  to blazeds
    For ds-consolo application, I changed the  parameters in all the configuration files under WEB-INF/flex in  following way:
    {server.name}:{server:port} to xyz.com   (xyz.com  is the domain name,  and we use default port 80).
    {context-root} to  ds-consolo
    For samples application, I changed the parameters  in all the configuration files under WEB-INF/flex in following way:
    {server.name}:{server:port}  to xyz.com   (xyz.com is the domain name,  and we use default port 80).
    {context-root}  to samples
    It seems they were all deployed to the Tomcat OK,  but when I tried to run the ds-consolo and samples apps, I got
    errors.  Did I set the parameters in the configuration files, especially {context-root}, correctly? Am I  missing anything?

    If it is caused by a wrong port, I should get an error message or timeout.
    This is the services-config.xml file I'm using for Blazeds app
    <?xml version="1.0" encoding="UTF-8"?>
    <services-config>
        <services>
            <service-include file-path="remoting-config.xml" />
            <service-include file-path="proxy-config.xml" />
            <service-include file-path="messaging-config.xml" />       
        </services>
        <security>
            <login-command class="flex.messaging.security.TomcatLoginCommand" server="Tomcat"/>
        </security>
        <channels>
            <channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">
                <endpoint url="http://infody.com/blazeds/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/>
            </channel-definition>
            <channel-definition id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel">
                <endpoint url="https://xyz.com/blazeds/messagebroker/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/>
                <properties>
                    <add-no-cache-headers>false</add-no-cache-headers>
                </properties>
            </channel-definition>
            <channel-definition id="my-polling-amf" class="mx.messaging.channels.AMFChannel">
                <endpoint url="http://xyz.com/blazeds/messagebroker/amfpolling" class="flex.messaging.endpoints.AMFEndpoint"/>
                <properties>
                    <polling-enabled>true</polling-enabled>
                    <polling-interval-seconds>4</polling-interval-seconds>
                </properties>
            </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>
    There is no url or port settings in the other three Blazeds configuration xml file: remoting-config.xml, proxy-config.xml, messaging-config.xml
    Here is the services-config.xml file for ds-console app:
    <?xml version="1.0" encoding="UTF-8"?>
    <services-config>
        <services>
            <!--
                    REMOTING SERVICE
            -->
            <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>
                <!-- Runtime management console destination -->
                <destination id="RuntimeManagement" channels="amf">
                    <properties>
                        <source>flex.management.jmx.MBeanServerGateway</source>
                    </properties>
                </destination>
            </service>
        </services>
            <security>
                <login-command class="flex.messaging.security.TomcatLoginCommand" server="Tomcat"/>              
            </security>
        <channels>
            <channel-definition id="amf" class="mx.messaging.channels.AMFChannel">
                <endpoint url="http://xyz.com/ds-console/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/>
                <properties>
                    <polling-enabled>false</polling-enabled>
                </properties>
            </channel-definition>
        </channels>
        <logging>
            <!-- You may also use flex.messaging.log.ServletLogTarget -->
            <target class="flex.messaging.log.ConsoleTarget" level="Error">
                <properties>
                    <prefix>[BlazeDS] </prefix>
                    <includeDate>false</includeDate>
                    <includeTime>false</includeTime>
                    <includeLevel>true</includeLevel>
                    <includeCategory>true</includeCategory>
                </properties>
                <filters>
                    <pattern>Endpoint.*</pattern>
                </filters>
            </target>
        </logging>
        <system>
            <redeploy>
                <enabled>true</enabled>
                <watch-interval>20</watch-interval>
                <watch-file>ds-console/WEB-INF/flex/services-config.xml</watch-file>
                <touch-file>ds-console/WEB-INF/web.xml</touch-file>
            </redeploy>
        </system>
    </services-config>

  • My 2011 Imac 27" has been crashing and running very erratically and slowly. The only change has been the update to 10.8.1, I will paste the consol kernal panic report.  Is there a software conflict?

    Hi, first time posting on the forum. I own a 2011 IMAC i5 with 12gb of ram 27 inch. Over the last five days the computer has been crashing and running very erratically. When the computer has crashed the entire computer has become unresponsive and frozen, requiring a reboot or two. At other times the computer has slowed way down and the dreaded spinning beachball has appeared and the computer takes its sweet time trying to process something. Iphoto has also crashed independently when the beahball will not disappear. THE entire system is running way below its usual stellar quad performance. I have run a ram test and everything has come back clean, I have fixed any broken permissions, and deleted any newly added software (starcraft2). There is over 250Gb of hard drive free and the activity monitor shows no unusual processes. The computer automatically updated it self recently to 10.8.1 has this caused a conflict with some software? Or is there a deeper problem?
    Below are the console reports. There are also reports for unversalaccessd  ,  mdworker, Isregister, loginwindow, iphoto, DMproxy which can be supplied.
    Thanks for any help.
    Richardx
    Interval Since Last Panic Report:  337136 sec
    Panics Since Last Report:          1
    Anonymous UUID:                
    Sun Aug 12 20:59:17 2012
    panic(cpu 3 caller 0xffffff80118b7b95): Kernel trap at 0xffffff801183fbea, type 14=page fault, registers:
    CR0: 0x0000000080010033, CR2: 0x0000000000000010, CR3: 0x00000000bddec000, CR4: 0x0000000000000660
    RAX: 0xffffff8011e8eb04, RBX: 0x0000000000000000, RCX: 0xffffff8011e8eb00, RDX: 0x0000000000000000
    RSP: 0xffffff817272bd90, RBP: 0xffffff817272bdc0, RSI: 0x00000000533ce620, RDI: 0xffffff802e075618
    R8:  0x000000000002a1d7, R9:  0x0000000000000000, R10: 0xffffff8163066000, R11: 0x0000000000000201
    R12: 0xffffff802e075618, R13: 0xffffff802e075620, R14: 0xffffff8048c3af58, R15: 0x0000000000000001
    RFL: 0x0000000000010082, RIP: 0xffffff801183fbea, CS:  0x0000000000000008, SS:  0x0000000000000010
    Fault CR2: 0x0000000000000010, Error code: 0x0000000000000000, Fault CPU: 0x3
    Backtrace (CPU 3), Frame : Return Address
    0xffffff817272ba30 : 0xffffff801181d5f6
    0xffffff817272baa0 : 0xffffff80118b7b95
    0xffffff817272bc70 : 0xffffff80118ce4ad
    0xffffff817272bc90 : 0xffffff801183fbea
    0xffffff817272bdc0 : 0xffffff801181a32a
    0xffffff817272be50 : 0xffffff801184f990
    0xffffff817272be80 : 0xffffff8011820abd
    0xffffff817272beb0 : 0xffffff8011810448
    0xffffff817272bf00 : 0xffffff80118195fb
    0xffffff817272bf70 : 0xffffff80118a5ad6
    0xffffff817272bfb0 : 0xffffff80118ced13
    BSD process name corresponding to current thread: ScreenSaverEngin
    Mac OS version:
    12A269
    Kernel version:
    Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64
    Kernel UUID: 8D5F8EF3-9D12-384B-8070-EF2A49C45D24
    Kernel slide:     0x0000000011600000
    Kernel text base: 0xffffff8011800000
    System model name: iMac11,3 (Mac-F2238BAE)
    System uptime in nanoseconds: 213783527015426
    last loaded kext at 26227504573982: com.apple.driver.AppleUSBCDC    4.1.21 (addr 0xffffff7f93a52000, size 16384)
    last unloaded kext at 26341760265155: com.apple.driver.AppleUSBCDC    4.1.21 (addr 0xffffff7f93a52000, size 12288)
    loaded kexts:
    org.virtualbox.kext.VBoxNetAdp    4.1.6
    org.virtualbox.kext.VBoxNetFlt    4.1.6
    org.virtualbox.kext.VBoxUSB    4.1.6
    org.virtualbox.kext.VBoxDrv    4.1.6
    com.Cycling74.driver.Soundflower    1.5.1
    com.apple.filesystems.afpfs    10.0
    com.apple.nke.asp_tcp    7.0.0
    com.apple.filesystems.msdosfs    1.8
    com.apple.driver.AppleHWSensor    1.9.5d0
    com.apple.driver.AppleBluetoothMultitouch    75.15
    com.apple.filesystems.autofs    3.0
    com.apple.iokit.IOBluetoothSerialManager    4.0.9f8
    com.apple.driver.AGPM    100.12.69
    com.apple.driver.AppleMikeyHIDDriver    122
    com.apple.driver.AppleHDA    2.3.0f2
    com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport    4.0.9f8
    com.apple.driver.AudioAUUC    1.60
    com.apple.iokit.IOUserEthernet    1.0.0d1
    com.apple.Dont_Steal_Mac_OS_X    7.0.0
    com.apple.driver.ApplePolicyControl    3.2.6
    com.apple.driver.AppleUpstreamUserClient    3.5.10
    com.apple.driver.AppleMikeyDriver    2.3.0f2
    com.apple.driver.AppleBacklight    170.2.3
    com.apple.kext.AMDFramebuffer    8.0.0
    com.apple.driver.ACPI_SMC_PlatformPlugin    1.0.0
    com.apple.driver.AppleLPC    1.6.0
    com.apple.driver.AppleMCCSControl    1.0.33
    com.apple.AMDRadeonAccelerator    1.0.0
    com.apple.driver.AppleIRController    320.15
    com.apple.driver.AppleUSBCardReader    3.1.0
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless    1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib    1.0.0d1
    com.apple.BootCache    34
    com.apple.iokit.SCSITaskUserClient    3.5.1
    com.apple.driver.XsanFilter    404
    com.apple.iokit.IOAHCIBlockStorage    2.2.0
    com.apple.driver.AppleFWOHCI    4.9.5
    com.apple.driver.AppleUSBHub    5.1.6
    com.apple.driver.AirPort.Atheros40    600.70.23
    com.apple.iokit.AppleBCM5701Ethernet    3.2.5b3
    com.apple.driver.AppleAHCIPort    2.4.0
    com.apple.driver.AppleUSBEHCI    5.1.5
    com.apple.driver.AppleEFINVRAM    1.6.1
    com.apple.driver.AppleRTC    1.5
    com.apple.driver.AppleACPIButtons    1.6
    com.apple.driver.AppleHPET    1.7
    com.apple.driver.AppleSMBIOS    1.9
    com.apple.driver.AppleACPIEC    1.6
    com.apple.driver.AppleAPIC    1.6
    com.apple.driver.AppleIntelCPUPowerManagementClient    196.0.0
    com.apple.nke.applicationfirewall    4.0.39
    com.apple.security.quarantine    2
    com.apple.driver.AppleIntelCPUPowerManagement    196.0.0
    com.apple.security.SecureRemotePassword    1.0
    com.apple.driver.AppleBluetoothHIDKeyboard    165.5
    com.apple.driver.AppleHIDKeyboard    165.5
    com.apple.driver.IOBluetoothHIDDriver    4.0.9f8
    com.apple.driver.AppleMultitouchDriver    235.27
    com.apple.kext.triggers    1.0
    com.apple.iokit.IOSerialFamily    10.0.6
    com.apple.driver.DspFuncLib    2.3.0f2
    com.apple.iokit.AppleBluetoothHCIControllerUSBTransport    4.0.9f8
    com.apple.iokit.IOAudioFamily    1.8.9fc9
    com.apple.kext.OSvKernDSPLib    1.6
    com.apple.iokit.IOSurface    86.0.2
    com.apple.iokit.IOBluetoothFamily    4.0.9f8
    com.apple.iokit.IOFireWireIP    2.2.5
    com.apple.driver.AppleGraphicsControl    3.2.6
    com.apple.driver.AppleBacklightExpert    1.0.4
    com.apple.driver.AppleSMBusPCI    1.0.10d0
    com.apple.driver.AppleSMC    3.1.3d11
    com.apple.driver.IOPlatformPluginLegacy    1.0.0
    com.apple.driver.AppleHDAController    2.3.0f2
    com.apple.iokit.IOHDAFamily    2.3.0f2
    com.apple.driver.IOPlatformPluginFamily    5.2.0d16
    com.apple.driver.AppleSMBusController    1.0.10d0
    com.apple.iokit.IOAcceleratorFamily    19.0.26
    com.apple.iokit.IONDRVSupport    2.3.4
    com.apple.kext.AMD5000Controller    8.0.0
    com.apple.kext.AMDSupport    8.0.0
    com.apple.iokit.IOGraphicsFamily    2.3.4
    com.apple.iokit.IOUSBHIDDriver    5.0.0
    com.apple.iokit.IOSCSIBlockCommandsDevice    3.5.1
    com.apple.iokit.IOUSBMassStorageClass    3.5.0
    com.apple.driver.AppleUSBMergeNub    5.1.5
    com.apple.driver.AppleUSBComposite    5.0.0
    com.apple.iokit.IOSCSIMultimediaCommandsDevice    3.5.1
    com.apple.iokit.IOBDStorageFamily    1.7
    com.apple.iokit.IODVDStorageFamily    1.7.1
    com.apple.iokit.IOCDStorageFamily    1.7.1
    com.apple.iokit.IOAHCISerialATAPI    2.5.0
    com.apple.iokit.IOSCSIArchitectureModelFamily    3.5.1
    com.apple.iokit.IOFireWireFamily    4.5.5
    com.apple.iokit.IOUSBUserClient    5.0.0
    com.apple.iokit.IO80211Family    500.15
    com.apple.iokit.IOEthernetAVBController    1.0.2b1
    com.apple.iokit.IONetworkingFamily    3.0
    com.apple.iokit.IOAHCIFamily    2.2.0
    com.apple.iokit.IOUSBFamily    5.1.6
    com.apple.driver.AppleEFIRuntime    1.6.1
    com.apple.iokit.IOHIDFamily    1.8.0
    com.apple.iokit.IOSMBusFamily    1.1
    com.apple.security.sandbox    220
    com.apple.kext.AppleMatch    1.0.0d1
    com.apple.security.TMSafetyNet    7
    com.apple.driver.DiskImages    344
    com.apple.iokit.IOStorageFamily    1.8
    com.apple.driver.AppleKeyStore    28.18
    com.apple.driver.AppleACPIPlatform    1.6
    com.apple.iokit.IOPCIFamily    2.7
    com.apple.iokit.IOACPIFamily    1.4
    com.apple.kec.corecrypto    1.0
    System Profile:
    Model: iMac11,3, BootROM IM112.0057.B01, 4 processors, Intel Core i5, 2.8 GHz, 12 GB, SMC 1.59f2
    Graphics: ATI Radeon HD 5750, ATI Radeon HD 5750, PCIe, 1024 MB
    Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80AD, 0x484D54313235533654465238432D48392020
    Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80AD, 0x484D54313235533654465238432D48392020
    Memory Module: BANK 0/DIMM1, 4 GB, DDR3, 1333 MHz, 0x859B, 0x435435313236344243313333392E4D313646
    Memory Module: BANK 1/DIMM1, 4 GB, DDR3, 1333 MHz, 0x859B, 0x435435313236344243313333392E4D313646
    AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x8F), Atheros 9280: 4.0.70.23-P2P
    Bluetooth: Version 4.0.9f8 10405, 2 service, 18 devices, 1 incoming serial ports
    Network Service: AirPort, AirPort, en1
    Serial ATA Device: ST31000528AS, 1 TB
    Serial ATA Device: PIONEER DVD-RW  DVRTS09
    USB Device: hub_device, 0x0424  (SMSC), 0x2514, 0xfa100000 / 2
    USB Device: External HDD, 0x1058  (Western Digital Technologies, Inc.), 0x0900, 0xfa140000 / 5
    USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0xfa120000 / 4
    USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000 / 3
    USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8215, 0xfa111000 / 6
    USB Device: hub_device, 0x0424  (SMSC), 0x2514, 0xfd100000 / 2
    USB Device: IEEE-1284 Controller, 0x067b  (Prolific Technology, Inc.), 0x2305, 0xfd140000 / 5
    USB Device: Built-in iSight, apple_vendor_id, 0x8502, 0xfd110000 / 4
    USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd120000 / 3

    Update Soundflower to the most recent version. You have an unsupported edition. http://code.google.com/p/soundflower/downloads/detail?name=Soundflower-1.6.6b.dm g&can=2&q=

  • Can't get console up and running in eclipse

    Hi tried to get the system.console() up with a console object, using code from java tutorial, here: http://java.sun.com/docs/books/tutorial/essential/regex/test_harness.html
    But when I try to run the code, the console never pops up and the return is null. I am using eclipse with java 1.6 installed. I have programmed on this with many other classes before and have not had a problem.
    I am using the fall 07 version of eclipse on windows vista home premium.
    Please advise
    Thanks
    -Z
    Edited by: zhuberg on Aug 16, 2008 9:19 PM
    Edited by: zhuberg on Aug 16, 2008 9:22 PM

    Hi tried to get the system.console() up with a console object,Do you mean you invoked System.console()? If so, you should take the [API docs|http://java.sun.com/javase/6/docs/api/java/lang/System.html#console()] at face value: "Returns the unique Console object associated with the current Java virtual machine, if any". If any.
    If I compile and run the following within Eclipse:
    public class ConsoleEg {
        public static void main(String[] args) {
            System.out.println("System.console()=" + System.console());
    }then I get the output:
    {noformat}
        System.console()=null
    {noformat}The [Console documentation|http://java.sun.com/javase/6/docs/api/java/io/Console.html] elaborates: "Whether a virtual machine has a console is dependent upon the underlying platform and also upon the manner in which the virtual machine is invoked. If the virtual machine is started from an interactive command line without redirecting the standard input and output streams then its console will exist and will typically be connected to the keyboard and display from which the virtual machine was launched. If the virtual machine is started automatically, for example by a background job scheduler, then it will typically not have a console.
    If this virtual machine has a console then it is represented by a unique instance of this class which can be obtained by invoking the System.console() method. If no console device is available then an invocation of that method will return null."
    Perhaps you should use the other methods for I/O: buffered reader and the print stream methods.

  • Install and run blazeds-turnkey-3.2.0-3978 in Tomcat in Linux

    I Installed and ran the blazeds-turnkey-3.2.0-3978 distrubution in Tomcat 5.0.27 with JVM 1.5.0_22 in Window Vista successfully.
    Blazeds, ds-consolo, and samples applications are working fine. I'm not using the Tomcat with Flex Builder. The ds-consolo and samples are
    accessed through http://localhost:8080/ds-consolo and http://localhost:8080/samples. I did not change any of the configuration files
    (service-config.xml, ...) in the distribution package.
    Now I try to Install and run the same blazeds-turnkey-3.2.0-3978 distrubution in the same  Tomcat 5.0.27 with JVM 1.5.0_22 in a remote Linux server.
    I changed the configuration files as following:
    For blazeds application, I changed the parameters in all the configuration files under WEB-INF/flex in following way:
    {server.name}:{server:port} to xyz.com   (xyz.com is the domain name, and we use default port 80)
    {context-root} to blazeds
    For ds-consolo application, I changed the parameters in all the configuration files under WEB-INF/flex in following way:
    {server.name}:{server:port} to xyz.com   (xyz.com is the domain name,  and we use default port 80)
    {context-root} to ds-consolo
    For samples application, I changed the parameters in all the configuration files under WEB-INF/flex in following way:
    {server.name}:{server:port} to xyz.com   (xyz.com is the domain name,  and we use default port 80)
    {context-root} to samples
    It seems they were all deployed to the Tomcat OK, but when I tried to run the ds-consolo and samples apps, I got
    errors. Did I set the parameters, especially {context-root}, correctly? Am I missing anything?

    I Installed and ran the blazeds-turnkey-3.2.0-3978 distrubution in Tomcat 5.0.27 with JVM 1.5.0_22 in Window Vista successfully.
    Blazeds, ds-consolo, and samples applications are working fine. I'm not using the Tomcat with Flex Builder. The ds-consolo and samples are
    accessed through http://localhost:8080/ds-consolo and http://localhost:8080/samples. I did not change any of the configuration files
    (service-config.xml, ...) in the distribution package.
    Now I try to Install and run the same blazeds-turnkey-3.2.0-3978 distrubution in the same  Tomcat 5.0.27 with JVM 1.5.0_22 in a remote Linux server.
    I changed the configuration files as following:
    For blazeds application, I changed the parameters in all the configuration files under WEB-INF/flex in following way:
    {server.name}:{server:port} to xyz.com   (xyz.com is the domain name, and we use default port 80)
    {context-root} to blazeds
    For ds-consolo application, I changed the parameters in all the configuration files under WEB-INF/flex in following way:
    {server.name}:{server:port} to xyz.com   (xyz.com is the domain name,  and we use default port 80)
    {context-root} to ds-consolo
    For samples application, I changed the parameters in all the configuration files under WEB-INF/flex in following way:
    {server.name}:{server:port} to xyz.com   (xyz.com is the domain name,  and we use default port 80)
    {context-root} to samples
    It seems they were all deployed to the Tomcat OK, but when I tried to run the ds-consolo and samples apps, I got
    errors. Did I set the parameters, especially {context-root}, correctly? Am I missing anything?

  • How to compile and run java program at command console

    hi there
    can anyone tell me how to compile and run a java program at command console? I have installed JRE 1.3.1, and also have installed JBuilder 5 if it helps.

    try this
    System.out.println("Enter your Name : ");
    BufferedReader console = new BufferedReader( new InputStreamReader( System.in ) );
    String s = console.readLine();
    System.out.println("Hello : "+ s+" !" );

  • [HELP] When compiling and running, two consoles appear!

    When I compile and run a program, 2 consoles show up.. This wasn't happening before. I'm confused.
    After around 15 seconds, the lower window closes and the program starts.
    Here's a picture:
    http://i.imgur.com/iiqVvEr.png

    Hi Narralol,
    Sorry for late.
    I have never reproduced this. Please try to clean & build a master application that runs and positions your test application.
    I doubt that you may process start cmd window before you run this console app. Please try and to see if it exists.
    Have a nice day!
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Tomcat (newbie to Mac) how to install and run?

    Hi,
    I wonder if anyone knows any good tutorial of how to install tomcat on MAC?
    Also, I'm not really sure what type of tomcat I should use for mac (Tomcat specifically and explicitly offer the window’s package) any DIRECT url will be GREAT...I'm looking for the 4.x version.
    I used this tutorial:
    http://developer.apple.com/internet/java/tomcat1.html
    but for some reason when I used the: ~/bin/start_tomcat nothing happened.
    Thanks for any help guys,
    AH
    (tiger)

    And look for the Mail link at the top of the page.
    http://mail.mac.com or http://webmail.mac.com will also take you there directly.
    Hope this helps! bill
    1 GHz Powerbook G4   Mac OS X (10.4.8)  

  • How to hide the Print and Export button in analytics report or tasks pane

    Hi Experts,
    In BIEE 11g,
    How to hide the Print and Export button in analytics report or tasks pane ?
    For example:
    In console,I have created one userA which is belong to BIConsumer GROUP , when I make use of the highest user 'weblogic' to create one simple report, then the userA will login the analytivs to view this report (not dashboard), it will show the print and export as below.So customers do not want to give him the privilege for printing and exporting.
    In addtion, go to catalog->tasks(left corner), it will also show the print and export button. So how to hide or not access these button?
    Note: Maybe it can use the policy for consumer role for implementing this requirement, but I do not know how to modify the policy. Are you facing the problem? Thanks.

    Hi,
    1. Create seperate folder for Reports & Dashobard.
    2. For BI_Consumer (userA) set the catalog permission to view Dashboard Folder only and remove permission on the Report Folder (you can give traverse permission but don't give Open permision).
    3. By this user won't be able to open or run any reports in that folder and the only way he can see the reports is through Dashboard and on dashboard the export and print buttone can be removed very easily.
    Mark helpful if it helps.
    Regards,
    Kashi
    Edited by: K N Yadav on 24 May, 2013 1:51 AM

  • Vnc console not running on Oracle VM 3.1.1

    Dear All,
    I try to lunch ovm console with a new Virtual Machine but not work.
    I installed Oracle VM Manager on Oracle Linux 5.
    - Installed tightvnc package on VM Manager host: tightvnc-java-1.3.9-4.noarch.rpm
    - Window 7 as computer client using Java 1.6 with browser version 16.0.2
    Window guest (2008R2) is shown status running fine but the its Lunch Console is not running and view.
    Problem: When file "ovm_rasproxy-ws.jnlp" pop-up, I click OK then type password console password, click OK button, vnc not running and disappear forever.
    Please kindly give advice for this.
    Thanks and regards,
    Vandy

    Now I have installed java jdk 1.6u37 and Java Control Panel to see message when pop-ups.
    Now I have 2 virtual machines:
    1. virtual machine created from template that converted from physical machine (window 2008R2)
    2. virtual machine create isofile (Window 2008R2 iso)
    After I edit java setting and now can see all message as below:
    Note: both virtual machines have 2 java console pop-up messages
    1. Java Console - Oracle VM Remote Access Service
    2. Java Console - Vnc Viewer
    1. virtual machine created from template that converted from physical machine (window 2008R2)
    + Java Console - Oracle VM Remote Access Service message
    Java Web Start 1.6.0_37
    Using JRE version 1.6.0_37-b06 Java HotSpot(TM) Client VM
    User home directory = C:\Users\Heng
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    0-5: set trace level to <n>
    Exception in thread "HandshakeCompletedNotify-Thread" java.util.ConcurrentModificationException
    at java.util.HashMap$HashIterator.nextEntry(Unknown Source)
    at java.util.HashMap$EntryIterator.next(Unknown Source)
    at java.util.HashMap$EntryIterator.next(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl$NotifyHandshakeThread.run(Unknown Source)
    Nov 12, 2012 5:10:08 PM com.oracle.ovm.ras.proxy.RasProxyApplet main
    INFO: Server : 192.168.0.101
    Nov 12, 2012 5:10:08 PM com.oracle.ovm.ras.proxy.RasProxyApplet main
    INFO: service id : 003600010004fb0000060000e8bc028487c2f2ab
    Nov 12, 2012 5:10:08 PM com.oracle.ovm.ras.proxy.RasProxyApplet main
    INFO: SessionID : f5739ba9-3cdd-4c75-b4a1-bb0177f30d34
    Nov 12, 2012 5:10:12 PM com.oracle.ovm.ras.proxy.RasProxyApplet startListening
    INFO: RAS proxy listening on /127.0.0.1:52794
    Nov 12, 2012 5:10:12 PM com.oracle.ovm.ras.proxy.RasProxyApplet main
    INFO: ServiceType : VNC
    Nov 12, 2012 5:10:12 PM com.oracle.ovm.ras.proxy.external.ViewerLauncherFactory getViewerLauncher
    INFO: Os is : windows 7
    Nov 12, 2012 5:10:16 PM com.oracle.ovm.ras.proxy.ProxyThread setupSSL
    INFO: DONE SSL Handshaking
    + Java Console - Vnc Viewer
    Java Web Start 1.6.0_37
    Using JRE version 1.6.0_37-b06 Java HotSpot(TM) Client VM
    User home directory = C:\Users\Heng
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    0-5: set trace level to <n>
    Initializing...
    Connecting to 127.0.0.1, port 52794...
    Connected to server
    RFB server supports protocol version 3.8
    Using RFB protocol version 3.8
    Performing standard VNC authentication
    Now VNC Authentication page pop-up to type console password, after I type console and click OK button, the Java Console - Vnc Viewer disappear forever and see Oracle Ovm Ras Proxy pop-up appears but vnc console not view OS of virtual machine. Especially, the Java Console - Oracle VM Remote Access Service message change message as below:
    Java Web Start 1.6.0_37
    Using JRE version 1.6.0_37-b06 Java HotSpot(TM) Client VM
    User home directory = C:\Users\Heng
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    0-5: set trace level to <n>
    Exception in thread "HandshakeCompletedNotify-Thread" java.util.ConcurrentModificationException
    at java.util.HashMap$HashIterator.nextEntry(Unknown Source)
    at java.util.HashMap$EntryIterator.next(Unknown Source)
    at java.util.HashMap$EntryIterator.next(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl$NotifyHandshakeThread.run(Unknown Source)
    Nov 12, 2012 5:10:08 PM com.oracle.ovm.ras.proxy.RasProxyApplet main
    INFO: Server : 192.168.0.101
    Nov 12, 2012 5:10:08 PM com.oracle.ovm.ras.proxy.RasProxyApplet main
    INFO: service id : 003600010004fb0000060000e8bc028487c2f2ab
    Nov 12, 2012 5:10:08 PM com.oracle.ovm.ras.proxy.RasProxyApplet main
    INFO: SessionID : f5739ba9-3cdd-4c75-b4a1-bb0177f30d34
    Nov 12, 2012 5:10:12 PM com.oracle.ovm.ras.proxy.RasProxyApplet startListening
    INFO: RAS proxy listening on /127.0.0.1:52794
    Nov 12, 2012 5:10:12 PM com.oracle.ovm.ras.proxy.RasProxyApplet main
    INFO: ServiceType : VNC
    Nov 12, 2012 5:10:12 PM com.oracle.ovm.ras.proxy.external.ViewerLauncherFactory getViewerLauncher
    INFO: Os is : windows 7
    Nov 12, 2012 5:10:16 PM com.oracle.ovm.ras.proxy.ProxyThread setupSSL
    INFO: DONE SSL Handshaking
    Nov 12, 2012 5:16:01 PM com.oracle.ovm.ras.proxy.ChannelThread run
    INFO: Server closed connection
    Nov 12, 2012 5:16:01 PM com.oracle.ovm.ras.proxy.RasProxyApplet main
    INFO: Vncviewer stopped, closing proxy
    2. virtual machine create isofile (Window 2008R2 iso)
    1. Java Console - Oracle VM Remote Access Service
    Java Web Start 1.6.0_37
    Using JRE version 1.6.0_37-b06 Java HotSpot(TM) Client VM
    User home directory = C:\Users\Heng
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    0-5: set trace level to <n>
    Exception in thread "HandshakeCompletedNotify-Thread" java.util.ConcurrentModificationException
    at java.util.HashMap$HashIterator.nextEntry(Unknown Source)
    at java.util.HashMap$EntryIterator.next(Unknown Source)
    at java.util.HashMap$EntryIterator.next(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl$NotifyHandshakeThread.run(Unknown Source)
    Nov 12, 2012 5:23:47 PM com.oracle.ovm.ras.proxy.RasProxyApplet main
    INFO: Server : 192.168.0.101
    Nov 12, 2012 5:23:47 PM com.oracle.ovm.ras.proxy.RasProxyApplet main
    INFO: service id : 003600010004fb0000060000811dce8e630704d1
    Nov 12, 2012 5:23:47 PM com.oracle.ovm.ras.proxy.RasProxyApplet main
    INFO: SessionID : 84282504-8234-46f7-8b2f-4f7e5e9209e2
    Nov 12, 2012 5:23:52 PM com.oracle.ovm.ras.proxy.RasProxyApplet startListening
    INFO: RAS proxy listening on /127.0.0.1:52838
    Nov 12, 2012 5:23:52 PM com.oracle.ovm.ras.proxy.RasProxyApplet main
    INFO: ServiceType : VNC
    Nov 12, 2012 5:23:52 PM com.oracle.ovm.ras.proxy.external.ViewerLauncherFactory getViewerLauncher
    INFO: Os is : windows 7
    Nov 12, 2012 5:23:56 PM com.oracle.ovm.ras.proxy.ProxyThread setupSSL
    INFO: DONE SSL Handshaking
    2. Java Console - Vnc Viewer
    Java Web Start 1.6.0_37
    Using JRE version 1.6.0_37-b06 Java HotSpot(TM) Client VM
    User home directory = C:\Users\Heng
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    0-5: set trace level to <n>
    Initializing...
    Connecting to 127.0.0.1, port 52838...
    Connected to server
    RFB server supports protocol version 3.8
    Using RFB protocol version 3.8
    No authentication needed
    No authentication: success
    Desktop name is MS2008R2(iso)
    Desktop size is 800 x 600
    Using Tight/ZRLE encodings
    Throughput 17980 kbit/s - changing to Hextile encoding
    The Oracle Ovm Ras Proxy pop-up appears and vnc console view OS of virtual machine.
    Please kindly give advice for this.
    Thanks and regards,
    Vandy

  • How to setup and run JSP project in BEA Weblogic

    i am trying to run my JSP project located in c:\project. i am actually running it in Tomcat webserver, this time i wanna test it in bea weblogic server, i have downloaded a version 8.1, before purchasing the software for development use, i wanna know and test first BEA's integrity and use... my question is how can i set up the base document path that i have in tomcat in bea, so i can just point it to such directory and run it directly using port 7001 for bea weblogic server..
    can anybody help me get tru it step-by-step??
    help please...

    Jason Combras napisa?(a):
    how can i set up the base document path that i have in tomcat in bea, so i can just point it to such directory and run it directly using port 7001 for bea weblogic server..
    can anybody help me get tru it step-by-step??
    help please...Jason,
    Simplest way "in my opinion":
    1. start weblogic Server. You can use Server with examples. This domain
    is already configured, so You will not need any domain configuration tasks.
    2. open weblogic administration console using browser
    http://localhost:7001/console/. Log in.
    3. On the left side choose Deployments -> Web Application Modules
    4. Click "Deploy a new Web Application Module"
    5. Find folder with Your application. Mark it and click Target Module.
    6. Define Application name and click Deploy
    7. If deployed successfully, Your application should be accessible at
    http://localhost:7001/YourApplicationContextRoot
    Best Regards,
    KArol Muszynski

  • Want to hide Java Console Window when launching apps on Solaris 9.

    Hi,
    I am working in a Solaris environment with Solaris 9.
    When I launch any of my applications, the java console window appears.
    I want to hide this window.
    The java version that I am using is JDK 1.3.1_01.
    I found this link that shows you how to configure your java settings to hide the console window.
    http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/properties.html
    1. I placed the deployment.config file in the appropriate directory:
         ${deployment.java.home}/lib/deployment.config     (${deployment.java.home} is the location of the jre from which the deployment products are run.
         Deployment products include Java Web Start, Java Plug-in, Java Control Panel...)
         In this file I have the following:
         deployment.system.config=/.java/.deployment/deployment.properties     
         deployment.system.config.mandatory=false
         deployment.console.startup.mode=HIDE 2. The /.java/.deployment/deployment.properties file is not created by default.
    So I created it but still the java console window appeared.
    The above configuration is the system level settings taken from the webpage I specified above.
    I have also tried the user level settings but to no avail.
    Any ideas what I may be doing wrong?
    Rgds,
    Adrian.

    Hi all,
    Thanks Jacky, the Control Panel is the best way to �hide� the console window.
    I have achieved this when using java 1.4.2.
    But when using java 1.3.1_09, the control panel does not give me the option to "Hide console" or "Do not start console� as is the case when using java 1.4.2.
    What it goes give is �Show Java Console� checkbox which I have unchecked and minimises the console on the desktop as a result.
    Perhaps the functionality to hide (ie: not display) the console window is not available in the java 1.3.1_09 version?

  • FDS, Tomcat, JOTM and Beta3

    I have a Flex app that uses JMS deployed on Tomcat.
    This app worked under Beta2. I upgraded to Beta3, and
    installed JOTM on Tomcat.
    I can't figure out how to configure the app correctly. Based
    on the log (debug level),
    it doesn't even seem to be attempting to connect to my JMS.
    Originally, I had the following in my
    app/WEB-INF/flex/flex-message-service.xml:
    <destination id="chat-topic-jms">
    <properties>
    <server>
    <durable>false</durable>
    <durable-store-manager>flex.messaging.durability.FileStoreManager</durable-store-manager>
    </server>
    <jms>
    <destination-type>Topic</destination-type>
    <message-type>javax.jms.TextMessage</message-type>
    <connection-factory>MessagingTopic</connection-factory>
    <destination-jndi-name>GlobalEvents</destination-jndi-name>
    <durable-consumers>false</durable-consumers>
    <delivery-mode>NON_PERSISTENT</delivery-mode>
    <message-priority>DEFAULT_PRIORITY</message-priority>
    <acknowledge-mode>AUTO_ACKNOWLEDGE</acknowledge-mode>
    <transacted-sessions>false</transacted-sessions>
    <initial-context-environment>
    <property>
    <name>java.naming.factory.initial</name>
    <value>com.sonicsw.jndi.mfcontext.MFContextFactory</value>
    </property>
    <property>
    <name>com.sonicsw.jndi.mfcontext.domain</name>
    <value>Domain1</value>
    </property>
    <property>
    <name>java.naming.provider.url</name>
    <value>tcp://jmsserver:2506</value>
    </property>
    <property>
    <name>java.naming.security.principle</name>
    <value>jms_user</value>
    </property>
    <property>
    <name>java.naming.security.credentials</name>
    <value>jms_pass</value>
    </property>
    </initial-context-environment>
    </jms>
    </properties>
    <channels>
    <channel ref="my-rtmp"/>
    </channels>
    <adapter ref="jms"/>
    </destination>
    As near as I can figure, I need to modify
    $TOMCAT_HOME/conf/Catalina/localhost/app.xml
    to this:
    <?xml version="1.0" encoding="utf-8" ?>
    <Context displayName="Flex Enterprise Services"
    path="/app"
    docBase="<tomcathome>/webapps/app"
    workDir="work/Catalina/localhost/app">
    <!-- Description of the resource "UserTransaction" -->
    <Resource name="UserTransaction"
    auth="Container"
    type="javax.transaction.UserTransaction" />
    <ResourceParams name="UserTransaction">
    <parameter>
    <name>factory</name>
    <value>org.objectweb.jotm.UserTransactionFactory</value>
    </parameter>
    <parameter>
    <name>jotm.timeout</name>
    <value>60</value>
    </parameter>
    </ResourceParams>
    <Resource name="GlobalEvents"
    auth="Container"
    type="javax.jms.TextMessage"
    factory="TopicConnectionFactory"
    physicalName="chat-topic-jms" />
    </Context>
    As near as I can tell, the app isn't even trying to connect
    to the JMS.
    Can anyone provide a clue to what I've missed?
    Thanks,
    -kevin

    In flex-enterprise-services.xml, enable logging and the debug
    level and check your server console for errors.
    Another thing that might be helpful is ensure that you can
    reach the destinations via jndi.
    You can do this by using a jsp page. If the page runs without
    stack traces, then you know that your jndi and jms factory and
    destination are configured correctly. Be sure to update
    flex-message-service.xml with those jndi names.
    jndiTest.jsp
    <%@ page import="javax.naming.*,javax.util.*" %>
    <%
    Properties p = new Properties();
    // as configured in your destination's
    initial-context-environment in flex-message-service.xml
    p.setProperty("java.naming.factory.initial","com.sonicsw.jndi.mfcontext.MFContextFactory" );
    p.setProperty("com.sonicsw.jndi.mfcontext.domain","Domain1");
    p.setProperty("java.naming.provider.url","tcp://jmsserver:2506");
    p.setProperty("java.naming.security.principle","jms_user");
    p.setProperty("java.naming.security.credentials","jms_pass");
    Context ctx = new InitialContext(p);
    ctx.lookup("MessagingTopic"); // this maps to
    connection-factory on the destination in flex-message-service.xml
    ctx.lookup("GlobalEvents"); // this maps to
    destination-jndi-name on the destination in
    flex-message-service.xml
    %>
    /* If you get an exception running with the above try,
    generally application servers make resource available to the
    application at java:comp/env/<resource-name>. In the app.xml,
    you've specified GlobalEvents as the resource name. I don't see
    MessageTopic specified in app.xml, which may be an issue. Once you
    have these lookup calls running, you should go back and update
    flex-message-service.xml with these jndi names.
    ctx.lookup("java:comp/env/GlobalEvents");
    ctx.lookup("java:comp/env/MessageTopic");
    */

Maybe you are looking for

  • Mail thread in Apple mail not working after updating to Yosemite

    I just upgraded to Yosemite a couple of days ago and I noticed that my mail threads are not working properly. Instead of having threads categorized by the subject line, I have thousands of emails in just ONE thread that are completely irrelevant to e

  • Invoke a method in one class from a different class

    I am working on a much larger project, but to keep this simple, I wrote out a little test that would convey the over all theory of the program. What I am doing is starting out with a 2 JFrames and a Class. When the program is launched, the first JFra

  • Hi Experts, a questions concerning next page of first page in smartform?

    Hi Experts, I have a smartform layout and it has only first page, can I make the next page empty for the first page? I want to print one page. Kind regards Dawson

  • Headphone jack gone crazy

    All of the sudden the sound coming through the headphone jack is corrupted. If i unplug the headphones, the music sounds perfect (through the built-in speakers). When i plug the headphones again it sounds like if the audio files were corrupted. I alr

  • Setting up personal e-mail on my htc rezound

    i just received my phone today and i am having trouble setting up my personal e-mail account...i have frontier.com <Post moved to the HTC Rezound space for more exposure.> Message was edited by: Verizon Moderator