Using X11 to ssh -X to UNIX machines

One of our customers is getting very inconsistent behaviour
using Apple's X11 to "ssh -X" to our UNIX boxes.
Sometimes the X application on the UNIX box just doesn't open
windows, sometimes it gives an error, and sometimes it
works. Any ideas on how to diagnose such an irreproducible problem?

First thing, try ssh -Y

Similar Messages

  • Using shell scripts on Unix machine within Servlet or JSP

    Hi,
    I have to write a web application that lists all print jobs on a Unix machine and allows them to be deleted.
    There will be two shell scripts on the Unix machine: list_printjobs and delete_printjobs which recieve parameters and return exit values if suceeded or not.
    My question now is, how can I use those shell scripts on the Unix machine from within a Servlet or JSP?
    Thanks,
    Frank

    In order to run any shell command you need to look at the Runtime.exec() method.
    Check out [this article|http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html]

  • CONNECT UNIX MACHINE FROM WINDOWS USING C#

    Hi all i have a requirement to connect unix machine from windows using c# code . I have the IP Address of the unix machine and the path too.I have to make a FTP using the c# code from unix to windows and vice versa . Can anybody help me out on this . It
    would be great if have a solution for this .

    Hi
    Balamurali_Mohan,
    Please refer to the similar thread
    How to connect to unix server using c#
    The marked answer said: Use a SSH (secure shell) client wrapper for .NET to connect to the remote UNIX machine and execute commands to run your script.
    Have a look at:
    http://www.codeproject.com/KB/IP/sharpssh.aspx
    Best regards,
    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.

  • I want to be able to run firefox on one Mac with its window displayed on another (using X11?), can I do this?

    I have an Apple Mac (running MacOS 10.6.8) at a remote location. I want to be able to run Firefox on this machine but with the Firefox display window redirected to my local Mac. I used to be able to do this with UNIX (e.g. LINUX etc.) systems running X11 by setting the DISPLAY variable on the remote host. Is it possible to do this using the X11 on the Mac? and, if so, do I need to rebuild Firefox to display using X11? At the moment, whatever I try, Firefox just starts its window on the system on which it is started.

    Dear finitarry,
    The X windows system was developed in the 1980s at MIT (I seem to remember that it was called X because it was based on a window system developed for use on Xerox graphics terminals). X11 is used by Unix based devices to control their windows, so is used by Linux (a free version of Unix), but is not part of it. Perhaps it would be more appropriate to post this query on a MacOS forum.
    Cheers
    Phil

  • Installer not using X11

    Just in case anyone is going to try to install 10g on macos remote: The installer is not using X11 as is normal on other unixes. This really is a pain in the ass since now we can't use normal ssh connections but have to go by vpn and tools like timbuktu.
    According to oracle support Apple can't use X11 so they made a customized installer. I can hardly believe that.
    Who ran the installer over ssh (with x11 tunneling) ? if so, how ?
    best regards and a happy new year,
    Ronald
    http://homepage.mac.com/ik_zelf/oracle

    Here is an article on Apple batteries for notebooks.  It only states special care is necessary for long term non use, which they define as 6 months or longer.  http://www.apple.com/batteries/notebooks.html

  • How To Install Platform for Multiple Developers on Single UNIX Machine?

    Hello,
         What is the best way to install the WL 8.1 Platform for multiple
    developers on a single UNIX machine? These developers may start
    concurrent instances.
         The problems I see are that the log files generated by Workshop would
    be shared among concurrent users, permissions would need to be set so
    that the user that is running the instance that creates the log files
    will need to create the file with permissions that everyone can use. Are
    there any other issues to doing this?
         I could not find the information on this in the documentation.
    Thanks

    I was referring in particular to the logs that are created by Workshop
    itself (in the workshop directory). It creates workshop.log and netui.log.
    Raj Alagumalai wrote:
    Steven,
    which workshop log file are you referring to ?
    the workshop log files are usually saved to the domain directory.
    If the developers are each going to start their own server instances then
    there should be no issues.
    The best option for you is to create multiple domains for each developer.
    They will share the same workshop installation, but they will each have
    their own instances.
    Thanks
    Raj Alagumalai
    WebLogic Workshop Support
    "Steven Ostrowski" <[email protected]> wrote in message
    news:[email protected]..
    Hello,
    What is the best way to install the WL 8.1 Platform for multiple
    developers on a single UNIX machine? These developers may start
    concurrent instances.
    The problems I see are that the log files generated by Workshop would
    be shared among concurrent users, permissions would need to be set so
    that the user that is running the instance that creates the log files
    will need to create the file with permissions that everyone can use. Are
    there any other issues to doing this?
    I could not find the information on this in the documentation.
    Thanks

  • Error while OSB Building on UNIX Machine

    Hi All,
    I am building OSB Projects on OSB Server on UNIX Machine using ant scripts. The script runs properly on Windows. OSB Version being used is 11.1.1.4. I am getting the following error while creating sbconfig.jar:
    !SESSION 2011-09-05 11:26:40.424 -----------------------------------------------
    eclipse.buildId=M20100909-0800
    java.version=1.6.0_23
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
    Framework arguments: -application com.bea.alsb.core.ConfigExport -configProject OSB Configuration -configJar /var/build/osb_deployment/deployment/domains/osb/cz-osb-build.jar -configSubProjects Project_A,Project_B,Project_C -includeDependencies true
    Command-line arguments: -data /var/build/osb_deployment/temp -application com.bea.alsb.core.ConfigExport -configProject OSB Configuration -configJar /var/build/osb_deployment/deployment/domains/osb/cz-osb-build.jar -configSubProjects Project_A,Project_B,Project_C -includeDependencies true
    !ENTRY org.eclipse.osgi 4 0 2011-09-05 11:26:52.492
    !MESSAGE An error occurred while automatically activating bundle com.bea.alsb.core (768).
    !STACK 0
    org.osgi.framework.BundleException: Exception in com.bea.alsb.core.AlsbCore.start() of bundle com.bea.alsb.core.
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:806)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
         at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
         at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284)
         at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
         at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)
         at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:106)
         at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:453)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
         at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:338)
         at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:232)
         at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1197)
         at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
         at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:904)
         at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
         at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:191)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
         at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
         at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
    Caused by: java.lang.NoClassDefFoundError: weblogic/descriptor/DescriptorManager
         at com.bea.alsb.core.AlsbCore.preStart(Unknown Source)
         at com.bea.alsb.core.AlsbCore.start(Unknown Source)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
         ... 34 more
    Caused by: java.lang.ClassNotFoundException: weblogic.descriptor.DescriptorManager
         at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         ... 39 more
    Root exception:
    java.lang.NoClassDefFoundError: weblogic/descriptor/DescriptorManager
         at com.bea.alsb.core.AlsbCore.preStart(Unknown Source)
         at com.bea.alsb.core.AlsbCore.start(Unknown Source)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
         at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
         at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284)
         at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
         at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)
         at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:106)
         at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:453)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
         at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:338)
         at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:232)
         at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1197)
         at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
         at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:904)
         at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
         at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:191)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
         at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
         at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
    Caused by: java.lang.ClassNotFoundException: weblogic.descriptor.DescriptorManager
         at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         ... 39 more
    !ENTRY org.eclipse.osgi 4 0 2011-09-05 11:26:53.551
    !MESSAGE Application error
    !STACK 1
    org.eclipse.core.runtime.CoreException: Plug-in com.bea.alsb.core was unable to load class com.bea.alsb.core.internal.repositories.ConfigExportApplication.
         at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
         at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:176)
         at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:904)
         at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
         at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:191)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
         at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
         at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
    Caused by: org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException: An error occurred while automatically activating bundle com.bea.alsb.core (768).
         at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:121)
         at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:453)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
         at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:338)
         at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:232)
         at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1197)
         at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
         ... 16 more
    Caused by: org.osgi.framework.BundleException: Exception in com.bea.alsb.core.AlsbCore.start() of bundle com.bea.alsb.core.
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:806)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
         at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
         at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284)
         at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
         at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)
         at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:106)
         ... 28 more
    Caused by: java.lang.NoClassDefFoundError: weblogic/descriptor/DescriptorManager
         at com.bea.alsb.core.AlsbCore.preStart(Unknown Source)
         at com.bea.alsb.core.AlsbCore.start(Unknown Source)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
         ... 34 more
    Caused by: java.lang.ClassNotFoundException: weblogic.descriptor.DescriptorManager
         at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         ... 39 more
    Please help!!
    Thanks in advance!!
    Regards,
    Karthik
    Edited by: Karthik Krishnamurthy on Sep 5, 2011 2:15 AM

    Hi Karthik
    Looking at the exception stack trace, looks like the root cause is this error: It is not able to find the class "weblogic/descriptor/DescriptorManager"
    java.lang.NoClassDefFoundError: weblogic/descriptor/DescriptorManager
    Well you need to set the .JAR that has this class in the classpath before you run your command or script. NOW you have to generate something called wlfullclient.jar.
    If you are using WLS 10.3.x, here is the link on how to generate a client jar file that has almost all the APIs from weblogic.jar and wls-api.jar etc etc. Most of the times, when we want to run WebServices, EJB clients etc as standalone, we need all these classes. So here is the link on how to generate something called "wlfullclient.jar" and put that in classpath or java build path etc.
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/client/jarbuilder.html (To create wlfullclient.jar)
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/client/t3.html
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/client/basics.html#wp1069994
    NOTE: I already generated this wlfullclient.jar and I do see the above missing class in this .jar file. So hopefully this should solve your issue.
    Thanks
    Ravi Jegga

  • 401 Error on Consuming SharePoint Versions Web Service by java client running on Unix Machine

    In my organiszation I have sharepoint site of our project. I have a java client to consume Versions Web Service offered by SharePoint. The response received from web service without any issue when triggered from a client running on windows machine on
    intranet.
    When same java client ran from UNIX server on same intranet, it gives 401 error. Is there some different approach required for authentication while connecting from unix machine?
    Thanks in advance.

    Hello,
    Are you passing credential in code? If not then try to add using networkcredential.
    If you are passing then make sure that current user is having access on SP site and your javaserver is setup for NTLM security. Here is few links for same issue which could help you troubleshoot the issue
    http://stackoverflow.com/questions/8884152/ntlm-fails-when-consuming-sharepoint-web-service-from-java
    http://www.pentalogic.net/sharepoint-products/reminder/reminder-manual?p=troubleshooting%2F401errors%2F401errors.htm
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Issue in workbench integration with Dev studio on unix machine

    Hi,
    I am trying to integrate my workbench on unix machine with dev studio on windows machine. To do so, I did the following:
    1. created a new application in dev studio
    2. In dev studio - Tools - Workbench settings I gave the host and port of my unix workbench. It was able to connect properly.
    3. Then through Tools - Workbench - Set Instance Configuration, I sent these configurations of my application on dev studio to that of workbench(which I had selected earlier in step #2)
    4. Then in my unix machine, I replaced the wine data with my new data feed
    5. Ran initialize services, load baseline update and baseline update scripts.
    5. My baseline update script Failed at Forge with the following error:
    FATAL     03/07/13 12:21:30.718 UTC (1362658890718)     
    +FORGE     {config}: Could not open "/app/ENDECA/endeca/endeca/apps/Test/data/processing/wine_data.txt.gz": No such file or directory     +
    +ERROR     03/07/13 12:21:30.719 UTC (1362658890719)     FORGE     {config}: Forge failed with 1 error and 0 warnings.+     
    I am not able to figure out why it is still looking for wine data. Any suggestions on this are highly welcome!
    Thanks,
    Vineet

    Vineet,
    Using a text editor, search for "wine.data.txt.gz" in your ./Test/config/pipeline/pipeline.epx. If you find it, note the record adapter's name trying to read it and then remove it in DEV Studio and reupload your pipeline project. If you don't find it, check the same file in the ./Test/data/processing/pipeline.epx directory. If you find it there, you may have an issue with your baseline update script as defined in your ./Test/config/script/AppConfig.xml file. Make sure that your Forge.getConfig(); command is successfully copying contents from the ./Test/config/pipeline directory to the ./Test/data/processing directory (you may want to clear out the processing directory before your next run to make sure of it).
    HTH,
    Dan
    http://branchbird.com

  • AnyConnect VPN on Mac - Can't SSH to Virtualbox Virtual Machines

    Hi,
    I'm running AnyConnect version 3.1.05170 on my Mac.  I'm also doing SW Development on multiple Virtual Machines on my Mac via VirtualBox.  When I connect via VPN, I can no longer SSH to my Virtual Machines.  I'm sure there is a rules setting or something that is killing my "Host Only Network" in VirtualBox so I can no longer access them.  The worst part is that even if I Quit the AnyConnect Client, I still can't SSH to my Virtual Machines, so whatever rule is put in place doesn't go away when I disconnect the tunnel.
    Has anyone witnessed this or have a suggestion on how to go about solving it?
    Thanks,
    - Curt

    Hello,
    I just encountered the same problem. To solve it, I checked the box "Allow Local (LAN) access when using VPN (if configured)" in the preferences of AnyConnect.
    It's working fine for me but I am using Parallels and not VirtualBox.
    Regards
    David

  • How to specify a file path in java code to run on Unix machine?

    Hi
    I have a problem when running my project Swing on Unix machine.
    In my code, the user will press a button and then the program will look for the file "ReadMe" in the folder "Documentation" , and reads the content of this file. My code is "Documentation\\ReadMe" and it works well on PC. (The folder "Documentation" is in the same directory with my Java code).
    But when I try on Unix, the program can not read the file. It can only read the file "ReadMe" if I take this file and put it in the same directory with my Java code ( this means not through another folder). So how can we make it read the file in a folder ? It seems that "Documentation\\ReadMe" does not work in Unix, or the symbol "\\" does not work.
    I would be thankful if anybody can help me with this.
    Thank you very much

    You really shouldn't use any path method, as neither are very consistant or platform independent. The JVM provides a way to grab resources from the classpath. These resources can be any data at all, in fact, it's how java itself locates classes. Here's an example how you would do this in a non-static method.
    public URL getReadMe() {
      // In this context the forward slash is universal
      String docDirectory = "Documentation/"
      // We have to use the classloader to grab the resource
      ClassLoader cl = this.getClass().getClassLoader();
      // Next we get the resource 
      URL readMeURL = cl.getResource(docDirectory + "ReadMe");
      return readMeURL;
    }The URL can be used in whatever way you need to get the information out of the resource. If it was an image you might use the "Toolkit" to make an image object out of it. The great thing about this method is it will work even if your loading the program out of a Jar file. The resource paths start at the top of the classpath, just like classes.

  • COPY DATABASE ON THE SAME UNIX MACHINE

    제품 : ORACLE SERVER
    작성날짜 : 1997-10-10
    INTRODUCTION
    The following article deals with creating a copy of a database on the same
    unix machine. A database might need to be copied in order to duplicate the
    production system, for example for testing purposes. It is recommended that
    the reader refer also to the following documentation:
    -Oracle 7 Server Administrators Guide
    Performing full backups: Chapter 18 page 18-7
    OVERVIEW OF PROCEDURE
    Before copying the database to a new location, it is necessary to perform
    a full cold backup of the database, whilst the database is shutdown. This
    will ensure that no data will be lost if the copying of the database is
    unsuccessful.
    WARNING
    Creating a copy of a database involves usage of the CREATE CONTROLFILE command
    (explained below). If this command is not executed correctly it could corrupt
    the production database. If this happens, and if the files in question are
    important, this will mean that the original database will need to be restored
    from a backup.
    Note: If you are using Oracle 7.1.6 on Sun Solaris 2.X there is a serious
    bug with CREATE CONTROLFILE. Call Oracle Worldwide Support asking for
    details of <Bug:274054> before proceeding.
    1. OBTAIN DATABASE INFORMATION FROM CONTROLFILE
    In order to move the database, it is necessary to create a script containing
    information about the files of the database.
    This is done by executing the following commands.
    a. SQLDBA
    b. CONNECT INTERNAL, STARTUP MOUNT
    c. ALTER DATABASE BACKUP CONTROLFILE TO TRACE RESETLOGS;
    This will create a trace file in the trace file directory. The file
    will have the extension .trc, and is located either in the directory
    defined by the initialization parameter 'user_dump_dest', or, if
    this is not defined, in ORACLE_HOME/rdbms/log. The file should be
    copied to a name such as ccf<NEW_SID>.sql, where <NEW_SID> is to be
    the ORACLE_SID of the copied database.
    2. IDENTIFY FILES TO BACKUP/COPY
    a. Identify database and log files
    The CREATE CONTROLFILE command in the file ccf<NEW_SID>.sql can then be
    used to identify the various database files and redo log files that need
    to be backed up. The file names will be in single quotes and separated
    by commas after the words LOGFILE and DATAFILE, e.g:
    CREATE CONTROLFILE REUSE DATABASE "FRITZ" RESETLOGS ARCHIVELOG
    MAXLOGFILES 6
    MAXLOGMEMBERS 2
    MAXDATAFILES 10
    MAXINSTANCES 1
    MAXLOGHISTORY 100
    LOGFILE
    GROUP 1 (
    '/oracle/tberryha/fritz/log_disk1/fritzlog1v713.dbf',
    '/oracle/tberryha/fritz/log_disk2/fritzlog1v713.dbf'
    ) SIZE 50K,
    GROUP 2 (
    '/oracle/tberryha/fritz/log_disk1/fritzlog2v713.dbf',
    '/oracle/tberryha/fritz/log_disk2/fritzlog2v713.dbf'
    ) SIZE 50K
    DATAFILE
    '/oracle/tberryha/fritz/fritz_system/fritz_system01.dbf' SIZE 8M,
    '/oracle/tberryha/fritz/fritz_data/fritz_data01.dbf' SIZE 20M,
    '/oracle/tberryha/fritz/fritz_rollback/fritz_rollback01.dbf' SIZE 20M,
    '/oracle/tberryha/fritz/fritz_temp/fritz_temp01.dbf' SIZE 20M,
    '/oracle/tberryha/fritz/fritz_data/fritz_data02.dbf' SIZE 5M,
    '/oracle/d2/V7141/dbs/x' SIZE 1M
    It is also possible to obtain a listing of the files of the database
    by executing the following sql commands:
    SQLPLUS username/password
    Note: The user must have sufficient privileges to be able to see
    the dba views 'sys.dba_data_files', 'sys.v$logfile' and in addition
    the database must be open.
    SPOOL files.log
    SELECT file_name FROM sys.dba_data_files ORDER BY tablespace_name;
    SELECT member FROM sys.v$logfile
    SPOOL OFF
    Note: This will create a spool file called 'files.log' which
    will record the results of the previous commands.
    b. Identify controlfiles
    This can be done either by referring to the init<SID>.ora
    'control_files' parameter, or from 7.0.16 onwards, the table
    sys.v$controlfile can be used to identify the controlfiles of the
    database via the following statement:
    SPOOL control.log
    SELECT name FROM v$controlfile;
    SPOOL OFF
    This will create a file called control.log in the current directory
    which will contain the names of the controlfiles for the database.
    3. BACKUP EXISTING DATABASE
    Shutdown instance via SQLDBA, SHUTDOWN NORMAL, and then take full cold
    backup of:
    a. All the files identified in step 2 above.
    b. All parameter files.
    Note: the main parameter file will usually be called init<SID>.ora, in
    addition to which there may also be other parameter files. These will
    be identified by 'ifile' (included file) parameters in the init<SID>.ora.
    These additional parameter files are usually called config<SID>.ora.
    4. MAKE A COPY OF THE DATABASE
    Copy all parameter files, controlfiles, and all files noted in step 1 above
    to their new location taking care to preserve ownership and permissions.
    When the database has been copied, it will not be possible to use the same
    SID and therefore the ORACLE_SID environment variable must
    be changed to a new SID, and the copied init<SID>.ora must be
    renamed to init<NEW_SID>.ora, and any parameter files pointed to by an
    'ifile' parameter (e.g. parameter files such as config<SID>.ora) should be
    renamed to incorporate the NEW_SID (i.e. config<NEW_SID>.ora).
    5. SET UP PARAMETER FILES FOR THE COPIED DATABASE
    Edit the value of the control_files parameter in the init<NEW_SID>.ora to be
    the name and location that you want to use for the new control files.
    The controlfiles should be given a different name to distinguish them from
    the old database. In addition, change the DB_NAME parameter in the
    init<NEW_SID>.ora to be an appropriate name for the new database. Any
    'ifile' parameters of the parameter file will need to be edited to point to
    the new name of the include file in the new location.
    6. PREPARE THE 'CREATE CONTROLFILE COMMAND' FOR THE COPIED DATABASE
    In order to establish the new database in the new location, the CREATE
    CONTROLFILE command in the file ccf<NEW_SID>.sql should be executed. The
    following steps illustrate how CREATE CONTROLFILE command is prepared.
    a. The file ccf<NEW_SID>.sql must be edited before use. The CREATE
    CONTROLFILE command will be preceded by a series of comments and a
    STARTUP NOMOUNT command. These need to be stripped out of the file. In
    addition, after the create controlfile command, there will be a number
    of comments and the commands RECOVER DATABASE and ALTER DATABASE OPEN,
    which should also be stripped out, leaving just the create controlfile
    command itself.
    b. The CREATE CONTROLFILE command itself should also be edited. Change
    the CREATE CONTROLFILE command in 'ccf<NEW_SID>.sql' to have the new
    database name, and add the word 'SET', e.g:
    CREATE CONTROLFILE REUSE DATABASE "olddbname" RESETLOGS
    becomes
    CREATE CONTROLFILE REUSE set DATABASE "newdbname" RESETLOGS
    c. The CREATE CONTROLFILE command also specifies the files which make up
    the database, and these must also be changed to name the files of the
    new database in the new location, e.g:
    LOGFILE
    GROUP 1 (
    '/old_path/old_logfile_name1',
    '/old_path/old_logfile_name2'
    ) SIZE 50k
    would become:
    LOGFILE
    GROUP 1 (
    '/new_path/new_logfile_name1',
    '/new_path/new_logfile_name2'
    ) SIZE 50k
    and
    DATAFILE
    '/old_path/old_file_name1' SIZE 5M,
    '/old_path/old_file_name2' SIZE 10M
    would become:
    DATAFILE
    '/new_path/new_file_name1' SIZE 5M,
    '/new_path/new_file_name2' SIZE 10M
    7. EXECUTE THE 'CREATE CONTROLFILE' COMMAND FOR THE COPIED DATABASE
    Having prepared the create controlfile script, it is now necessary to run
    the script from within the new instance. This is done by executing the
    following:
    a. at the operating system prompt, change the value of the environment
    variable ORACLE_SID from OLD_SID to NEW_SID. This can be done by using
    the following unix command from within the C shell:
    %setenv ORACLE_SID NEW_SID
    b. SQLDBA
    c. CONNECT INTERNAL, STARTUP NOMOUNT PFILE=/<full path>/init<NEW_SID>.ora
    d. @ccf<NEW_SID>
    Note: if any files which should be specified in the CREATE CONTROLFILE
    command are omitted, these files cannot be added to the new database
    at a later date. In addition, if any of the files specified in the
    CREATE CONTROLFILE command are NOT changed from their original names,
    then the corresponding files of the original database will become part
    of the copied database, and it will not be possible to restore them to
    the original database. If this happens, and if the files in question
    are important, this will mean that the original database will need to
    be restored from a backup.
    e. ALTER DATABASE OPEN RESETLOGS
    8. MAKE A FULL COLD BACKUP OF THE COPIED DATABASE
    SHUTDOWN and take a full cold backup of the database in the new location.
    The full cold backup can be done as detailed in steps 2 and 3.

    Yes.
    vipul wrote:
    >
    Thanks Peter,
    But in such a case do we need to configure the WSL in the ubb file and set environment
    variables like WSNADDR, WSENVFILE etc .etc. for the WS client.
    Regards
    Vipul.
    Peter Holditch <[email protected]> wrote:
    vipul,
    Yes.
    In fact, you don't even need 2 installs. If you do a server installation
    of
    Tuxedo onto your UNIX machine, and build all the clients with the buildlcient
    -w
    option, then the clients will use /WS libraries, instead of the native
    ones, to
    contact Tuxedo.
    Regards,
    Peter.
    vipul wrote:
    Can I install Tuxedo/T server and Tuxedo/WS on the same UNIX machinein different
    directories
    and make the application behave like a client-server. In such a casecan we make
    the clients act
    like WS clients and not native clients.

  • Wrong output when executed in UNIX machine

    Hi All,
    We have created a java class which takes a file name as command line arguments and trying to test whether that file which has taken from command-line is accessible if it is already in use (like copying from/to other path). For this we are passing filename as argument to FileInputStream Class .
    This java class when executed in windows machine is giving expected output i.e. throwing Exception if the file is already in use. But the same code when ran from UNIX machine, there it is not giving expected result as mentioned above. Can anyone please help us in resolving this problem?
    Thanks in Advance

    Not sure if this has anything to do with it, but did ftp the text file up to the UNIX machine? If you did, were you using ascii mode?
    Windows:
    file in  use.becomes
    file in use.^Min unix when I transfer the file using the binary mode.
    -J

  • Getting the IP Address/host ID of a unix machine

    Hi,
    In my java program I am using this code to get the IP Address of a windows machine.
    InetAddress inetAdd = InetAddress.getLocalHost();
    String host_Name_IP = inetAdd.toString();I want to know if the same thing works in the unix machine also. If no pls tell me how to obtain the same in unix.
    Thanks

    then y is it returning null when I execute it on a
    unix machineWorks on my Linux FC4!

  • How to run forms6i on Unix Machine

    Hi all,
    I have just migrated a form4.5 to form6i. We have character mode application.
    Can anyone give me some idea how to run form6i on unix machine.
    Is it the same way we run form4.5(f45gen xyz.fmb $Path) or bit different
    Thanks
    regds
    Lasily Thomas

    We run some Forms6i character-mode forms on Linux (using "f60run") and just started having some problems after we upgraded our database from 8i to 9i, and especially after applying the latest patch to 9.2.0.4. We get lots of ORA-03113 errors now. We also have problems with at least some calls to server-side (user-written, not built-in) stored functions (not procedures). The Forms compiler crashes on these unless we re-write those function calls to call new wrapper procedures that we wrote (that in turn call the existing functions).

Maybe you are looking for

  • Good Software to Make a Font?

    I did a search here but the most recent thing that comes up is from 2003. Does anyone know of any good software that I can make fonts with? This is my first attempt and I want something free or inexpensive just to see how I like it. Thanks!

  • Windows XP failing to acquire network address whether wired or wireless

    Hi guys, I initially asked this question elsewhere because it was happening in OSX as well, though now that the OSX side of things has been fixed it is purely a Windows XP problem, and is a different problem to the one in Mac OSX. The problem seems s

  • Call & SMS blocker for 5800

    Hello everybody, I need a call & SMS blocker app for my 5800. I have Handy Blacklist but it deactivates itself a few hours later after I activate it. So I need a better one. Thanks.

  • Audio Problem In After effects cs6

    i have a very bad peoblem. i really need help. when i import my clip into after effects there is no audio whatever i do. i have tried ram preview and many other settings. my clip has sound when i play it itn windows media player and quicktime but not

  • I Need Color Calibration Help

    I noticed after i got my new imac intel core 2 duo the way the calibration is set makes the color look much better, does anyone know what the calibration settings are for the imac profile or know of a place i can download the profile ps the new imacs