Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

can't find javax.comm.properties

843804Oct 15 2005 — edited Sep 8 2010
I'm trying to set up the Java Communications API on Linux, and I can't seem to get it to find my javax.comm.properties file. I've put comm.jar in $JDK_HOME/jre/lib/ext and the properties file in $JDK_HOME/jre/lib and $JDK_HOME/lib (using JDK 1.4.2_08).

I set my CLASSPATH to "$JDK_HOME/jre/lib/ext/comm.jar:BlackBox.jar" and when I try to run BlackBox, I get:
javax.comm: Error loading javax.comm.properties!
null

java.io.IOException: javax.comm: platform driver class name = null
(Check 'driver' property in javax.comm.properties)

at javax.comm.CommPortIdentifier.loadDriver(CommPortIdentifier.java:244)
at javax.comm.CommPortIdentifier.<clinit>(CommPortIdentifier.java:109)
at BlackBox.main(Unknown Source)
Exception in thread "main" java.lang.UnsatisfiedLinkError: isSessionActive
at com.sun.comm.SunrayInfo.isSessionActive(Native Method)
at com.sun.comm.Portmapping.registerCommPorts(Portmapping.java:155)
at com.sun.comm.Portmapping.refreshPortDatabase(Portmapping.java:100)
at javax.comm.CommPortIdentifier.<clinit>(CommPortIdentifier.java:138)
at BlackBox.main(Unknown Source)

Any idea what's wrong?

Comments

user9205102

Hi,

I am facing a similar issue in FSMLite component getting the following error

2015-07-01T11:29:42.726+01:00] [Framework] [INCIDENT_ERROR] [upgrade.Framework] Cause: An unexecpted error occurred initializing an upgrade plug-in.

[2015-07-01T11:29:42.726+01:00] [Framework] [INCIDENT_ERROR] [upgrade.Framework] Action: Contact Oracle Support Services.  See the secondary error message for additional details.

[2015-07-01T11:29:42.726+01:00] [Framework] [INCIDENT_ERROR] [upgrade.Framework] [[

java.lang.reflect.InvocationTargetException

  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

  at java.lang.reflect.Constructor.newInstance(Constructor.java:526)

  at oracle.ias.update.plugin.Plugin.instantiatePlugin(Plugin.java:241)

  at oracle.ias.update.plugin.Plugin.<init>(Plugin.java:222)

  at oracle.ias.update.plugin.Plugin.getPlugin(Plugin.java:156)

  at oracle.ias.update.plan.PlanStep.getPlugin(PlanStep.java:273)

  at oracle.ias.update.plan.PlanStep.examine(PlanStep.java:286)

  at oracle.ias.update.UpgradeDriver.doExamines(UpgradeDriver.java:395)

  at oracle.ias.update.gui.UAExamineThread.run(UAExamineThread.java:44)

Caused by: java.util.MissingResourceException: Can't find oracle.apps.setup.lite.upgrade.plugin.UpgradePluginResourceBundle bundle

  at java.util.logging.Logger.setupResourceInfo(Logger.java:1537)

  at java.util.logging.Logger.<init>(Logger.java:267)

  at java.util.logging.Logger.<init>(Logger.java:261)

  at oracle.ias.update.UpgradeLogger.<init>(UpgradeLogger.java:57)

  at oracle.ias.update.UpgradeLogger.getLogger(UpgradeLogger.java:90)

  at oracle.ias.update.LoggingManager.create(LoggingManager.java:287)

  at oracle.ias.update.plugin.UpgradePlugin.createPluginLogger(UpgradePlugin.java:142)

  at oracle.ias.update.plugin.UpgradePlugin.<init>(UpgradePlugin.java:127)

  at oracle.apps.setup.lite.upgrade.plugin.UpgradeSchemaPlugin.<init>(UpgradeSchemaPlugin.java:57)

  ... 11 more

]]

[2015-07-01T11:29:42.727+01:00] [Framework] [ERROR] [UPGAST-00182] [upgrade.Framework] The examination phase for plug-in FSM.FSM will not be run due to a previous error.

[2015-07-01T11:29:42.727+01:00] [Framework] [ERROR] [upgrade.Framework] Cause: An error occurred when loading or initializing the plug-in which prevents the examiniation phase from running.

Any help guidance will be much appreciated.

user2693219

Did you resolve this?

Jay66Online-Oracle

Go to

\Middleware\Oracle_BI1\biapps\tools\lib

update the parameters in the following command and run it , it works  fine

java -jar biappsrepositoryutil.jar upgradeFSM bi.oracle.home=C:\Oracle\Middleware\Oracle_BI1 work.dir=C:\wkdir biacomp.user=DEV_BIACOMP biacomp.password=oracle db.conn.sid.url=localhost:1521:orcl fsm.db.seed.url=localhost:1521/orcl db.sys.user=sys db.sys.password=***********

ParagGhosh

Hi ,

If you want to do the FSM upgrade with Patch Set Assistance , then run the PSA with the jdk installed as part of OBI Installation in OBI_HOME/jdk , it will work fine. Change the $JAVA_HOME variable in WLS_HOME/oracle_common/bin/commEnv.sh set this to OBIEE jdk .

Thanks,

Parag

User_V648T

This is caused by a known bug with JDK 1.7_x

  • Bug 17652261 - OAM:UPG: PSA EXAMINE OAM SCHEMA FAILED WITH INVOCATIONTARGETEXCEPTION USING JDK7

Please see the below document for the patch:

OBIA 11.1.1.9 "Error initializing upgrade plug-in for FSM" while Upgrading FSM Component (Doc ID 2015232.1)

Thank,

Anil

Jay66Online-Oracle

Thank you Parag,

Solution 1: Support team provided

Solution 2: Which you provided, both work perfectly fine,

I have tested then individually on different installations.

1 - 6
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 6 2010
Added on Oct 15 2005
15 comments
19,193 views