• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

incompletely deployed packages - JBoss - Seam - Birt

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi folks, i got a problem bootstrapping jboss with seam and Birt.

The firts error that appears is:

java.lang.NoClassDefFoundError: org/apache/axis/transport/http/AxisServlet
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader.java:690)
at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:670)
at java.lang.ClassLoader.loadClass(Unknown Source)
a lot more...

I checked that the JAR file containing that class is present in the lib folder under WEB-INF, so that exception is kind of misleading

then it prints:

--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@e83fa8c9 { url=file:/C:/JBOSS/jboss-4.2.3.GA/server/default/deploy/console-ear.ear/console-ws.jar/ }
deployer: MBeanProxyExt[jboss.ejb3:service=EJB3Deployer]
status: Created
state: CREATED
watch: file:/C:/JBOSS/jboss-4.2.3.GA/server/default/deploy/console-ear.ear/console-ws.jar/META-INF/ejb-jar.xml
altDD: null
lastDeployed: 1266856730862
lastModified: 1266848834912
mbeans:

org.jboss.deployment.DeploymentInfo@b5461917 { url=file:/C:/JBOSS/jboss-4.2.3.GA/server/default/deploy/console-ear.ear/console-ejb-basic.jar/ }
deployer: MBeanProxyExt[jboss.ejb3:service=EJB3Deployer]
status: Created
state: CREATED
watch: file:/C:/JBOSS/jboss-4.2.3.GA/server/default/deploy/console-ear.ear/console-ejb-basic.jar/META-INF/ejb-jar.xml
altDD: null
lastDeployed: 1266856731003
lastModified: 1266848832724
mbeans:

org.jboss.deployment.DeploymentInfo@459bccd8 { url=file:/C:/JBOSS/jboss-4.2.3.GA/server/default/deploy/console-ear.ear/console-ejb.jar/ }
deployer: MBeanProxyExt[jboss.ejb3:service=EJB3Deployer]
status: Created
state: CREATED
watch: file:/C:/JBOSS/jboss-4.2.3.GA/server/default/deploy/console-ear.ear/console-ejb.jar/META-INF/ejb-jar.xml
altDD: null
lastDeployed: 1266856731878
lastModified: 1266848831349
mbeans:

org.jboss.deployment.DeploymentInfo@8af7b514 { url=file:/C:/JBOSS/jboss-4.2.3.GA/server/default/deploy/console-ear.ear/console-web.war/ }
deployer: MBeanProxyExt[jboss.web:service=WebServer]
status: Deployment FAILED reason: org/apache/axis/transport/http/AxisServlet
state: FAILED
watch: file:/C:/JBOSS/jboss-4.2.3.GA/server/default/deploy/console-ear.ear/console-web.war/WEB-INF/web.xml
altDD: null
lastDeployed: 1266856732315
lastModified: 1266848857788
mbeans:

org.jboss.deployment.DeploymentInfo@8516d4bd { url=file:/C:/JBOSS/jboss-4.2.3.GA/server/default/deploy/console-ear.ear/ }
deployer: org.jboss.deployment.EARDeployer@bdcccc
status: Deployment FAILED reason: Could not create deployment: file:/C:/JBOSS/jboss-4.2.3.GA/server/default/deploy/console-ear.ear/console-web.war/; - nested throwable: (java.lang.NoClassDefFoundError: org/apache/axis/transport/http/AxisServlet)
state: FAILED
watch: file:/C:/JBOSS/jboss-4.2.3.GA/server/default/deploy/console-ear.ear/META-INF/application.xml
altDD: null
lastDeployed: 1266856732315
lastModified: 1266848836303
mbeans:

In my web.xml i got every birt descriptors and, when i comment this, error dissapears.
My aim is getting the birt viewer working with seam pages.

...
<description>Deployment Descriptor for BIRT Viewer. Please check and specify the following settings.</description>
<context-param>
<description>Report resources(design files or document files) directory for preview. Defaults to ${Context Root}</description>
<param-name>BIRT_VIEWER_WORKING_FOLDER</param-name>
<param-value></param-value>
</context-param>
<context-param>
<description>Memory size in MB for creating a cube.</description>
<param-name>BIRT_VIEWER_CUBE_MEMORY_SIZE</param-name>
<param-value></param-value>
</context-param>
<context-param>
<description>Report engine log level. (ALL|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST|OFF)</description>
<param-name>BIRT_VIEWER_LOG_LEVEL</param-name>
<param-value>WARNING</param-value>
</context-param>
<context-param>
<description>Directory where to store all the birt report script libraries (JARs).. Defaults to ${Context Root}/scriptlib</description>
<param-name>BIRT_VIEWER_SCRIPTLIB_DIR</param-name>
<param-value>scriptlib</param-value>
</context-param>
<context-param>
<description>Flag whether to force browser-optimized HTML output. Defaults to true</description>
<param-name>HTML_ENABLE_AGENTSTYLE_ENGINE</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<description>Report Engine logs directory. Default to ${Context Root}/logs</description>
<param-name>BIRT_VIEWER_LOG_DIR</param-name>
<param-value>logs</param-value>
</context-param>
<context-param>
<description>Max cube fetch columns levels limit for report preview (Only used when previewing a report design file using the preview pattern). Defaults to return all levels</description>
<param-name>BIRT_VIEWER_MAX_CUBE_COLUMNLEVELS</param-name>
<param-value></param-value>
</context-param>
<context-param>
<description>Resource location directory (library files, images files or others). Defaults to ${Context Root}</description>
<param-name>BIRT_RESOURCE_PATH</param-name>
<param-value></param-value>
</context-param>
<context-param>
<description>Temporary images/charts directory. Defaults to ${Context Root}/report/images</description>
<param-name>BIRT_VIEWER_IMAGE_DIR</param-name>
<param-value>report/images</param-value>
</context-param>
<context-param>
<description>BIRT viewer extended configuration file</description>
<param-name>BIRT_VIEWER_CONFIG_FILE</param-name>
<param-value>WEB-INF/viewer.properties</param-value>
</context-param>
<context-param>
<description>Preview report rows limit. An empty value means no limit.</description>
<param-name>BIRT_VIEWER_MAX_ROWS</param-name>
<param-value></param-value>
</context-param>
<context-param>
<description>Temporary document files directory. Defaults to ${Context Root}/documents</description>
<param-name>BIRT_VIEWER_DOCUMENT_FOLDER</param-name>
<param-value>documents</param-value>
</context-param>
<context-param>
<description>Flag whether to allow server-side printing. Possible values are ON and OFF. Defaults to ON</description>
<param-name>BIRT_VIEWER_PRINT_SERVERSIDE</param-name>
<param-value>ON</param-value>
</context-param>

<context-param>
<description>Flag whether the report resources can only be accessed under the working folder. Defaults to false</description>
<param-name>WORKING_FOLDER_ACCESS_ONLY</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<description>Max cube fetch rows levels limit for report preview (Only used when previewing a report design file using the preview pattern). Defaults to return all levels</description>
<param-name>BIRT_VIEWER_MAX_CUBE_ROWLEVELS</param-name>
<param-value></param-value>
</context-param>
<servlet>
<servlet-name>EngineServlet</servlet-name>
<servlet-class>org.eclipse.birt.report.servlet.BirtEngineServlet</servlet-class>
<load-on-startup>0</load-on-startup>
</servlet>
<servlet>
<servlet-name>ViewerServlet</servlet-name>
<servlet-class>org.eclipse.birt.report.servlet.ViewerServlet</servlet-class>
<load-on-startup>0</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>EngineServlet</servlet-name>
<url-pattern>/output</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>EngineServlet</servlet-name>
<url-pattern>/download</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>EngineServlet</servlet-name>
<url-pattern>/preview</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>EngineServlet</servlet-name>
<url-pattern>/document</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ViewerServlet</servlet-name>
<url-pattern>/frameset</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>EngineServlet</servlet-name>
<url-pattern>/parameter</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>EngineServlet</servlet-name>
<url-pattern>/extract</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ViewerServlet</servlet-name>
<url-pattern>/run</url-pattern>
</servlet-mapping>
<filter>
<filter-name>ViewerFilter</filter-name>
<filter-class>org.eclipse.birt.report.filter.ViewerFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>ViewerFilter</filter-name>
<servlet-name>EngineServlet</servlet-name>
</filter-mapping>
<filter-mapping>
<filter-name>ViewerFilter</filter-name>
<servlet-name>ViewerServlet</servlet-name>
</filter-mapping>
...





Grateful for your help!!

 
If you are using a rototiller, you are doing it wrong. Even on this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic