My Oracle Support Banner

OAS 10.1.3.3.0: Web-Services Compilation Issue and Missing javac.params.* File (Doc ID 1221363.1)

Last updated on MARCH 03, 2019

Applies to:

Web Services - Version 10.1.3.3.0 to 10.1.3.3.0 [Release Oracle10g]
Information in this document applies to any platform.

Symptoms

When you try to start / re-start your OC4J (10.1.3.3.0) containing a WebService,
you see the following intermittent error in your logs:

java.lang.InstantiationException: Error compiling:
<ORACLE_HOME>/j2ee/<oc4j_name>/applications/<application_name>/my-WSS-1.0: Syntax error in source or compilation failed in:
<ORACLE_HOME>/j2ee/<oc4j_name>/application-deployments/myApp/my-WSS-1.0/<path>/myProgram_LiteralSerializer.java
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

at com.evermind.server.http.WrapperClassGenerator.generateWebServiceArts(WrapperClassGenerator.java:104)
at com.evermind.server.http.HttpApplication.generateWebServiceArtifacts(HttpApplication.java:8463)
at com.evermind.server.http.HttpApplication.populateLoaderWithWebServicesDeploymentCache(HttpApplication.java:5698)
at com.evermind.server.http.HttpApplication.populateLoader(HttpApplication.java:5626)
at com.evermind.server.http.HttpApplication.initClassLoader(HttpApplication.java: 5565)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:731)
at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:426)
at com.evermind.server.Application.getHttpApplication(Application.java:570)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:643)
at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290)
at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270)
at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2498)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1044)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
at java.lang.Thread.run(Thread.java:811)

-----------------------

When you turn on debugging, you notice the following entries in your log:

10/07/20 14:15:11 Got javac ./<JDK_HOME>/bin/javac
10/07/20 14:15:12 Code Formating is set to true
10/07/20 14:15:12 Start Compilation using javac
10/07/20 14:15:12 Using External Javac Compiler...
10/07/20 14:15:12 Args: [/<JDK_HOME>/bin/javac, -J-Xmx1024m, -encoding, UTF8,
  <ORACLE_HOME>/j2ee/<oc4j_name>/persistence/<oc4j_name>_1/javac.params.*]

-----------------------

But when you navigate to the folder <ORACLE_HOME>/j2ee/<oc4j_name>/persistence/<oc4j_name>_1
you are unable to find javac.params.*.

You would like to know how to prevent the file javac.params.* from being deleted

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.