0 Replies Latest reply on Dec 18, 2006 8:17 AM by Darlan Oliveira

    JBoss 4.0.5.GA and BIRT 2.1.1

    Darlan Oliveira Newbie

      I have a problem when I am deploying birt.war from birt-runtime-2_1_1\WebViewerExample into the EAR file and the java.security.manager property is set.

      I'm using this instructions to deploy the BIRT on JBoss: http://www.eclipse.org/birt/phoenix/deploy/viewerSetup.php#jboss

      I've got follow exception, someone has any idea to solve this problem?

      Thanks!

      --
      Darlan

      Exceprion:

      java.lang.LinkageError: org/jboss/net/protocol/file/Handler
       at java.lang.Class.forName0(Native Method)
       at java.lang.Class.forName(Class.java:164)
       at org.eclipse.osgi.framework.util.SecureAction$15.run(SecureAction.java:314)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.eclipse.osgi.framework.util.SecureAction.forName(SecureAction.java:312)
       at org.eclipse.osgi.framework.internal.protocol.StreamHandlerFactory.getBuiltIn(StreamHandlerFactory.java:66)
       at org.eclipse.osgi.framework.internal.protocol.StreamHandlerFactory.createURLStreamHandler(StreamHandlerFactory.java:86)
       at java.net.URL.getURLStreamHandler(URL.java:1104)
       at java.net.URL.<init>(URL.java:572)
       at java.net.URL.<init>(URL.java:464)
       at java.net.URL.<init>(URL.java:413)
       at java.net.JarURLConnection.parseSpecs(JarURLConnection.java:161)
       at java.net.JarURLConnection.<init>(JarURLConnection.java:144)
       at sun.net.www.protocol.jar.JarURLConnection.<init>(JarURLConnection.java:61)
       at sun.net.www.protocol.jar.Handler.openConnection(Handler.java:24)
       at java.net.URL.openConnection(URL.java:943)
       at sun.misc.URLClassPath.check(URLClassPath.java:397)
       at sun.misc.URLClassPath$JarLoader.checkResource(URLClassPath.java:604)
       at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:676)
       at sun.misc.URLClassPath$JarLoader.findResource(URLClassPath.java:663)
       at sun.misc.URLClassPath.findResource(URLClassPath.java:142)
       at java.net.URLClassLoader$2.run(URLClassLoader.java:362)
       at java.security.AccessController.doPrivileged(Native Method)
       at java.net.URLClassLoader.findResource(URLClassLoader.java:359)
       at java.lang.ClassLoader.getResource(ClassLoader.java:977)
       at java.lang.ClassLoader.getResource(ClassLoader.java:972)
       at org.jboss.mx.loading.RepositoryClassLoader.getResourceLocally(RepositoryClassLoader.java:230)
       at org.jboss.mx.loading.LoadMgr3$ResourceAction.run(LoadMgr3.java:109)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:261)
       at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511)
       at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
       at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:580)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
       at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1342)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
       at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
       at java.lang.Class.forName0(Native Method)
       at java.lang.Class.forName(Class.java:164)
       at org.eclipse.osgi.framework.util.SecureAction$15.run(SecureAction.java:314)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.eclipse.osgi.framework.util.SecureAction.forName(SecureAction.java:312)
       at org.eclipse.osgi.framework.internal.protocol.StreamHandlerFactory.getBuiltIn(StreamHandlerFactory.java:66)
       at org.eclipse.osgi.framework.internal.protocol.StreamHandlerFactory.createURLStreamHandler(StreamHandlerFactory.java:86)
       at java.net.URL.getURLStreamHandler(URL.java:1104)
       at java.net.URL.<init>(URL.java:572)
       at java.net.URL.<init>(URL.java:464)
       at java.net.URL.<init>(URL.java:413)
       at org.jboss.net.protocol.file.FileURLLister.createURL(FileURLLister.java:158)
       at org.jboss.net.protocol.file.FileURLLister.listFiles(FileURLLister.java:130)
       at org.jboss.net.protocol.file.FileURLLister.listMembers(FileURLLister.java:75)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:497)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)