Go to Post I say: Chutes & Ladders in FRC 2008! - petek [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 6 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 12-22-2009, 10:40 AM
rudun's Avatar
rudun rudun is online now
Registered User
FRC #0496 (Royals)
Team Role: Coach
 
Join Date: Jan 2009
Rookie Year: 2005
Location: Babylon
Posts: 42
rudun is an unknown quantity at this point
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
Reply With Quote
  #2   Spotlight this post!  
Unread 12-22-2009, 02:13 PM
David Doerr's Avatar
David Doerr David Doerr is offline
Registered User
FRC #4478 (Materia Oscura)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2002
Location: Milford, Michigan, USA
Posts: 75
David Doerr has much to be proud ofDavid Doerr has much to be proud ofDavid Doerr has much to be proud ofDavid Doerr has much to be proud ofDavid Doerr has much to be proud ofDavid Doerr has much to be proud ofDavid Doerr has much to be proud ofDavid Doerr has much to be proud of
Re: Issue deploying Code

Quote:
Originally Posted by rudun View Post
Any help would be appreciated.
Could you post your text output either from the cRIO console or from the NetBeans Output window?

DaveD
Reply With Quote
  #3   Spotlight this post!  
Unread 12-22-2009, 02:56 PM
rudun's Avatar
rudun rudun is online now
Registered User
FRC #0496 (Royals)
Team Role: Coach
 
Join Date: Jan 2009
Rookie Year: 2005
Location: Babylon
Posts: 42
rudun is an unknown quantity at this point
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
Reply With Quote
  #4   Spotlight this post!  
Unread 01-18-2010, 09:12 PM
Hanna2325's Avatar
Hanna2325 Hanna2325 is offline
Programmer/Driver
AKA: Hannah
FRC #2177 (Robettes)
Team Role: Driver
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Minnesota
Posts: 85
Hanna2325 will become famous soon enoughHanna2325 will become famous soon enough
Send a message via AIM to Hanna2325
Re: Issue deploying Code

We're having the same problem.
__________________
that light is NOT yellow, its orange! Where is the yellow light?
:1..2...3...BEAST!:
Reply With Quote
  #5   Spotlight this post!  
Unread 01-18-2010, 09:23 PM
basicxman basicxman is offline
Emily Horsman
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Burlington, Ontario
Posts: 971
basicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant future
Send a message via AIM to basicxman Send a message via MSN to basicxman Send a message via Yahoo to basicxman
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.
Reply With Quote
  #6   Spotlight this post!  
Unread 01-18-2010, 09:24 PM
derekwhite's Avatar
derekwhite derekwhite is offline
Java Virtual Machine Hacker
no team (FIRST@Oracle)
Team Role: Programmer
 
Join Date: May 2009
Rookie Year: 2009
Location: Burlington, MA
Posts: 127
derekwhite is on a distinguished road
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!
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Having trouble with Deploying code Hatefulhippo Programming 2 02-15-2009 02:02 PM
Proper procedure for deploying Labview code? domoarigato NI LabVIEW 8 02-03-2009 06:52 AM
Problem deploying/running default code blaxbb FRC Control System 0 01-10-2009 11:59 AM
Interrupt issue with new code EHaskins Programming 6 01-05-2008 12:27 AM
Code Download via Serial Issue phrontist Programming 9 02-08-2005 05:32 PM


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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