Solved

ERROR: Creating Jaguar component 'DataWindow/HTMLGenerator90', 'Unable to start specified Java VM'

Posted on 2004-10-15
16
402 Views
Last Modified: 2008-01-09
While running a web page generated by Powerbuilder I am getting the following Errors:

ERROR: Creating Jaguar component 'DataWindow/HTMLGenerator90', 'Unable to start specified Java VM'
ERROR: Creating Jaguar component 'DataWindow/HTMLGenerator90', 'Unable to find java class 'GetClassInfo''

Dynamo: 3.6
Using EAServer: 4.2


Environment ClassPath:
d:\sybase\ASEP_Win32\3pclass.zip;
d:\sybase\ASEP_Win32\monclass.zip;d:\Sybase\EAServer\PowerBuilder\pdjdbc12.jar;C:\sybase\Shared\Sun\jdk122\lib\classes.zip;D:\Sybase\PowerDynamo\class03\GetClassInfo.class;C:\sybase\Shared\Sun\jdk122\jre\bin

Path
c:\sybase\OLEDB;c:\sybase\ODBC;c:\sybase\CFG-1_0\bin;c:\sybase\OCS-12_5\dll;c:\sybase\OCS-12_5\lib3p;c:\sybase\OCS-12_5\bin;c:\sybase\ASE-12_5\dll;c:\sybase\ASE-12_5\bin;C:\WINNT\system32;C:\WINNT;c:\sybase\SQLRemote\dll;C:\Program Files\Sybase\Shared\win32;C:\Program Files\Sybase\Shared\Sybase Central 4.1;D:\Sybase\Shared\Web Targets;D:\Sybase\EAServer\html\classes;D:\Sybase\EAServer\html\classes\DataWindow;D:\Sybase\PowerDynamo\win32;D:\Sybase\PowerDynamo\class03;C:\sybase\Shared\Sun\jdk122\jre\bin;

Dynamo Settings
      Jaguar Default Settings:
      ClassPath: D:\Sybase\EAServer\Java\lib\easj2ee.jar;D:\Sybase\EAServer\Java\lib\easclient.jar

      Java Default Settings
      ClassPath:C:\sybase\Shared\Sun\jdk122\jre\bin;

      Java VM: Sun Java VM 1.2
0
Comment
Question by:AxfordA
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 8
  • 4
16 Comments
 
LVL 33

Expert Comment

by:sajuks
ID: 12318174


1.set path and classpath settings
ie
If using the MS VM, ensure that your path environment points to
msjava.dll.

If using the SUN VM, ensure that your path environment points to
javai.dll or java.dll.

If using the SUN DebugVM, ensure that your path environment points to
javai_g.dll or java_g.dll
ie.u have to add in path
Ensure that your CLASSPATH environment contains the path to the system
classes for the VM that you are using (typically these classes are
contained in a file called classes.zip)ie.the folder contains
classes.zip add in classpath
2.in powerdynamo u have to set
jaguar classes
as
C:\Program Files\Sybase\Shared\Jaguar CTS 3.5\Client\Jagclient.zip // map it to your jaguar version
and java settings change java vm as sun java vm1.2
0
 
LVL 33

Expert Comment

by:sajuks
ID: 12318213
remember to restart easerver after these verifying and changing the settings.
Restart the machine to be on the safer side ;-).

Any reason why you are still on easerver 4.2 and powerdynamno since powerdynamo has been officially declared as dead ( no support / no new version) by Sybase .Also easerver 5 is vastly superior both in performance and tuning compared to 4.2
0
 
LVL 33

Expert Comment

by:sajuks
ID: 12318269
Try putting the powerdynamo/class03 folder in your classpath and powerdynamo/win32 in your path.
That shpuld take care of it
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:AxfordA
ID: 12318872
Thanks for the reply sajuks but I have already done all that you suggest.
But my classpath already contains: C:\sybase\Shared\Sun\jdk122\lib\classes.zip
and my path contains:
C:\sybase\Shared\Sun\jdk122\jre\bin;

Although you suggest

2.in powerdynamo u have to set
jaguar classes
as
C:\Program Files\Sybase\Shared\Jaguar CTS 3.5\Client\Jagclient.zip

I have used:

Dynamo Settings
     Jaguar Default Settings:
     ClassPath: D:\Sybase\EAServer\Java\lib\easj2ee.jar;D:\Sybase\EAServer\Java\lib\easclient.jar

     Java Default Settings
     ClassPath:C:\sybase\Shared\Sun\jdk122\jre\bin;

     Java VM: Sun Java VM 1.2

I guess that Jagclient.zip is not now used and is replaced by easclient.jar.
0
 
LVL 1

Author Comment

by:AxfordA
ID: 12318920
Also, using 4.2 and Dynamo as that is what came out of the PB9.0 box.

What do you recommend as a replacement for Dynamo?
And how do I configure EAServer accordingly?
0
 
LVL 33

Expert Comment

by:sajuks
ID: 12320034
If you've just started using easerver and powerdynamo then i would recommend going for easerver 5 and instead of powerdynamo go for jsp. Highly recommended and totaly cross browser.
The config that will be needed will depend on the type of web server you are planning to use.
what do you use currently ?
0
 
LVL 33

Accepted Solution

by:
sajuks earned 250 total points
ID: 12320240
Check http://www.sybase.com/products/developmentintegration/easerver for easever 5.
You also get a full fledged functional copy to download ( no time limit ) to evaluare and use it as long as its not for commerical purpose.
0
 
LVL 1

Author Comment

by:AxfordA
ID: 12320293
I have been using EAServer for some time. Couple of years, just dropping DW onto Web Pages. I use  PB only to create the DW's and Coms objects.
This is a new set up, and as it's like ages since I last completed a set up so I have mostly forgetten what I  did previously.

The current set up is behind the firewall and we do not have a Web Server, (on the Development Server we have setup) so I used PowerDynamo Personal Web Server. Previously I had configured the iis Server with the redirector plugin and used EAServer directly, no problems. I suspect that I had the same problems previously hence using EAServer as the web server.

Cheers
Alan


I will down load EAServer 5 and upgrade
0
 
LVL 33

Expert Comment

by:sajuks
ID: 12320437
if you are going to use easerver as the web server then you shouldnt've any problems ( touch wood :-) )
If you rememebr the setup you did for ea4,2 then you will find the installn of ea5 a pleasant surprise.
sybase have really woken up and did a good job of it. i've been using easerver since its version 2
and have just fallen in love with its version 5. also pd is outdated and jsp is what you should aim for.
i would recommend asp but then it makes it windows specific.
Ea 5 has also got an utility wherein you can modify pd pages to jsp pages. we did try it but later just gave it up.
quite a lot of changes anyway needs to be done manually that it didnt make sense to us it.
0
 
LVL 33

Expert Comment

by:sajuks
ID: 12794640
I belive i've provided the correct answer and also guided the asker
about the new technology that should be applied.So i guess i do deserve some points.
0
 
LVL 1

Author Comment

by:AxfordA
ID: 12817082
I have been unable to resolve the set up issue with EA Server 4.2. However, I intend to take sajuk's advice and ungrade to EAServer 5.0.
0
 
LVL 33

Expert Comment

by:sajuks
ID: 12817105
@AxfordA , i thought u'd already done that, thats y i felt the question was answered since u wouldnt be needing that connection.
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question