Solved

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

Posted on 2004-10-15
16
398 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
  • 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
 
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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
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…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…

758 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now