cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "gumnaam suri (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-1707) Security Exception when using java2ws via the cxf-java2ws-plugin in Netbeans
Date Fri, 18 Jul 2008 14:28:32 GMT
Security Exception when using java2ws via the cxf-java2ws-plugin in Netbeans
----------------------------------------------------------------------------

                 Key: CXF-1707
                 URL: https://issues.apache.org/jira/browse/CXF-1707
             Project: CXF
          Issue Type: Bug
          Components: Build system
    Affects Versions: 2.1.1
            Reporter: gumnaam suri


Similar to https://issues.apache.org/jira/browse/CXF-1256, I get a security exception when
 using java2ws via the cxf-java2ws-plugin in Netbeans 6.x.
For CXF-1256 the error was in wsdl2java, for my case the error is in java2ws.

As CXF-1526 was a bug in CXF rather than Netbeans, I figure this is the same case.

Stack Trace below

[DEBUG]Setting context classloader for plugin to: /plugins/org.apache.cxf:cxf-java2ws-plugin:2.1.1@-953946915/thread:exec_Build
cxfdemo_1 (instance is: ClassRealm[/plugins/org.apache.cxf:cxf-java2ws-plugin:2.1.1@-953946915/thread:exec_Build
cxfdemo_1, parent: ClassRealm[plexus.core, parent: null]])
[ERROR]Runtime Exception thrown during execution
[ERROR]null
[ERROR]Error stacktrace:
[ERROR]java.lang.SecurityException
[ERROR]	at org.netbeans.TopSecurityManager.checkSetSecurityManager(TopSecurityManager.java:442)
[ERROR]	at org.netbeans.TopSecurityManager.checkPermission(TopSecurityManager.java:376)
[ERROR]	at java.lang.System.setSecurityManager0(System.java:273)
[ERROR]	at java.lang.System.setSecurityManager(System.java:264)
[ERROR]	at org.apache.cxf.maven_plugin.Java2WSMojo.execute(Java2WSMojo.java:140)
[ERROR]	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:580)
[ERROR]	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:498)
[ERROR]	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentForProject(DefaultLifecycleExecutor.java:265)
[ERROR]	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:191)
[ERROR]	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
[ERROR]	at org.codehaus.mevenide.netbeans.embedder.exec.MyLifecycleExecutor.execute(MyLifecycleExecutor.java:72)
[ERROR]	at org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:223)
[ERROR]	at org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
[ERROR]	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
[ERROR]	at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:904)
[ERROR]	at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
[ERROR]	at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
[ERROR]	at org.codehaus.mevenide.netbeans.execute.MavenJavaExecutor.run(MavenJavaExecutor.java:215)
[ERROR]	at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message