0 Replies Latest reply on Nov 5, 2004 5:04 PM by John Carril

    WLS 7.0 EJB Conversion to JBoss

    John Carril Newbie

      I'm currently working on porting a large J2EE app from WebLogic 7.0 to JBoss 4.0.

      I have installed the FoeDeployer w/Weblogic converter mod and have been getting the following exception:




      2004-11-05 15:35:59,280 DEBUG [org.jboss.varia.deployment.convertor.JarTransformer] Attempt to transform 'weblogic-cmp-rdbms-jar.xml' with 'resources/6.1/weblogic-cmp-rdbms-jar.xsl'
      2004-11-05 15:35:59,280 DEBUG [org.jboss.varia.deployment.convertor.JarTransformer] Loaded properties 'resources/6.1/weblogic-cmp-rdbms-jar-output.properties'
      2004-11-05 15:35:59,300 DEBUG [org.jboss.varia.deployment.convertor.JarTransformer] Exception while transforming entry 'weblogic-cmp-rdbms-jar.xml
      java.lang.IllegalArgumentException: Output property not recognized: newname at org.apache.xalan.templates.OutputProperties.copyFrom(Ljava.util.Properties;Z)V(OutputProperties.java:600)
      at org.apache.xalan.templates.OutputProperties.copyFrom(Ljava.util.Properties;)V(OutputProperties.java:577)
      at org.apache.xalan.transformer.TransformerImpl.setOutputProperties(Ljava.util.Properties;)V(TransformerImpl.java:934)
      at org.jboss.varia.deployment.convertor.XslTransformer.applyTransformation(Ljava.io.InputStream;Ljava.io.OutputStream;Ljava.io.InputStream;Ljava.util.Properties;Ljava.util.Properties;)V(XslTransformer.java:100)
      at org.jboss.varia.deployment.convertor.JarTransformer.transformBytes([BLjava.io.InputStream;Ljava.util.Properties;Ljava.util.Properties;)[B(JarTransformer.java:228)
      at org.jboss.varia.deployment.convertor.JarTransformer.transform(Ljava.io.File;Ljava.util.Properties;)V(JarTransformer.java:130)
      at org.jboss.varia.deployment.convertor.WebLogicConvertor.convert(Lorg.jboss.deployment.DeploymentInfo;Ljava.io.File;)V(WebLogicConvertor.java:233)
      at org.jboss.varia.deployment.FoeDeployer.create(Lorg.jboss.deployment.DeploymentInfo;)V(FoeDeployer.java:190)
      at org.jboss.deployment.MainDeployer.create(Lorg.jboss.deployment.DeploymentInfo;)V(MainDeployer.java:889)
      at org.jboss.deployment.MainDeployer.deploy(Lorg.jboss.deployment.DeploymentInfo;)V(MainDeployer.java:745)
      at org.jboss.deployment.MainDeployer.deploy(Ljava.net.URL;)V(MainDeployer.java:709)
      at jrockit.reflect.NativeMethodInvoker.invoke0(Ljava.lang.Object;ILjava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
      at jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
      at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
      at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(Lorg.jboss.mx.server.Invocation;)Ljava.lang.Object;(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch()Ljava.lang.Object;(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(Lorg.jboss.mx.server.Invocation;)Ljava.lang.Object;(AbstractInterceptor.java:119)
      at org.jboss.mx.server.Invocation.invoke()Ljava.lang.Object;(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(Lorg.jboss.mx.server.Invocation;)Ljava.lang.Object;(ModelMBeanOperationInterceptor.java:131)
      at org.jboss.mx.server.Invocation.invoke()Ljava.lang.Object;(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(AbstractMBeanInvoker.java:242)
      at org.jboss.mx.server.MBeanServerImpl.invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(Ljava.lang.Object;Ljava.lang.reflect.Method;[Ljava.lang.Object;)Ljava.lang.Object;(MBeanProxyExt.java:176)
      at $Proxy8.deploy(Ljava.net.URL;)V(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(Lorg.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL;)V(URLDeploymentScanner.java:305)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan()V(URLDeploymentScanner.java:481)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan()V(AbstractDeploymentScanner.java:204)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop()V(AbstractDeploymentScanner.java:215)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run()V(AbstractDeploymentScanner.java:194)
      at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)

      I verified that resources/6.1/weblogic-ejb-jar-output.properties has the property set correctly (newname=META-INF/jbosscmp-jdbc.xml)

      I'm not sure why I am getting this error. Is it related to the 'partial WLS7.0' support for the converter? Any information would be most helpful

      Thanks

      JDC