Is it possible to use JTrees to create a File Manager??

-- I'm wonderin on how can i use JTrees to view my entire system file...
i want to create a FileManager apps wherein you can navigate your file system like navigating a windows explorer....
Thanks

You can in fact I once did it.
All you have to do is to define a root node class which will have all the Directory roots as its childs.
And another node class that represents a file or a folder in the disk.

Similar Messages

  • Possible to use dnscmd to create host in a zone delegation?

    I have been trying to run a dnscmd script to upload a CSV file that will add 600 host records to our DNS.  We decided to delegate our main Forward Zone (company.local) for these specific devices (cameras.company.local). 
    My issue is when trying to add it gives me the DNS_ERROR_ZONE_DOES_NOT_EXIST. 
    Here is the command I am using:
    dnscmd dc1 /recordadd cameras.company.local test a 10.10.10.1
    My basic question is it even possible to use dnscmd to create a host file within a zone delegation?

    try this
    dnscmd dc1 /recordadd company.local test.cameras a 10.10.10.1
    Also, would urge you to move to PowerShell, much intuitive and error handling is awesome there

  • How can I use a manually created help file

    Is it possible to use a manually crated help file *.hlp (microsoft help file) in a oracle forms application.
    I want to open the help file from in my help menu. How can I do that??
    Joury

    Hi,
    Have you tried WIN_API_SHELL.winhelp and WIN_API_SHELL.winhelpex?
    Both are available in D2KWUtil.PLL, usually included in Forms demos.
    Pedro
    null

  • Is it possible in KM to change "create new file" dialog?

    Is it possible in KM to change "create new file" dialog (Folder -> New -> Text File...) on consecution of my own screens(I mean user inputs information, presses next button, then again inputs information and so on)? And if its possible, could you please tell me how to do this. I'm new to KM as well as to SAP EP...

    Hi Aliaksei,
    the PDF referred to mainly explains how to configure commands (within layout sets etc), but as far as I understand your question, you want to develop your own screenflows / command. First, I definitely would disadvise a beginner in the EP/KM area to start with such a task...
    Anyhow, there is a one-step-screenflow-command tutorial on SDN: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/kmc/implementing flexible ui one-step-screenflow.article
    For more steps, you could start decompiling a command class of a command which is more or less similar to your needs (and the underlying classes) to get further insight.
    If you really should get that far and have implemented your own command, you just can switch the implementation class if you want to change the logic for an existing command under System Admin - System Config - KM - CM - UI - Commands - UI Commands - <command in question> Java Class setting.
    Hope it helps
    Detlev

  • Error Using OEM to create export files

    Hi
    I get the following error whenever I try to use OEM to create export files (login to OS as oracle user -> http://localhost:1158/em -> login as SYSTEM -> Maintenance -> Export to Export Files (with oracle user as host credentials)
    >>>
    Validation Error
    Examine and correct the following errors, then retry the operation:
    Error - ERROR: NMO not setuid-root (Unix-only)
    >>>
    From what I've read in this forum and in others is that the problem is often related to the owner/group permissions associated with the bin/nmo and bin/nmb files. However I've tried the posted solutions by changing the owner/permissions as suggested, but this does not help. I get the same error regardless if the files are owned by oracle or by root.
    Here is some more info
    >>>
    [root@rhlinux bin]# id oracle
    uid=501(oracle) gid=502(dba) groups=502(dba)
    [root@rhlinux bin]# ls -ld /app/
    drwxr-xr-x 4 root root 4096 Jul 6 13:36 /app/
    [root@rhlinux bin]# ls -ld /app/oracle/
    drwxrwxr-x 5 oracle dba 4096 Jul 10 10:13 /app/oracle/
    [root@rhlinux bin]# ls -ld /app/oracle/product/
    drwxrwx--- 3 oracle dba 4096 Jul 6 16:04 /app/oracle/product/
    [root@rhlinux bin]# ls -ld /app/oracle/product/v10.2.0/
    drwxr-x--- 58 oracle dba 4096 Jul 11 15:31 /app/oracle/product/v10.2.0/
    [root@rhlinux bin]# ls -ld /app/oracle/product/v10.2.0/bin/
    drwxr-xr-x 2 oracle dba 8192 Jul 20 11:19 /app/oracle/product/v10.2.0/bin/
    [root@rhlinux bin]# ll nm?
    -rwxr-x--- 1 root dba 18462 Jul 6 16:16 nmb
    -rwxr-x--- 1 root dba 19624 Jul 6 16:16 nmo
    >>>
    >>>
    [oracle@rhlinux bin]$ uname -a
    Linux rhlinux 2.6.9-34.0.2.EL #1 Fri Jun 30 10:23:19 EDT 2006 i686 i686 i386 GNU/Linux
    >>>
    >>>
    [oracle@rhlinux bin]$ sqlplus system@dware
    SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jul 20 16:34:16 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    >>>
    >>>
    [oracle@rhlinux bin]$ emctl status agent
    TZ set to Canada/Saskatchewan
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    Agent Version : 10.1.0.4.1
    OMS Version : 10.1.0.4.0
    Protocol Version : 10.1.0.2.0
    Agent Home : /app/oracle/product/v10.2.0/rhlinux.swlocal_DWARE
    Agent binaries : /app/oracle/product/v10.2.0
    Agent Process ID : 32098
    Parent Process ID : 30792
    Agent URL : http://rhlinux.swlocal:3938/emd/main
    Started at : 2006-07-20 12:00:05
    Started by user : oracle
    Last Reload : 2006-07-20 12:00:05
    Last successful upload : 2006-07-20 16:27:29
    Total Megabytes of XML files uploaded so far : 1.54
    Number of XML files pending upload : 0
    Size of XML files pending upload(MB) : 0.00
    Available disk space on upload filesystem : 47.83%
    Agent is Running and Ready
    >>>
    >>>
    [oracle@rhlinux bin]$ emctl status dbconsole
    TZ set to Canada/Saskatchewan
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    http://rhlinux.swlocal:1158/em/console/aboutApplication
    Oracle Enterprise Manager 10g is running.
    Logs are generated in directory /app/oracle/product/v10.2.0/rhlinux.swlocal_DWARE/sysman/log
    >>>
    Any other ideas what might be causing this problem?
    Thanks and take care,
    Shayne

    From what I've read in this forum and in others is
    that the problem is often related to the owner/group
    permissions associated with the bin/nmo and bin/nmb
    files. However I've tried the posted solutions by
    changing the owner/permissions as suggested, but this
    does not help. I get the same error regardless if the
    files are owned by oracle or by root.
    I am not sure which "posted solutions" you had, but this is related to not running root.sh which must be run against the Agent Home.
    1. Stop the Agent (emctl stop agent) while connected to the OS as Oracle user (normally oracle) that installed Grid Control
    2. Connect to the OS as root and run root.sh from Agent ORACLE_HOME (if you do not have root access, your System Admin can do it)
    3. Start the Agent (emctl start agent) while connected to the OS as Oracle user

  • Using MDAB to create Planning file

    Hello,
    I noticed that for some materials, there is no entry in the planning files.
    How can I use MDAB to create planning file entries for specific materials? Can I specify the name of materials?
    Please help me out with this issue.
    Sincerely,
    Ketan

    Hai,
       If u activte planning file entries in back ground ur system take care about creating planning file entries automatically. For those materials which are Having MRP type other than  ND.
       If ur MRP type is ND then there is no Entry in Planning file.
    I hope this may solve UR prob
    KM

  • Managed Property in Refinement - why not use the automatically-created site column managed property

    Hi,
    I read that although SharePoint 2013 automatically creates managed property for site column (OWS_Q_TEXT_COLUMNNAME) - in the refinement i should use a managed property and map to the ows_columnname. why?
    what's the difefrence?
    what is best - to create a new managed property (and set it as refinable) or use the OOB Refinementstring0, Refinementstring1 etc.)?
    keren tsur

    You are probably talking about this blog post.
    http://blogs.technet.com/b/tothesharepoint/archive/2013/11/11/how-to-add-refiners-to-your-search-results-page-for-sharepoint-2013.aspx
    The reason you want to use the ows_columnname crawled property is because it is of the correct data type. The other is always text. If the site column is a date or a decimal then using the OWS_Q_TEXT... crawled property,will cause the refiner not to display
    the appropriate control, for example a slider control for a date type refiner.
    http://sharepointfieldnotes.blogspot.com/2013/05/understanding-and-getting-sharepoint.html
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • Is possible to use one column in Excel file as parameter to retrieve data ?

    I'm newbie to WEB ADI
    is possible to use one column (or worksheet) in Excel file to enter data as parameters and use Web ADI to retrieve data ?
    In example - user paste in one column list of items ID's - then press a button and in another columns get data such as description, primary UOM etc.

    Hi,
    I will say no. Oracle WebADI integrators are not meant for such purpose.
    HTH,
    Nitin jain

  • Possible for using profiler for creating workload for Database Engine Tuning Advisor in case of SSRS reports

    I have SSRS reports with each 5 parameters. Parameter datasets includes statements like WHERE @CategoryKey
    I have 20 tables in SQL Server. We don't have OLAP cube.
    I have created SQL Server Profiler trace. I have clicked all reports during process.
    I have opened Database Engine Tuning Advisor.
     I have selected all tables to Tune.
     Tuning options are Indexes/No Partitioning/Keep all existing PDS
    Result is following:
     14% improvement
     10 recommendations (8 statistic for Calender table and 2 index for Calender)
    Tuning logs:
    S008 exec sp_executesql N'  LongSQLStatment including IN (@CategoryKey) Event does not reference any tables
    S007 Replaced event exec sp_executesql
    My question is that why I did not get any recommendations for other tables that Calender?
    Could it be because of SSRS parameters like @CategoryKey?
    Is it possible at all to use SQL Server profile for creating workload in case of SSRS reports with parameters?
    I have tables and reports like ProductSales, which I suppose should be get indexedbecause of WHERE statements.
     I have where statement like Month and Category and Color.

    Yes it is possible to capture a trace using profiler, but please provide the t-sql behind your dataset before I can answer your question about the DTA recommandations.
    Regards
    Rasmus Glibstrup
    http://blog.sqlguy.dk

  • Using JTree To Create Directory And Subdirectory's within it.

    Hi Everyone,
    Can anyone tell me how do i start working around JTREE's plz.

    http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html
    JTree is just the display. It's java.io.File that will be doing the work when creating a directory and its subdirectories.
    %

  • Xcelsius XML Connection Issue when using a Crystal created XML file

    HI Xcelsius/Crystal Gurus,
    I am running Crystal Reports 2008 version 12.2.9.698 and Xcelsius 2008 5.3.0.0 Build 12,3,0,670,
    I am attempting to create an XML file from a Crystal report which will be consumed by an Xcelsius Dashboard.  Apparently, there is something with the file that Xcelsius does not like.
    I have formatted the report exactly as Xcelsius requires and exporting via text with an xml extension to create an .xml file.  When I add an XML Connection in Xcelsius and add the appropriate names/range, etc...I am able to see the file via the Preview XML button on the Connection, but when I use a component, I am not seeing the data in the component.
    I can 'recreate' the file in NotePad by manually typing in the entries to look exactly like the file created by Crystal and set up a connection in Xcelsius to consume that file and it works beautifully.
    Does anyone have any experience with using Crystal Reports to create an XML file (not using the XML Export, but by exporting as a Text and adding an extension)?
    Is it possible that Crystal is adding hidden characters or something?  I can pull this Crystal created file into an XML editor or MS Word and it is validated as a good XML File.
    Any help is greatly appreciated!

    This article is all about setting up security on the web service. But, I just want to connect to the web service as a client using the proxy and the web service doesn't have any security set on it at this time.
    I am getting a connection timeout, even when I set the syncMaxWaitTime in the domain.xml file on the app server to a higher number (although this doesn't seem to affect the time it takes for the debugger to return).

  • Error while using WLST to create a new managed server

    Hi All,
    I am trying to create a managed server using following code a
    "create_server.py"
    ------------+++++-----------
    from java.util import *
    from javax.management import *
    import javax.management.Attribute
    print 'starting the script .... '
    connect('weblogic1','barbie@135','http://smart:7001')
    edit()
    startEdit()
    print 'CREATE MANAGED SERVER: Test_Server'
    Test_Server1 = cmo.createServer('TestServer1')
    Test_Server1.setListenPort(7002)
    Test_Server1.setAutoRestart(true)
    Test_Server1.setAutoKillIfFailed(true)
    Test_Server1.setRestartMax(2)
    Test_Server1.setRestartDelaySeconds(10)
    Test_Server1.getServerStart().setJavaHome(jvmlocation)
    Test_Server1.getServerStart().setJavaVendor('Oracle')
    Test_Server1.getServerStart().setArguments('-Xms128m -Xmx256m -Xns64m -Xgcprio:pausetime')
    print 'ADD MANAGED SERVERS TO CLUSTER'
    Test_Server1.setCluster(dizzyCluster)
    print 'ADD MANAGED SERVERS TO MACHINE'
    Test_Server1.setMachine(Machine_1)
    save()
    activate(block="true")
    disconnect()
    print 'End of script ...'
    exit()
    -----------------------+++++++++++--------------
    and i am running it through WLST. but i am getting some error as
    CLASSPATH=C:\oracle\MIDDLE~1\patch_wls1035\profiles\default\sys_manifest_classpa
    th\weblogic_patch.jar;C:\oracle\MIDDLE~1\patch_oepe1050\profiles\default\sys_man
    ifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~1\patch_ocp360\profiles\defa
    ult\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~1\JROCKI~1.2-4\li
    b\tools.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\oracle\M
    IDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\oracle\MIDDLE~1\modules\features\w
    eblogic.server.modules_10.3.5.0.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\web
    services.jar;C:\oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\oracle\MID
    DLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;
    PATH=C:\oracle\MIDDLE~1\patch_wls1035\profiles\default\native;C:\oracle\MIDDLE~1
    \patch_oepe1050\profiles\default\native;C:\oracle\MIDDLE~1\patch_ocp360\profiles
    \default\native;C:\oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\oracle\MID
    DLE~1\WLSERV~1.3\server\bin;C:\oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;C:\oracle\
    MIDDLE~1\JROCKI~1.2-4\jre\bin;C:\oracle\MIDDLE~1\JROCKI~1.2-4\bin;C:\oracle\prod
    uct\10.1.0\db_1\bin;C:\oracle\product\10.1.0\db_1\Apache\Perl\5.00503\bin\mswin3
    2-x86;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WI
    NDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\
    Java\jdk1.6.0_05\bin;C:\oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    Your environment has been set.
    CLASSPATH=C:\oracle\MIDDLE~1\patch_wls1035\profiles\default\sys_manifest_classpa
    th\weblogic_patch.jar;C:\oracle\MIDDLE~1\patch_oepe1050\profiles\default\sys_man
    ifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~1\patch_ocp360\profiles\defa
    ult\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~1\JROCKI~1.2-4\li
    b\tools.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\oracle\M
    IDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\oracle\MIDDLE~1\modules\features\w
    eblogic.server.modules_10.3.5.0.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\web
    services.jar;C:\oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\oracle\MID
    DLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;;C:\oracle\MIDDLE~1\utils\config\
    10.3\config-launch.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbynet.j
    ar;C:\oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;C:\oracle\MIDD
    LE~1\WLSERV~1.3\common\derby\lib\derbytools.jar;;
    Initializing WebLogic Scripting Tool (WLST) ...
    Welcome to WebLogic Server Administration Scripting Shell
    Type help() for help on available commands
    wls:/offline> execfile(c:/create_server.py)
    Traceback (innermost last):
    (no code object) at line 0
    File "<console>", line 1
    execfile(c:/create_server.py)
    ^
    SyntaxError: invalid syntax
    wls:/offline> execfile('c:/create_server.py')
    starting the script ....
    Connecting to http://192.168.1.2:7001 with userid weblogic1 ...
    Traceback (innermost last):
    File "<console>", line 1, in ?
    File "c:/create_server.py", line 5, in ?
    File "<iostream>", line 22, in connect
    File "<iostream>", line 646, in raiseWLSTException
    WLSTException: Error occured while performing connect : Error getting the initia
    l context. There is no server running at http://192.168.1.2:7001
    Use dumpStack() to view the full stacktrace
    wls:/offline> execfile('c:/create_server.py')
    starting the script ....
    Connecting to http://192.168.1.2:7001 with userid weblogic1 ...
    Traceback (innermost last):
    File "<console>", line 1, in ?
    File "c:/create_server.py", line 5, in ?
    File "<iostream>", line 22, in connect
    File "<iostream>", line 646, in raiseWLSTException
    WLSTException: Error occured while performing connect : Error getting the initia
    l context. There is no server running at http://192.168.1.2:7001
    Use dumpStack() to view the full stacktrace
    wls:/offline> execfile('c:/create_server.py')
    starting the script ....
    Connecting to http://smart:7001 with userid weblogic1 ...
    Traceback (innermost last):
    File "<console>", line 1, in ?
    File "c:/create_server.py", line 5, in ?
    File "<iostream>", line 22, in connect
    File "<iostream>", line 646, in raiseWLSTException
    WLSTException: Error occured while performing connect : Error getting the initia
    l context. There is no server running at http://smart:7001
    Use dumpStack() to view the full stacktrace
    wls:/offline> dumpStack()
    This Exception occurred at Fri Sep 16 19:51:07 IST 2011.
    javax.naming.CommunicationException [Root exception is java.net.ConnectException
    : http://smart:7001: Destination unreachable; nested exception is:
            java.net.ProtocolException: Tunneling result unspecified - is the HTTP s
    erver at host: 'smart' and port: '7001' a WebLogic Server?; No available router
    to destination]
    at weblogic.jndi.internal.ExceptionTranslator.toNamingException(Exceptio
    nTranslator.java:40)
    at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLIni
    tialContextFactoryDelegate.java:788)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
    tialContextFactoryDelegate.java:366)
    at weblogic.jndi.Environment.getContext(Environment.java:315)
    at weblogic.jndi.Environment.getContext(Environment.java:285)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialCont
    extFactory.java:117)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
    67)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.<init>(InitialContext.java:197)
    at weblogic.management.scripting.WLSTHelper.populateInitialContext(WLSTH
    elper.java:520)
    at weblogic.management.scripting.WLSTHelper.initDeprecatedConnection(WLS
    THelper.java:573)
    at weblogic.management.scripting.WLSTHelper.initConnections(WLSTHelper.j
    ava:313)
    at weblogic.management.scripting.WLSTHelper.connect(WLSTHelper.java:203)
    at weblogic.management.scripting.WLScriptContext.connect(WLScriptContext
    .java:61)
    at weblogic.management.scripting.utils.WLSTUtil.initializeOnlineWLST(WLS
    TUtil.java:147)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.python.core.PyReflectedFunction.__call__(Unknown Source)
    at org.python.core.PyMethod.__call__(Unknown Source)
    at org.python.core.PyObject.__call__(Unknown Source)
    at org.python.core.PyObject.invoke(Unknown Source)
    at org.python.pycode._pyx36.connect$1(<iostream>:16)
    at org.python.pycode._pyx36.call_function(<iostream>)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyFunction.__call__(Unknown Source)
    at org.python.pycode._pyx42.f$0(c:/create_server.py:5)
    at org.python.pycode._pyx42.call_function(c:/create_server.py)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyCode.call(Unknown Source)
    at org.python.core.Py.runCode(Unknown Source)
    at org.python.core.__builtin__.execfile_flags(Unknown Source)
    at org.python.core.__builtin__.execfile(Unknown Source)
    at org.python.core.__builtin__.execfile(Unknown Source)
    at org.python.core.BuiltinFunctions.__call__(Unknown Source)
    at org.python.pycode._pyx41.f$0(<console>:1)
    at org.python.pycode._pyx41.call_function(<console>)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyCode.call(Unknown Source)
    at org.python.core.Py.runCode(Unknown Source)
    at org.python.core.Py.exec(Unknown Source)
    at org.python.util.PythonInterpreter.exec(Unknown Source)
    at org.python.util.InteractiveInterpreter.runcode(Unknown Source)
    at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
    at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
    at weblogic.management.scripting.WLST.main(WLST.java:173)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at weblogic.WLST.main(WLST.java:29)
    Caused by: java.net.ConnectException: http://smart:7001: Destination unreachable
    ; nested exception is:
    java.net.ProtocolException: Tunneling result unspecified - is the HTTP s
    erver at host: 'smart' and port: '7001' a WebLogic Server?; No available router
    to destination
    at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:216)
    at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
    at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextF
    actoryDelegate.java:345)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    146)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
    tialContextFactoryDelegate.java:340)
    ... 52 more
    Caused by: java.rmi.ConnectException: Destination unreachable; nested exception
    is:
    java.net.ProtocolException: Tunneling result unspecified - is the HTTP s
    erver at host: 'smart' and port: '7001' a WebLogic Server?; No available router
    to destination
    at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:470)
    at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:321)
    at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java
    :254)
    at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:197)
    at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238
    at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:200)
    at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
    at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextF
    actoryDelegate.java:345)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    146)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
    tialContextFactoryDelegate.java:340)
    at weblogic.jndi.Environment.getContext(Environment.java:315)
    at weblogic.jndi.Environment.getContext(Environment.java:285)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialCont
    extFactory.java:117)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
    67)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.<init>(InitialContext.java:198)
    at weblogic.management.scripting.WLSTHelper.populateInitialContext(WLSTH
    elper.java:520)
    at weblogic.management.scripting.WLSTHelper.initDeprecatedConnection(WLS
    THelper.java:573)
    at weblogic.management.scripting.WLSTHelper.initConnections(WLSTHelper.j
    ava:315)
    at weblogic.management.scripting.WLSTHelper.connect(WLSTHelper.java:203)
    at weblogic.management.scripting.WLScriptContext.connect(WLScriptContext
    .java:62)
    at weblogic.management.scripting.utils.WLSTUtil.initializeOnlineWLST(WLS
    TUtil.java:148)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.python.core.PyReflectedFunction.__call__(Unknown Source)
    at org.python.core.PyMethod.__call__(Unknown Source)
    at org.python.core.PyObject.__call__(Unknown Source)
    at org.python.core.PyObject.invoke(Unknown Source)
    at org.python.pycode._pyx36.connect$1(<iostream>:16)
    at org.python.pycode._pyx36.call_function(<iostream>)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyFunction.__call__(Unknown Source)
    at org.python.pycode._pyx42.f$0(c:/create_server.py:7)
    ... 24 more
    javax.naming.CommunicationException [Root exception is java.net.ConnectException
    : http://smart:7001: Destination unreachable; nested exception is:
            java.net.ProtocolException: Tunneling result unspecified - is the HTTP s
    erver at host: 'smart' and port: '7001' a WebLogic Server?; No available router
    to destination]
    please help me for this..
    Edited by: Sharad Jain on Sep 17, 2011 8:46 AM

    Hi Sharad,
    Put ('') in your command,
    wls:/offline> execfile('c:/create_server.py')
    Regards
    Edited by: scapy on Oct 6, 2011 4:15 PM

  • Using java to create a file?

    hi there
    I just have a question regarding the creation of a file using PrintWriter class.:
    FileOutputStream fileOutputStream = new FileOutputStream(outFileName);
    PrintWriter out = new PrintWriter(new OutputStreamWriter(fileOutputStream, encoding));
    after the file is being created, do I need to set out to null. because I was not able to move or modifiy the file while the program is running.
    thank you for your help.

    to null. because I was not able to move or modifiy the
    file while the program is running.
    thank you for your help.that is because the program locks the file.

  • Mapping to an IDOC using an externally created XSL file

    I want to map a message to an IDoc using an ABAP XSLT transform. I am creating the XSLT in an external tool.
    I need to use an XSD definition of the IDOC as the target document of the mapping. I can get that in two ways:
    1) Get the XSD definition of the IDOC from transaction WE60 and use the menu command 'Documentation -> XML Schema'
    2) In the Integration Repository, export the XSD of the imported IDOC.
    The problem is, there are significant syntax differences between these versions, and I don't know which is the correct version. For instance, the XSD exported from the Integration Repository has a mandatory attribute 'SEGMENT' for each segment that must be filled to create a valid XML message; this is not the case when the XSD definition is created in WE60.
    Can somebody advise which is the correct version to use?

    Hi Anthony,
    This is really strange...
    In both case XSD should be same...can you please tell for which idoc you are generating xsd?
    Eventhough if you generate XML Schema using WE60,  mandatory attribute 'SEGMENT' for each segment has to be there....this validation would be done while posting idoc. It will check for all mandatory fields.
    I have some different thoughts that what wojciech has suggested...
    "If were your shoes I would use xsd from integration repository because that's the expected result...."
    But final goal is not to achieve mapping but posting idoc with proper data in R/3 system successfully.
    Your second question..
    "Do I assume then that placing a constant value of 1 in the SEGMENT attribute is just to satisfy the validation of the XML message against the XSD:..?
    ummm...I think if you assign constant "1" to segment it will generate that segment while creating idoc. Its mandatory to assign constant value to segment which you want to generate...
    "Can I assume that the IDoc adapter will fill the SEGMENT attribute with the correct value?.."
    I dont think so Idoc adapter will fill this attribute automatically...you need to assign constant to field segment.
    Nilesh

  • Using Pages to create epub file??

    Why when I export from pages to an epub file does it change the layout (i.e. moves part of page 2 to page 3 and then continues on like that?)
    I'm trying to publish a book of poetry on ibooks but it keeps messing with the format?

    Howdy trentharris,
    Documents created in Pages and exported as ePub may look different when displayed. The following article explains this and gives some tips for best practices to reduce the differences -
    Pages '09: Creating an ePub Document to Read in iBooks
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

Maybe you are looking for

  • PO creation from Excel file

    Hi, is it possible to create a PO up-loading an Excel file (in the file I have material code, description, quantity, price, etc...). Thanks Fabio

  • Why can't I use the Feedback Button in 4.0 Beta 1 (it says I need to update)?

    I'm trying to use Firefox 4.0 Beta 1 and wanted to send Feedback. When I click on Feedback it brings up the following text: "Oh! So, you want to offer us feedback on the next version of Firefox. Thank you, but you'll need to be a part of our Beta Pro

  • F4 Help on Date Field after ALV is generated

    Hi all, Now this might sound very simple question, but Im having some difficulty in this. My idea is to have an F4 on a date field after the ALV Grid report is executed. From the forum search, Ive got such answers as l_fieldcat-edit         = 'X'. l_

  • MY MINI NEED HELP!!

    my ipod was dropped in a puddle, and now it will not work. when i go to charge it, the backlight only appears, then when i take it off the charger, the backlight goes off i can't turn it on. i have the 2 year protection plan for it, but i don't know

  • Hello... I can't convert an ebook in pdf using Adobe Digital Editions... the PDF files I get are not be read...

    Hello I am a Mac User I follow the procedures to convert an ebook into a pdf... (document ==> digital documents...) but, the pdf I find there are not redable.... this drives me nuts !   ;-) As I click on the pdf file, it leads me to an adobe website.