Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Developer Server 6.0 and OAS 4.0.8

Re: Developer Server 6.0 and OAS 4.0.8

From: Brian Peasland <peasland_at_edcmail.cr.usgs.gov>
Date: Mon, 14 Feb 2000 19:23:20 GMT
Message-ID: <38A85628.85D96187@edcmail.cr.usgs.gov>


Peter,

> Do i need to install an Database Access Descriptor to
> launch succesfully a developer server (form) on oracle application
> server?

No. You do not need a DAD to server Forms through OAS. The served form uses the connect information given in your STATIC.HTML file.  

> c.)
> Jinitiator plugin:
> Can you call a developer server form without it?

Yes you can. AFAIK, Oracle is supporting JInitiator. But you can use Sun's Java Plugin downloadable from their web site. JInitiator is Oracle's version of this product. Unfortunately, JInitiator only works on for clients on NT platforms. We have Unix workstations and we needed to install Sun's Java Plugin for those browsers.  

> d.)
> Where is an step by step instruction for:
>
> - implementing developer server with oas
> - building a developer form cartridge and configuring in oas
> - etc.....

There are some instructions provided with the OAS documentation. Go to the OAS Manager screen and select Online Documents. The documentation is sparse and not all complete. I had to call Oracle Support and they sent me the "correct" documentation.

> I started the forms server service with
> ifsrv60 -install forms_server.
> b.)
> I specified a new www-listener on port 9001
> and mapped the virtual path /forms60code/ to
> the d:\orant\bin\java\ directory.

You'll also need to define /web_cache/,/web_html/, and /web_jars/.

> I used the STATIC.htm file:
>

It appears that you are using the old version of STATIC.HTML. Try this version instead:

<HTML>
<!-- Sample Static HTML with new parameters -->
<!-- You will need to change the following parameters in this document:
-->
<!--		pcname.domain:port -->
<!--		modulename and userid/password_at_dbalias -->
<!--		yourlogo parameter for a custom splash screen -->
<!--		yourbackground parameter for a custom background -->
<!--		specify separateFrame = false if you'd like the form to run in the
browser window -->
<HEAD><TITLE>EDC Requisition System</TITLE></HEAD>
<BODY>
<P><CENTER>
<OBJECT classid="clsid:020f6116-407b-11d3-a3bb-00c04fa32518"
        WIDTH=490
        HEIGHT=540
       
codebase="http://edcntw241.cr.usgs.gov:90/web_html/jinit11718.exe#Version=1,1,7,18">
<PARAM NAME="CODE"       VALUE="oracle.forms.engine.Main" >
<PARAM NAME="CODEBASE"   VALUE="/forms60code/" >
<PARAM NAME="ARCHIVE"    VALUE="/forms60code/f60all.jar" >
<PARAM NAME="type"      

VALUE="application/x-jinit-applet;version=1.1.7.18"> <PARAM NAME="serverPort" VALUE="9000">
<PARAM NAME="serverArgs" VALUE="module=c:\ows\test userid=peasland/peasland_at_req">
<PARAM NAME="splashScreen"  VALUE="no">
<PARAM NAME="lookAndFeel"  VALUE="oracle">
<PARAM NAME="colorScheme"  VALUE="teal">
<PARAM NAME="background"  VALUE="no">
<PARAM NAME="separateFrame"  VALUE="false">
<PARAM NAME="serverApp"  VALUE="default">
<COMMENT>
<EMBED type="application/x-jinit-applet;version=1.1.7.18" 
       java_CODE="oracle.forms.engine.Main" 
       java_CODEBASE="/forms60code/" 
       java_ARCHIVE="/forms60code/f60all.jar" 
       WIDTH=490 
       HEIGHT=540  
       serverPort="9000" 
       serverArgs="module=c:\ows\test userid=peasland/peasland_at_req" 
       serverApp="default"  
       splashScreen="no"
	 lookAndFeel="oracle"
	 colorScheme="teal"
 	 background="no"
	 separateFrame="false"
	pluginspage="http://someserver/web_html/jinit_download60.html">
  <NOEMBED>
</COMMENT>
</NOEMBED></EMBED>
</OBJECT></CENTER>
</BODY>
</HTML>

If you contact Oracle Support, they will send you the proper STATIC.HTML file for their instructions.

> * It is possible to access the html-page BUT
> when it starts i get following error message:
>
> "Applet Oracle.forms.engine.Main
> class oracle/forms/engine/Main got a security violation
> method verification error"
>
> or
>
> "error java.lang.NoClassDefFound Error:
> oracle/forms/engine/main"
>

I think you got this due to a possibly incorrect CLSID in the STATIC.HTML file. Again, contact support and they can give you what you need.

You appear to be going through exactly the same problems I had. The documentation was lacking. I was only able to get this done after contacting support. Unfortunately, I don't have any electronic copies of the documents so I can't send them to you.

HTH,
Brian

--



Brian Peasland
Raytheons Systems at
  USGS EROS Data Center
These opinions are my own and do not
necessarily reflect the opinions of my company!
Received on Mon Feb 14 2000 - 13:23:20 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US