Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Issue deploying Code (http://www.chiefdelphi.com/forums/showthread.php?t=79428)

rudun 12-22-2009 10:40 AM

Issue deploying Code
 
We have just reimaged our crio to Java and went to deploy the code from netbeans. Have gone through and checked that we did format correctly and all but we are unable to connect to vmware on port 2800 is the error.

Any help would be appreciated.

-KD

David Doerr 12-22-2009 02:13 PM

Re: Issue deploying Code
 
Quote:

Originally Posted by rudun (Post 889840)
Any help would be appreciated.

Could you post your text output either from the cRIO console or from the NetBeans Output window?

DaveD

rudun 12-22-2009 02:56 PM

Re: Issue deploying Code
 
Here is the code from the crio, thanks again

Code:

init:
init:
No to.jar.file specified.
Using "suite\Team1203Robot_1.0.0.jar"
Deleting directory C:\Documents and Settings\robot\My Documents\NetBeansProjects\Team1203Robot\build
Deleting directory C:\Documents and Settings\robot\My Documents\NetBeansProjects\Team1203Robot\suite
Deleting directory C:\Documents and Settings\robot\My Documents\NetBeansProjects\Team1203Robot\j2meclasses
clean:
Created dir: C:\Documents and Settings\robot\My Documents\NetBeansProjects\Team1203Robot\build
Compiling 1 source file to C:\Documents and Settings\robot\My Documents\NetBeansProjects\Team1203Robot\build
compile:
Created dir: C:\Documents and Settings\robot\My Documents\NetBeansProjects\Team1203Robot\j2meclasses
preverify:
Created dir: C:\Documents and Settings\robot\My Documents\NetBeansProjects\Team1203Robot\suite
Building jar: C:\Documents and Settings\robot\My Documents\NetBeansProjects\Team1203Robot\suite\Team1203Robot_1.0.0.jar
jar-app:
Using "suite\Team1203Robot_1.0.0.jar"
CompilerOracle: exclude com/sun/squawk/Method.getParameterTypes
CompilerOracle: exclude com/sun/squawk/SymbolParser.getSignatureTypeAt
CompilerOracle: exclude com/sun/squawk/SymbolParser.stripMethods
[translating suite image [closed: false, parent: squawk] ...]
### Excluding compile: com.sun.squawk.Method::getParameterTypes
### Excluding compile: com.sun.squawk.SymbolParser::getSignatureTypeAt
Romizer processed 56 classes and generated these files:
  C:\Documents and Settings\robot\My Documents\NetBeansProjects\Team1203Robot\image.sym
  C:\Documents and Settings\robot\My Documents\NetBeansProjects\Team1203Robot\image.suite
  C:\Documents and Settings\robot\My Documents\NetBeansProjects\Team1203Robot\image.suite.metadata
  C:\Documents and Settings\robot\My Documents\NetBeansProjects\Team1203Robot\image.suite.api
Expanding: C:\Documents and Settings\robot\My Documents\NetBeansProjects\Team1203Robot\suite\Team1203Robot_1.0.0.jar into C:\Documents and Settings\robot\My Documents\NetBeansProjects\Team1203Robot\suite
Moving 1 file to C:\Documents and Settings\robot\My Documents\NetBeansProjects\Team1203Robot\suite
Moving 1 file to C:\Documents and Settings\robot\My Documents\NetBeansProjects\Team1203Robot\suite
Moving 1 file to C:\Documents and Settings\robot\My Documents\NetBeansProjects\Team1203Robot\suite
Deleting: C:\Documents and Settings\robot\My Documents\NetBeansProjects\Team1203Robot\image.suite.api
Connecting FTP @10.12.3.2
Remote OTA server matches local, no upgrade needed
Remote VM matches local, no upgrade needed
Remote Java suite matches local, no upgrade needed
upgrade:
Sending local file image.suite
Verified
flashapp:
deploy:
debug-run:
do-debug-run:
v6 - Executing Java program by rebooting cRIO
Stopping previously running Java NetConsole read thread
init:
Trying to connect to VM on socket://10.12.3.2:2800
  Stopped
version
[cRIO] VxWorks (for MPC5200 -- Wind River Lite5200 BSP.) version 6.3.
[cRIO] Kernel: WIND version 2.9.
[cRIO] Made on Jul 29 2009, 13:41:47.
[cRIO] Boot line:
[cRIO] tffs=0,0(0,0)host:/c/ni-rt/system/vxWorks f=0x8
[cRIO] value = 59 = 0x3b = ';'
[cRIO] ->
[cRIO] -> * Loading StartupDlls: debug
[cRIO] Entering debug.o StartupLibraryInit
[cRIO] Debugging is up, target server mounted at /tsfs
[cRIO]
[cRIO]
[cRIO]                VxWorks
[cRIO]
[cRIO] Copyright 1984-2006  Wind River Systems, Inc.
[cRIO]
[cRIO]              CPU: MPC5200 -- Wind River Lite5200 BSP.
[cRIO]    Runtime Name: VxWorks
[cRIO]  Runtime Version: 6.3
[cRIO]      BSP version: 2.0/10
[cRIO]          Created: Jul 29 2009, 13:41:47
[cRIO] ED&R Policy Mode: Deployed
[cRIO]    WDB Comm Type: WDB_COMM_END
[cRIO]              WDB: Ready.
[cRIO]
[cRIO] Leaving debug.o StartupLibraryInit
[cRIO] * Loading StartupDlls: NiRioRpc
[cRIO] * Loading StartupDlls: niorbs
[cRIO] * Loading StartupDlls: NiViSrvr
[cRIO] * Loading StartupDlls: nivissvc
[cRIO] task 0xee3a68 (PAL00fb4e08) deleted: errno=0 (0) status=0 (0)
[cRIO] NI-RIO Server 3.2 started successfully.
[cRIO] task 0xc5eeb8 (NiRioRpc) deleted: errno=0 (0) status=0 (0)
[cRIO] * Loading StartupDlls: nivision
Failed to establish connection with VM: Connection timed out: connect - trying again in 5 seconds...
[cRIO] * Loading StartupDlls: niserial
[cRIO] * Loading StartupDlls: FRC_FPGA
[cRIO] * Loading StartupDlls: FRC_NetworkCommunication
[cRIO] FRC_NetworkCommunication was compiled from SVN revision 1940
Trying to connect to VM on socket://10.12.3.2:2800
Failed to establish connection with VM: Connection refused: connect - trying again in 5 seconds...
[cRIO] FPGA Hardware GUID: 0xE0037A37F5C5D7F6A40E3C03D3CE51DD
[cRIO] FPGA Software GUID: 0xE0037A37F5C5D7F6A40E3C03D3CE51DD
[cRIO] FPGA Hardware Version: 2010
[cRIO] FPGA Software Version: 2010
[cRIO] FPGA Hardware Revision: 1.1.0
[cRIO] FPGA Software Revision: 1.1.0
[cRIO] * Loading StartupDlls: FRC_JavaVM
[cRIO]
[cRIO]
[cRIO] [OTA Server] Version: 2010 FRC, Nov 23 2009, 18:28:23
[cRIO]
[cRIO] [OTA Server] Starting...
[cRIO]
[cRIO] [OTA Command Server] In serverSocketListener()
[cRIO]
[cRIO] [OTA Redirector] In serverSocketListener()
[cRIO]
[cRIO] task 0x212ce48 (t2) deleted: errno=0 (0) status=0 (0)
[cRIO]
[cRIO] Welcome to LabVIEW Real-Time 8.6.1
[cRIO]
[cRIO] NI-VISA Server 4.5 started successfully.
[cRIO] task 0xe62088 (t1) deleted: errno=1835009 (0x1c0001) status=1 (0x1)
[cRIO] [OTA Server] Restarting Java VM
[cRIO]
[cRIO] [Squawk VM] Starting up...
[cRIO]
[cRIO]
[cRIO] [Squawk VM] Version: 2010 FRC, Dec  2 2009, 19:18:32
[cRIO]
[cRIO] [Squawk VM] File SQUAWK_DEBUG_ENABLED not found, starting squawk in normal mode...
[cRIO] [Squawk VM]    arg: squawk.out
[cRIO] [Squawk VM] Squawk command line file SQUAWK_CMD_LINE not found, using default args...
[cRIO] [Squawk VM]    arg: -suite:robot
[cRIO] [Squawk VM]    arg: -Xmxnvm:1M
[cRIO] Bootstrap suite loaded
[cRIO] In Startup
[cRIO] Looking for implementation class com.sun.squawk.platform.posix.vxworks.natives.LibCImpl
[cRIO] FPGA Hardware GUID: 0xe0037a37f5c5d7f6a40e3c03d3ce51dd
[cRIO] FPGA Software GUID: 0xe0037a37f5c5d7f6a40e3c03d3ce51dd
[cRIO] Information: No user-supplied RobotMain()
Trying to connect to VM on socket://10.12.3.2:2800
Failed to establish connection with VM: Connection refused: connect - trying again in 5 seconds...
Trying to connect to VM on socket://10.12.3.2:2800
Failed to establish connection with VM: Connection refused: connect - trying again in 5 seconds...
Trying to connect to VM on socket://10.12.3.2:2800
Trying to connect to VM on socket://10.12.3.2:2800


Hanna2325 01-18-2010 09:12 PM

Re: Issue deploying Code
 
We're having the same problem. :ahh:

basicxman 01-18-2010 09:23 PM

Re: Issue deploying Code
 
Make sure you have properly updated the Classmate PC http://www.chiefdelphi.com/forums/sh...9&postcount=44

It really helped us, a firewall was blocking the update from completing. There should be a compass in the bottom right area.

derekwhite 01-18-2010 09:24 PM

Re: Issue deploying Code
 
It looks like rudun's problem was that the system was doing a "Debug" action instead of "Run" (and that version had a problem getting debug to run correctly).

That shouldn't be an issue with the current version. Hanna, if you continue to have a problem, please post the Run output. Thanks!


All times are GMT -5. The time now is 08:30 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi