Skip to main content

Basic JSP can not use GF Orb classes

Please note these forums are being decommissioned and use the new and improved forums at
1 reply [Last post]


I'm using GF 3.1 and i want to use a small jsp in a war that display information from ORB.

I wrote this piece of code :

Object orb = org.omg.CORBA.ORB.init();
System.out.println(orb); sunorb = ( orb;

but jsp compilation failed with the following error :

PWC6197: An error occurred at line: 10 in the jsp file: /orb.jsp
PWC6199: Generated servlet error:
string:/// package does not exist

Why this GF class (existing in modules/glassfish-corba-orb.jar) can not be used by my JSP ?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2004-05-06

For performance, the JSP compilations do not include all the system jars.

To include glassfish-corba-orb.jar, you'll need to edit /default-web.xml to add this jar to the param-value for the init-parm "system-jar-includes" of the jsp servlet.