Remote debugging from Windows to Linux

Is there a full description of every step needed to do remote cross-platform C++ debugging? I'm using the Indigo version of Eclipse CDT on Windows and would like to debug an application on a remote Linux machine.
On Windows, I do not have the ability to install a compiler or cygwin, but I do have plink and ssh on Windows. I am able to access the remote machine via RSE SFTP (a la stackoverflow.com/questions/4216822/work-on-a-remote-project-with-eclipse-via-ssh). I do have VNC but I find that the Eclipse IDE is very unresponsive under that setup, hence the desire to develop and debug from a native Windows app.
This FAQ is the most complete (wiki.eclipse.org/CDT/User/FAQ#How_do_I_debug_a_remote_application.3F), but doesn't discuss how to deal with Windows using backslash paths and having a different filesystem root compared to Linux and its forward slashes.
I am able to get a remote connection by playing around with the suggestions here (www.eclipse.org/forums/index.php?S=5e54b35462bb80f79ebb9fbbaf93a288&t=msg&th=173880), resulting in console output that looks like:
Last login: Fri Apr 6 20:19:09 2012 from foo.bar.com
echo $PWD'>'
/usr/bin/gdbserver :12345 /linux/path/to/my/binary args_to_my_binary;exit
but it fails with "Error while launching command: gdb --version"
The old FAQ is very incomplete and seems out of date: wiki.eclipse.org/TM_and_RSE_FAQ#How_can_I_do_Remote_Debugging_with_CDT.3F
This suggests it's possible but does not have sufficient details on how to set the myriad configuration options in Eclipse: stackoverflow.com/questions/6044138/remote-debugging-in-eclipse-cdt
I suspect many people would benefit if there was a clear set of instructions in one place on how to make this happen.
--Gerald Dalley

OK. I just spent the last two days figuring this out, so here are step-by-step instructions that hopefully will help others (This list is unusually anal by the standards of this group, but really simple concrete instructions would have helped me).
on the target linux box, make sure you have gdbserver. If you don't, get the gdb sources. Note: Making gdb does not build gdbserver. Instead, you have to go into the gdbserver directory and configure/make there.
Run gdb on the linux box. In the startup banner, it will say what its target is. This will be something like x86_64-unknown-linux-gnu or i686-pc-linux-gnu. Remember this for later.
Install MinGW on your Windows box (I had trouble building gdb on cygwin, so I recommend MinGW).
Download expat from http://sourceforge.net/projects/expat/files/expat/2.1.0/.Note: Do not download the Windows expat installer. Download the sources instead.
In the expat directory. "./configure --enable-shared", make, make install.
Download the gdb sources
../gdb-7.4/configure --with-expat --target=x86_64-unknown-linux-gnu --host=i686-pc-mingw32
make, make install
Time to test. On your linux box, create and compile hello.cpp to hello.
On your linux box, gdbserver :4444 hello
Note:If you are on a corporate network, non-standard ports may be blocked. Set up an ssh tunnel if necessary.
Copy hello.cpp and hello to your Windows machine
From the MinGW prompt, run "x86_64-unknown-linux-gnu-gdb ./Hello" Note: Substitute the name of the gdb you built as appropriate based on the target platform you got in step 2.
In gdb, load the executable with "file hello"
target remote localhost:4444 Note: This assumes that you have an ssh tunnel on localhost. Modify appropriately.
Verify that gdb commands like break, cont, and run work here.
Now we want to run it from outside of MinGW. In Control Panel/System/Advanced/Environment Variables add something like E:\MinGW\bin to the path. This is necessary for the loader to find libiconv_2.dll, etc. Now verify that you can do the preceding step from an ordinary Windows command prompt.
Launch Eclipse (finally!). New debug configuration C/C++ attach to process.
In Main, give path to the copy of the Linux executable on the Windows system.
In Debugger tab, set Debugger dropdown to gdbserver. Set "GDB debugger" to something like "E:\MinGW\msys\1.0\local\bin\x86_64-unknown-linux-gnu-gdb.exe" based on where your gdb is. For Connection, choose TCP and fill in the hostname and port number you've been using from gdb in the previous steps.
Make sure gdbserver is running (it often quits when the program ends) and launch the debug configuration
In the gdb console, enter "file hello," "break main," and cont or run (sometimes it wants one. Sometimes the other) and voila, you should be there.
Let me know if this works, and I'll post it somewhere better.
Good luck,
Mike

Similar Messages

  • Remote deploys from Windows to Linux fail with deployment plans on WLS 10.0

    Hi there,
    We're using WLS 10.0.1 running in a RHEL environment (actually CentOS release 4.7 for development), and attempting to perform remote deploys from Windows work stations using the weblogic.Deployer ant task.
    It works fine when not using deployment plans, or when performing a remote deploy from a unix based work station such as a Mac. However, introducing a deployment plan causes a failure only when run from Windows.
    The log trace follows:
    weblogic.Deployer -debug -remote -verbose -upload -noexit -name obpservices -source C:\work\obf\ver4.0\services\target\obpservices.war -targets obEnterpriseServer -adminurl t3://wlsdev:7001 -user weblogic -password ******** -redeploy -plan C:\work\obf\ver4.0\services/src/runtime/deployment-plans/steves-deployment-plan.xml
    weblogic.Deployer invoked with options: -debug -remote -verbose -upload -noexit -name obpservices -source C:\work\obf\ver4.0\services\target\obpservices.war -targets obEnterpriseServer -adminurl t3://wlsdev:7001 -user weblogic -redeploy -plan C:\work\obf\ver4.0\services/src/runtime/deployment-plans/steves-deployment-plan.xml
    [WebLogicDeploymentManagerImpl.<init>():103] : Constructing DeploymentManager for J2EE version V1_4 deployments
    [WebLogicDeploymentManagerImpl.getNewConnection():146] : Connecting to admin server at wlsdev:7001, as user weblogic
    [ServerConnectionImpl.getEnvironment():288] : setting environment
    [ServerConnectionImpl.getEnvironment():291] : getting context using t3://wlsdev:7001
    [ServerConnectionImpl.getMBeanServer():239] : Connecting to MBeanServer at service:jmx:t3://wlsdev:7001/jndi/weblogic.management.mbeanservers.domainruntime
    [ServerConnectionImpl.getMBeanServer():239] : Connecting to MBeanServer at service:jmx:t3://wlsdev:7001/jndi/weblogic.management.mbeanservers.runtime
    [DomainManager.resetDomain():36] : Getting new domain
    [DomainManager.resetDomain():39] : Using pending domain: false
    [MBeanCache.addNotificationListener():96] : Adding notification listener for weblogic.deploy.api.spi.deploy.mbeans.TargetCache@359df4
    [MBeanCache.addNotificationListener():103] : Added notification listener for weblogic.deploy.api.spi.deploy.mbeans.TargetCache@359df4
    [MBeanCache.addNotificationListener():96] : Adding notification listener for weblogic.deploy.api.spi.deploy.mbeans.ModuleCache@375edb
    [MBeanCache.addNotificationListener():103] : Added notification listener for weblogic.deploy.api.spi.deploy.mbeans.ModuleCache@375edb
    [ServerConnectionImpl.initialize():171] : Connected to WLS domain: obportal_domain
    [ServerConnectionImpl.setRemote():482] : Running in remote mode
    [ServerConnectionImpl.init():161] : Initializing ServerConnection : [email protected]9a
    [BasicOperation.dumpTmids():691] : Incoming tmids:
    [BasicOperation.dumpTmids():693] : {Target=obEnterpriseServer, WebLogicTargetType=server, Name=obpservices}, targeted=true
    [RedeployOperation.setupPaths():86] : in place redeploy: false from moduleArchive: C:\work\obf\ver4.0\services\target\obpservices.war
    [RedeployOperation.setupPaths():95] : redeploy src path: C:\work\obf\ver4.0\services\target\obpservices.war
    [BasicOperation.deriveAppName():140] : appname established as: obpservices
    <20/10/2009 10:47:57 AM EST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating redeploy operation for application, obpservices [archive: C:\work\obf\ver4.0\services\target\obpservices.war], to obEnterpriseServer .>
    [ServerConnectionImpl.upload():658] : Uploaded app to /opt/bea/user_projects/domains/obportal_domain/servers/AdminServer/upload/obpservices
    [BasicOperation.dumpTmids():691] : Incoming tmids:
    [BasicOperation.dumpTmids():693] : {Target=obEnterpriseServer, WebLogicTargetType=server, Name=obpservices}, targeted=true
    [BasicOperation.loadGeneralOptions():608] : Delete Files:false
    Timeout :3600000
    Targets:
    obEnterpriseServer
    ModuleTargets={}
    SubModuleTargets={}
    Files:
    null
    Deployment Plan: \opt\bea\user_projects\domains\obportal_domain\servers\AdminServer\upload\obpservices\plan\steves-deplo
    yment-plan.xml
    App root: \opt\bea\user_projects\domains\obportal_domain\servers\AdminServer\upload\obpservices
    App config: \opt\bea\user_projects\domains\obportal_domain\servers\AdminServer\upload\obpservices\plan
    Deployment Options: {isRetireGracefully=true,isGracefulProductionToAdmin=false,isGracefulIgnoreSessions=false,rmiGracePeriod=-1,retireTimeoutSecs=-1,undeployAllVersions=false,archiveVersion=null,planVersion=null,isLibrary=false,libSpecVersion=null,libImplVersion=null,stageMode=null,clusterTimeout=3600000,altDD=null,altWlsDD=null,name=obpservices,securityModel=null,securityValidationEnabled=false,versionIdentifier=null,isTestMode=false,forceUndeployTimeout=0,defaultSubmoduleTargets=true,timeout=0}
    [BasicOperation.execute():425] : Initiating redeploy operation for app, obpservices, on targets:
    [BasicOperation.execute():427] : obEnterpriseServer
    [RedeployOperation.initializeTask():55] : Starting task with path: \opt\bea\user_projects\domains\obportal_domain\servers\AdminServer\upload\obpservices\app\obpservices.war
    java.io.FileNotFoundException: \opt\bea\user_projects\domains\obportal_domain\servers\AdminServer\upload\obpservices\plan\steves-deployment-plan.xml (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at weblogic.deploy.internal.adminserver.operations.AbstractOperation.parsePlan(AbstractOperation.java:1027)
    at weblogic.deploy.internal.adminserver.operations.AbstractOperation.execute(AbstractOperation.java:133)
    at weblogic.management.deploy.internal.DeployerRuntimeImpl$2.run(DeployerRuntimeImpl.java:816)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.management.deploy.internal.DeployerRuntimeImpl.performDeployerActions(DeployerRuntimeImpl.java:810)
    at weblogic.management.deploy.internal.DeployerRuntimeImpl.redeploy(DeployerRuntimeImpl.java:568)
    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:585)
    at weblogic.management.jmx.modelmbean.WLSModelMBean.invoke(WLSModelMBean.java:443)
    at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
    at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
    at weblogic.management.mbeanservers.domainruntime.internal.FederatedMBeanServerInterceptor.invoke(FederatedMBeanServerInterceptor.java:248)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:153)
    at weblogic.management.mbeanservers.internal.SecurityMBeanMgmtOpsInterceptor.invoke(SecurityMBeanMgmtOpsInterceptor.java:63)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:153)
    at weblogic.management.mbeanservers.internal.SecurityInterceptor.invoke(SecurityInterceptor.java:443)
    at weblogic.management.mbeanservers.internal.AuthenticatedSubjectInterceptor$10.run(AuthenticatedSubjectInterceptor.java:377)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.management.mbeanservers.internal.AuthenticatedSubjectInterceptor.invoke(AuthenticatedSubjectInterceptor.java:375)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServer.invoke(WLSMBeanServer.java:310)
    at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1408)
    at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
    at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1245)
    at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1348)
    at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:782)
    at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:475)
    at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:59)
    at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1016)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    [ServerConnectionImpl.close():334] : Closing DM connection
    [ServerConnectionImpl.close():354] : Unregistered all listeners
    [ServerConnectionImpl.closeJMX():374] : Closed JMX connection
    [ServerConnectionImpl.closeJMX():386] : Closed Runtime JMX connection
    [ServerConnectionImpl.closeJMX():398] : Closed Edit JMX connection
    Note the file path that cannot be found: "\opt\bea\user_projects\domains\obportal_domain\servers\AdminServer\upload\obpservices\plan\steves-deployment-plan.xml ".
    Of course this file does actually exist when the correct path separators are used.
    Is this a bug? Is there anything we can do about it? The chances of us upgrading WLS are very remote unfortunately.
    Thanks in advance,
    Steve C

    This is something you should definitely file an Oracle support ticket for. It's entirely possible there's a patch for this.

  • I have a mac mini server which I want to set up for remote access from windows and mac pcs.  How do I do this.  I can access it form my home network OK

    I have a mac mini server which I want to set up for remote access from windows and mac pcs.  How do I do this.  I can access it form my home network OK

    Posted in error.

  • 10gR2 to 11gR2 from Windows to Linux with 6TB Database.

    Hi,
    I need to do migration from 10gR2 to 11.2.0.2.0 and from Windows to Linux for 6TB database Size. As both Endian format same, I did the migration using RMAN Convert database on UAT but for same 10gR2 version.(Both Source on Target Oracle Version was 10.2.01.0). Now I have to migrate from 10gR2 to 11.2.0.2.0. So it's 2 way process.
    is it possible to club these 2 way migration process ???
    Are following steps right or any modification is required ??
    1) Install 11.2.0.2.0 on Linux OS
    2) Open Source Database (Windows) in Read Only. Generate TRANSPORT.SQL, CONVERTSCRIPT.RMAN & Pfile.
    3) Copy Source datafiles in temporary location on Target OS. Also copy above files.
    4) Create dummy controlfile.
    5) Startup nomount with Changed pfile
    6) Mount database with Dummy Controlfile.
    7) Run CONVERTSCRIPT.RMAN to convert actual datafiles from Windows Platform to Linux Platform.
    8) Shutdown the instance and delele Dummy Controlfiles.
    9) Edit TRANSPORT.SQL and do Appropriate Changes like redolog files, datafiles path...
    Now my question is, can I add ?/rdbms/admin/catupgrd.sql in TRANSPORT.SQL script after Startup upgarade command so that Complete Upgradation to 11.2.0.2.0 would be done.
    10) Then run TRANSPORT.SQL on Target System (11.2.0.2.0)
    Tell me if more inputs are required from my side...
    Regards,
    Manish

    This forum deals with migrations from foreign databases to Oracle.
    You might better post your request in this forum:
    General Database Discussions

  • Migration 10g to 11gR2 from Windows to Linux with 6TB DB Size in one step

    Hi,
    I need to do migration from 10gR2 to 11.2.0.2.0 and from Windows to Linux for 6TB database Size. As both Endian format same, I did the migration using RMAN Convert database on UAT but for same 10gR2 version.(Both Source on Target Oracle Version was 10.2.01.0). Now I have to migrate from 10gR2 to 11.2.0.2.0. So it's 2 way process.
    is it possible to club these 2 way migration process ???
    Are following steps right or any modification is required ??
    1) Install 11.2.0.2.0 on Linux OS
    2) Open Source Database (Windows) in Read Only. Generate TRANSPORT.SQL, CONVERTSCRIPT.RMAN & Pfile.
    3) Copy Source datafiles in temporary location on Target OS. Also copy above files.
    4) Create dummy controlfile.
    5) Startup nomount with Changed pfile
    6) Mount database with Dummy Controlfile.
    7) Run CONVERTSCRIPT.RMAN to convert actual datafiles from Windows Platform to Linux Platform.
    8) Shutdown the instance and delele Dummy Controlfiles.
    9) Edit TRANSPORT.SQL and do Appropriate Changes like redolog files, datafiles path...
    Now my question is, can I add ?/rdbms/admin/catupgrd.sql in TRANSPORT.SQL script after Startup upgarade command so that Complete Upgradation to 11.2.0.2.0 would be done.
    10) Then run TRANSPORT.SQL on Target System (11.2.0.2.0)
    Tell me if more inputs are required from my side...
    Regards,
    Manish

    The directory structure is different...that's why you need to create the tablespaces in Linux. e.g. export dump says create tablespace in D:\..., there is no such thing in Linux. You can just export it, install software, create the db, tablespaces in Linux and import into the 10g in Linux.

  • Date Formating Issue (moved from Windows to LINUX)

    Although the move shouldn't have been an issue, moved an OBIEE installation from Windows to LINUX (Windows is still up) and now have date problems with any drill down into the metrics (SC).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46046] Datetime value 01-NOV-2007 does not match the specified format. (HY000)
    SQL Issued: SELECT Dates."Year Number" saw_0, Dates."Month Number" saw_1, "Cycle Counting"."Green Goal" saw_2, "Cycle Counting"."Red Min" saw_3, "Cycle Counting"."Cum Accuracy %" saw_4 FROM "DRS Supply Chain" WHERE Dates."Start Date" IN (SELECT saw_0 FROM (SELECT cast(Dates."Start Date" as timestamp) saw_0 FROM "DRS Supply Chain" WHERE cast(Dates."Start Date" as timestamp) >= VALUEOF("6 Month Ago")) nqw_1 ) ORDER BY saw_0, saw_1
    Any Ideas?
    Thanks
    Scott

    SCOTT, I suggest checking step-by-step.
    a) check the value of the variable
    b) check the value of cast(Dates."Start Date" as timestamp)
    c) Check the results by substituting those 2 with someone else (regular integers)....
    GL

  • Utl_file gives error when coping file from windows to linux

    Red Hat Enterprise Linux Server release 5.7 (Tikanga)
    Oracle 11.1
    Hi there,
    I can't copy a file with utl_file.fcopy after copying file with samba from winodws to linux. Only after I open the file on linux and save it, can I copy it :
    1.) Copy file from windows (drag and drop)
    2.)
    SQL> exec utl_file.fcopy('XXMS_DATA_IMPORTS', 'Project_62.csv','XXMS_DATA_IMPORTS', 'xxms_pa_tasks_master.csv');
    BEGIN utl_file.fcopy('XXMS_DATA_IMPORTS', 'Project_62.csv','XXMS_DATA_IMPORTS', 'xxms_pa_tasks_master.csv'); END;
    ERROR at line 1:
    ORA-29284: file read error
    ORA-06512: at "SYS.UTL_FILE", line 270
    ORA-06512: at "SYS.UTL_FILE", line 1243
    ORA-06512: at line 1
    3.)su to root
    4.)open file and save it with vi, without changing anything
    5.)
    SQL> exec utl_file.fcopy('XXMS_DATA_IMPORTS', 'Project_62.csv','XXMS_DATA_IMPORTS', 'xxms_pa_tasks_master.csv');
    PL/SQL procedure successfully completed.
    How can I copy from windows to linux with samba, so this doesn't happen?
    Please help

    After the file is initially created in Linux:
    What are the owner and group for the directory in which the file resides?
    What are the directory permissions?
    What are the owner and group for the file?
    What are the file permissions?
    What is the OS name of the oracle user?
    After root vi's and resaves the file:
    What are the owner and group for the file?
    What are the file permissions?

  • Migrating Repositroy from Windows to Linux

    Hi,
    How to migrating the repository from windows Server to Linux in OBIEE. Is there any process ?
    Thanks !

    Hi,
    See the below link is helpful for you,
    http://siebel.ittoolbox.com/groups/technical-functional/siebel-analytics-l/migrating-oracle-bi-siebel-rpd-file-from-windows-to-linux-2146407
    Thanks,
    Balaa...

  • Printing after Migration from Windows to Linux

    We have just migrated 11.5.2 from Windows to Linux. I am not sure how to setup printers. In windows we simply had a UNC pointing to our Windows Printer Server and the Printers Queue. This was in the Printer Column and the Type was HPLJ4SI in the Type column under Install > Printer > Register....like this:
    \\MYCOPRT03\PTS2245
    Not sure what to put in linux. Currently we are getting this error:
    Executing request completion options...
    ------------- 1) PRINT   -------------
    Printing output file.
    Request ID : 7457024
    Number of copies : 1
    Printer : \\MYCOPRT03\PTS2245
    /bin/sh: print: command not found
    APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. Program exited with status 127
    Cause: AFPPRN received a return code of failure from the OSD routine FDUPRN. Program exited with status 127.
    Action: Review your concurrent request log file for more detailed information.

    Chris,
    It appears that these links are not savable.You need to refer to the docs in those threads for the steps you have to follow to setup a printer on Linux/Unix.
    How to Setup Printer for Oracle Applications 10.7 - 11.5.x Quick Reference [ID 123140.1]
    How to Test an Initialization String Outside of Oracle Applications [ID 106186.1]
    How to setup Printer Arguments Within Oracle Applications [ID 73804.1]
    Oracle Applications Character Printing [ID 112172.1]
    lp: The printer or class was not found.
    APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. Program exited with status 1As applmgr, source the application env file and issue "which lp" and make sure it is accessible by the OS user. If the command is available, then it is something with your printer definition -- Issue "system-config-printer" from the command prompt to launch the Printer Configuration Tool and configure your printer at the OS level.
    Thanks,
    Hussein

  • Migration from windows to Linux - JAR files not generating under JAVA_TOP

    Hi DBA's
    Jar files not generating under JAVA_TOP after migration from windows to linux.
    I followed workaround but same in result.
    Workaround
    Run this command. It will give the missing file
    adjava -mx512m -nojit oracle.apps.ad.jri.adjcopy -masterArchive $JAVA_TOP -sync -reportfile javatopfiles.lst
    Then run this command
    adjava -mx512m -nojit oracle.apps.ad.jri.adjcopy -masterArchive JAVA_TOP -sync -mode APPLY
    I have checked in google.
    Best Regards,
    Suresh Gelda

    Suresh,
    I can find the following error in the log file:
    JarSigner error output:
    Exception in thread "main" java.lang.NoClassDefFoundError: sun/security/tools/JarSigner
    Caused by: java.lang.ClassNotFoundException: sun.security.tools.JarSigner
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    Could not find the main class: sun.security.tools.JarSigner.  Program will exit.Please review the following notes for suggested solutions:
    Note: 393306.1 - Generate Jar File causes NoClassDefFoundError sun/security/tools/JarSigner
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=393306.1
    Note: 269054.1 - Running adadmin to Force Regenerate of the Java Files Fails
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=269054.1

  • Transfering files from windows to linux

    Hi,
    My requirement is Client will select files from widows and then click zip.In server(linux) i have to get those files and zip.Here i am unable to get the files sent by the client.
    Suppose client will select the file in C:\xxx then click zip.In linux am using request.getParameter() from getting those files.Here in linux it is getting the path of the file as C:\xxx and unable to locate.Giving FIleNotFound Exception.
    How can resolve this issue.
    Regards,
    Babu

    Hi Boss am getting the problem in transfering files from windows to linux.
    In linux it is unable to locate the file which was selected by the client in windows.
    Am using request.getParameter () to get the file.How to solve this.

  • Migrating database from windows to linux using dbca templates

    Hi every one,
    Is it possible to migrate Oracle10g database from Windows to Linux by using DBCA templates?????????????
    If yes please guide me, as i tried it and am getting error while creating database on linux using DBCA templates of Windows server.
    Warm regards,
    Veeresh.S
    (Oracle DBA)

    With DBCA you can create a new database, delete a database, create ASM, and manage templates.
    There's no option of migrating a database from one platform to the other. If you want to migrate your database from Windows to Linux you have 2 ways of doing it:
    1 using IMP/EXP Export you db on windows and Import it on Linux.
    2 Use across platform transportable tablespace if you db is already on 10g.
    Regards,
    Tony

  • Migrate Oracle 11g database from Windows To Linux using RMAN hot / cold  backup ?

    Hi Friends,
    Is it possible to Migrate Oracle 11g database from Windows To Linux using RMAN hot / cold  backup ? ( as i would like to perform Point In Time recovery)
    (or) The only way is to use RMAN convert as mentioned here  - Transporting Data Across Platforms
    (or) Is there any other method (except exp/imp and data pump)
    Regards,
    DB

    HI
    his post describes the procedure required to migrate a database from Windows to Linux using the RMAN Convert Database command.
    Both Windows and Linux platforms have the same endian format, which makes possible to transfer the whole database, making the migration process very straightforward and simple.
    To migrate between platforms that have a different endian format, Cross Platform Transportable Tablespaces (XTTS) needs to be used instead.
    List of Steps Needed to Complete the Migration
    The migration process is simple, but as it has several steps it is convenient to be familiar with them before running it.
    1. Check platform compatibility between source and target OS
    2. Start the database in read only mode
    3. Check database readiness for transport from Windows to Linux using DBMS_TDB.CHECK_DB
    4. Check if there are any external objects
    5. Execute the Rman Convert database command
    6. Copy converted datafiles, generated Transport Script and Parameter File to Linux
    7. Edit the init.ora for the new database
    8. Edit the Transport Script and Parameter File changing the windows paths to Linux Paths
    9. Execute the Transport Script
    10.Change the Database ID
    11.Check database integrity
    Thank you

  • Cannot remote debug from JDev 10.1.3 on AS 10.1.2 running hotspot

    Hi,
    I've set up an embedded OC4J instance in an application server as described in the help topic, "Remote Debugging in OC4J" (with a few changes, such as the fact that I added startup options using the OC4J instance Admin page of EM, rather than at the command line (since the instance is embedded in a full AS). I followed the directions specifically for HotSpot, because that's the JVM the instance was set up to use, and I can't change it (I know OJVM enables lots more features, but that's the situation I'm in).
    I've also configured my project for remote debugging, ensuring the host name and port matches, and trying both "Attach to JDPA" and "Attach to OJVM" (these being the only two options, except for starting a listener, which I don't think will help with a web application).
    When I try to debug, though, I get:
    Debugger unable to connect to remote process.
    Should I be doing something differently?
    Thanks much,
    Avrom

    I had the delete key quit working after accidentally pressing a key sequent that included the delete key. I don't know what keys were involved, but the delete key from that point on did nothing.
    I am running JDeveloper 10.1.3.0.4 on Window XP.
    To resolve the problem, I set the keyboard Accelerators back to 'Default' in JDeveloper.
    I selected... Tools->Preferences->Accelerators
    then click on 'Load preset' then I chose 'Default'
    You may need to select something other than default for your platform, but that did the trick for me.

  • Patch 4775612 issue for Migration of 11.5.10.2 from Windows to Linux

    Hi All
    I am planing to migrate Oracle Application 11.5.10.2 from Windows 2003 to Oracle Enterprise Linux. I have Dual node system. My Application is on APPS NODE and my CONCURRENT MANAGER and DB are on DB node. I applied Patch *4775612* on both the nodes after shutting down the APPLICATIONS services and CONCURRENT MANAGER services on DB node, but failed. The errors are:
    ERROR ON APPS NODE:
    ===================
    Error was found when copying the DLLs from AU_TOP/bin to PROD_TOP/bin
    adrelink is exiting with status 1
    End of adrelink session
    Date/time is Wed Jun 24 15:38:30 AST 2009
    An error occurred while relinking application programs.
    Continue as if it were successful [No] :
    ERROR ON DB NODE:
    =================
    An error occurred while relinking application programs.
    Continue as if it were successful [No] :
    You should check the file
    e:\oracle\prodappl\admin\PROD\log\4775612.log
    please advise
    Regards
    Edited by: user457577 on Jun 24, 2009 4:21 AM

    Hi,
    Thanks for your reply. I followed your instruction and stopped all services on DB node as my CONCURRENT MANAGER is on DB node and applied the patch. I got success, but when i tried to apply the same patch on APPLICATIONS node i got the following error:
    Error executing cp -pf d:/oracle/prodappl/au/11.5.0/bin/ar*.dll d:/oracle/prodappl/ar/11.5.0/bin
    Please make sure file isn't being used.
    Copy DLLs of AS to d:/oracle/prodappl/as/11.5.0/bin
    Copy DLLs of BOM to d:/oracle/prodappl/bom/11.5.0/bin
    Copy DLLs of DT to d:/oracle/prodappl/dt/11.5.0/bin
    Copy DLLs of ENG to d:/oracle/prodappl/eng/11.5.0/bin
    Copy DLLs of FA to d:/oracle/prodappl/fa/11.5.0/bin
    Copy DLLs of FF to d:/oracle/prodappl/ff/11.5.0/bin
    Copy DLLs of FND to d:/oracle/prodappl/fnd/11.5.0/bin
    Copy DLLs of GL to d:/oracle/prodappl/gl/11.5.0/bin
    Copy DLLs of INV to d:/oracle/prodappl/inv/11.5.0/bin
    Copy DLLs of MRP to d:/oracle/prodappl/mrp/11.5.0/bin
    Copy DLLs of GMA to d:/oracle/prodappl/gma/11.5.0/bin
    Copy DLLs of PAY to d:/oracle/prodappl/pay/11.5.0/bin
    Copy DLLs of PO to d:/oracle/prodappl/po/11.5.0/bin
    Copy DLLs of WIP to d:/oracle/prodappl/wip/11.5.0/bin
    Error was found when copying the DLLs from AU_TOP/bin to PROD_TOP/bin
    adrelink is exiting with status 1
    End of adrelink session
    Date/time is Wed Jun 24 19:05:39 AST 2009
    An error occurred while relinking application programs.
    Continue as if it were successful [No] :
    You should check the file
    d:\oracle\prodappl\admin\PROD\log\4775612
    for errors.
    This time i stopped all the services rather disabled them as well and restarted the servers. I also checked adrelink.log and it also displayed the same error message.
    Please advise.
    Regards
    Edited by: user457577 on Jun 24, 2009 6:18 AM

Maybe you are looking for