[jacorb-developer] Unexpected exception on local calls interceptions
Hugo Roenick
hroenick at gmail.com
Wed Apr 16 12:11:16 CEST 2014
Hi, Phil.
Sorry. You are right. I just found a silly mistake in pom.xml from the demo I attached.
I resubmitted a new package with the correction. It should work now. Can you test it again?
My mistake. Sorry about wasting your time.
Best regards,
-- Hugo
On Apr 15, 2014, at 7:12 PM, Phil Mesnier <mesnier_p at ociweb.com> wrote:
>
> On Apr 15, 2014, at 4:21 PM, Hugo Roenick wrote:
>
>> If you have maven installed, you can call "mvn compile" in the directory (where is the pom.xml file) to build it.
>> The result from compilation can be found in the directory "target" that will be created by maven.
>>
>
> Right. That's what I did and got quite a lot of unresolved symbols. See below. Any suggestions?
>
> dhcp33:localcall phil$ mvn compile
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Demo - InterceptorBug 1.0
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- idlj-maven-plugin:1.2.1:generate (default) @ InterceptorBug ---
> [INFO] Processing 1 grammar files to /Users/phil/localcall/target/generated-sources/idl
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ InterceptorBug ---
> [INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /Users/phil/localcall/src/main/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ InterceptorBug ---
> [INFO] Compiling 18 source files to /Users/phil/localcall/target/classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] /Users/phil/localcall/src/demo/ClientRequestInterceptorImpl.java:[6,20] cannot find symbol
> symbol : class NO_PERMISSIONHelper
> location: package org.omg.CORBA
> [ERROR] /Users/phil/localcall/src/demo/ServerRequestInterceptorImpl.java:[3,21] package org.jacorb.orb does not exist
> [ERROR] /Users/phil/localcall/src/demo/ServerRequestInterceptorImpl.java:[19,10] cannot find symbol
> symbol : class ORB
> location: class demo.ServerRequestInterceptorImpl
> [ERROR] /Users/phil/localcall/src/demo/ServerRequestInterceptorImpl.java:[22,53] cannot find symbol
> symbol : class ORB
> location: class demo.ServerRequestInterceptorImpl
> [ERROR] /Users/phil/localcall/src/demo/Initializer.java:[3,41] package org.jacorb.orb.portableInterceptor does not exist
> [ERROR] /Users/phil/localcall/src/demo/ClientRequestInterceptorImpl.java:[60,42] cannot find symbol
> symbol : variable NO_PERMISSIONHelper
> location: class demo.ClientRequestInterceptorImpl
> [ERROR] /Users/phil/localcall/src/demo/Initializer.java:[24,4] cannot find symbol
> symbol : class ORBInitInfoImpl
> location: class demo.Initializer
> [ERROR] /Users/phil/localcall/src/demo/Initializer.java:[24,32] cannot find symbol
> symbol : class ORBInitInfoImpl
> location: class demo.Initializer
> [ERROR] /Users/phil/localcall/target/generated-sources/idl/demo/_HelloStub.java:[80,46] cannot find symbol
> symbol : class ServantObjectExt
> location: package org.omg.CORBA.portable
> [ERROR] /Users/phil/localcall/target/generated-sources/idl/demo/_HelloStub.java:[81,29] cannot find symbol
> symbol : class ServantObjectExt
> location: package org.omg.CORBA.portable
> [ERROR] /Users/phil/localcall/target/generated-sources/idl/demo/_HelloStub.java:[86,46] cannot find symbol
> symbol : class ServantObjectExt
> location: package org.omg.CORBA.portable
> [ERROR] /Users/phil/localcall/target/generated-sources/idl/demo/_HelloStub.java:[87,29] cannot find symbol
> symbol : class ServantObjectExt
> location: package org.omg.CORBA.portable
> [ERROR] /Users/phil/localcall/target/generated-sources/idl/demo/_HelloStub.java:[92,46] cannot find symbol
> symbol : class ServantObjectExt
> location: package org.omg.CORBA.portable
> [ERROR] /Users/phil/localcall/target/generated-sources/idl/demo/_HelloStub.java:[93,29] cannot find symbol
> symbol : class ServantObjectExt
> location: package org.omg.CORBA.portable
> [ERROR] /Users/phil/localcall/target/generated-sources/idl/demo/_HelloStub.java:[162,46] cannot find symbol
> symbol : class ServantObjectExt
> location: package org.omg.CORBA.portable
> [ERROR] /Users/phil/localcall/target/generated-sources/idl/demo/_HelloStub.java:[163,29] cannot find symbol
> symbol : class ServantObjectExt
> location: package org.omg.CORBA.portable
> [ERROR] /Users/phil/localcall/target/generated-sources/idl/demo/_HelloStub.java:[168,46] cannot find symbol
> symbol : class ServantObjectExt
> location: package org.omg.CORBA.portable
> [ERROR] /Users/phil/localcall/target/generated-sources/idl/demo/_HelloStub.java:[169,29] cannot find symbol
> symbol : class ServantObjectExt
> location: package org.omg.CORBA.portable
> [ERROR] /Users/phil/localcall/target/generated-sources/idl/demo/_HelloStub.java:[174,46] cannot find symbol
> symbol : class ServantObjectExt
> location: package org.omg.CORBA.portable
> [ERROR] /Users/phil/localcall/target/generated-sources/idl/demo/_HelloStub.java:[175,29] cannot find symbol
> symbol : class ServantObjectExt
> location: package org.omg.CORBA.portable
> [INFO] 20 errors
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1.614s
> [INFO] Finished at: Tue Apr 15 17:06:57 CDT 2014
> [INFO] Final Memory: 8M/81M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project InterceptorBug: Compilation failure: Compilation failure:
> [ERROR] /Users/phil/localcall/src/demo/ClientRequestInterceptorImpl.java:[6,20] cannot find symbol
> [ERROR] symbol : class NO_PERMISSIONHelper
> [ERROR] location: package org.omg.CORBA
> [ERROR] /Users/phil/localcall/src/demo/ServerRequestInterceptorImpl.java:[3,21] package org.jacorb.orb does not exist
> [ERROR] /Users/phil/localcall/src/demo/ServerRequestInterceptorImpl.java:[19,10] cannot find symbol
> [ERROR] symbol : class ORB
> [ERROR] location: class demo.ServerRequestInterceptorImpl
> [ERROR] /Users/phil/localcall/src/demo/ServerRequestInterceptorImpl.java:[22,53] cannot find symbol
> [ERROR] symbol : class ORB
> [ERROR] location: class demo.ServerRequestInterceptorImpl
> [ERROR] /Users/phil/localcall/src/demo/Initializer.java:[3,41] package org.jacorb.orb.portableInterceptor does not exist
> [ERROR] /Users/phil/localcall/src/demo/ClientRequestInterceptorImpl.java:[60,42] cannot find symbol
> [ERROR] symbol : variable NO_PERMISSIONHelper
> [ERROR] location: class demo.ClientRequestInterceptorImpl
> [ERROR] /Users/phil/localcall/src/demo/Initializer.java:[24,4] cannot find symbol
> [ERROR] symbol : class ORBInitInfoImpl
> [ERROR] location: class demo.Initializer
> [ERROR] /Users/phil/localcall/src/demo/Initializer.java:[24,32] cannot find symbol
> [ERROR] symbol : class ORBInitInfoImpl
> [ERROR] location: class demo.Initializer
> [ERROR] /Users/phil/localcall/target/generated-sources/idl/demo/_HelloStub.java:[80,46] cannot find symbol
> [ERROR] symbol : class ServantObjectExt
> [ERROR] location: package org.omg.CORBA.portable
> [ERROR] /Users/phil/localcall/target/generated-sources/idl/demo/_HelloStub.java:[81,29] cannot find symbol
> [ERROR] symbol : class ServantObjectExt
> [ERROR] location: package org.omg.CORBA.portable
> [ERROR] /Users/phil/localcall/target/generated-sources/idl/demo/_HelloStub.java:[86,46] cannot find symbol
> [ERROR] symbol : class ServantObjectExt
> [ERROR] location: package org.omg.CORBA.portable
> [ERROR] /Users/phil/localcall/target/generated-sources/idl/demo/_HelloStub.java:[87,29] cannot find symbol
> [ERROR] symbol : class ServantObjectExt
> [ERROR] location: package org.omg.CORBA.portable
> [ERROR] /Users/phil/localcall/target/generated-sources/idl/demo/_HelloStub.java:[92,46] cannot find symbol
> [ERROR] symbol : class ServantObjectExt
> [ERROR] location: package org.omg.CORBA.portable
> [ERROR] /Users/phil/localcall/target/generated-sources/idl/demo/_HelloStub.java:[93,29] cannot find symbol
> [ERROR] symbol : class ServantObjectExt
> [ERROR] location: package org.omg.CORBA.portable
> [ERROR] /Users/phil/localcall/target/generated-sources/idl/demo/_HelloStub.java:[162,46] cannot find symbol
> [ERROR] symbol : class ServantObjectExt
> [ERROR] location: package org.omg.CORBA.portable
> [ERROR] /Users/phil/localcall/target/generated-sources/idl/demo/_HelloStub.java:[163,29] cannot find symbol
> [ERROR] symbol : class ServantObjectExt
> [ERROR] location: package org.omg.CORBA.portable
> [ERROR] /Users/phil/localcall/target/generated-sources/idl/demo/_HelloStub.java:[168,46] cannot find symbol
> [ERROR] symbol : class ServantObjectExt
> [ERROR] location: package org.omg.CORBA.portable
> [ERROR] /Users/phil/localcall/target/generated-sources/idl/demo/_HelloStub.java:[169,29] cannot find symbol
> [ERROR] symbol : class ServantObjectExt
> [ERROR] location: package org.omg.CORBA.portable
> [ERROR] /Users/phil/localcall/target/generated-sources/idl/demo/_HelloStub.java:[174,46] cannot find symbol
> [ERROR] symbol : class ServantObjectExt
> [ERROR] location: package org.omg.CORBA.portable
> [ERROR] /Users/phil/localcall/target/generated-sources/idl/demo/_HelloStub.java:[175,29] cannot find symbol
> [ERROR] symbol : class ServantObjectExt
> [ERROR] location: package org.omg.CORBA.portable
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>
>
> --
> Phil Mesnier
> Principal Software Engineer and Partner, http://www.ociweb.com
> Object Computing, Inc. +01.314.579.0066 x225
>
>
>
>
More information about the jacorb-developer
mailing list