SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Senior Member
    Join Date
    Jul 2000
    Posts
    186
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    SilkBean on Solaris target

    I've been struggling the last few days to get my tests running on Unix machines. So far, I have only been able to launch my AUT on the Solaris machine. When I run the SilkBean server in debug mode, I get a bunch of messages like:

    Message request ID: 14001
    No Apps Registered

    Ultimately the Application starts out, but the SilkTest host machine acts as if it didn't start. After a short time, it starts a 2nd instance of my AUT. Finally I get an error:

    *** Error: Application cannot be started -- File not found

    other information:
    SilkTest 5.0.3.2
    Sun Solaris 2.7
    JDK 1.3
    100% Java stand-alone app using JFC

    Any help would be greatly appreciated.
    Tom

  2. #2
    Senior Member
    Join Date
    Sep 2000
    Posts
    159
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: SilkBean on Solaris target

    Some of my guesses:

    I assume the Start() method looks for a window tag after launching the app. Since the app is not registered, the testcase will fail ( even though the app is launched ).
    That is why it is launching a second instance.

    Also, it looks like the Silk Jar file
    is not being found when the application is launched.

    My App was being launched from a batch file . The batch file was setting the classpath locally with the classpath= statement and then launching the application.
    I had the jar files in the classpath statement, but it still failed.

    I added the Xbootclasspath option for java.exe and it worked.

    java -Xbootclasspath/p:$classpath.

    But I'm still not sure why that "Xbootclasspath" is needed since I already placed the jar files in the "set classpath=" statement.

    Doesn't java.exe automatically search the paths contained in that classpath variable?

  3. #3
    Senior Member
    Join Date
    Jul 2000
    Posts
    186
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: SilkBean on Solaris target

    Thanks Raul-

    Not sure exactly what made this work, or why but here is what ultimately worked.

    1) create a shell script with this line in it
    /usr/j2se/bin/java -Xbootclasspath/p:/export/home/SilkTest_Java2.jar:/export/home/silkbean.jar myapplication

    2) make the shell script with its complete path the sCmdLine in my frame

    3) start the SilkBean server like this:

    java segue.server.SilkBean debug -2966 &

    4) launch my script
    Tom

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 04:14 AM.

Copyright BetaSoft Inc.