** My current problem is listed below, but i've included detail on how I've arrived there **
I'm attempting to deploy a JSF Web Application into Glassfish 3. Here's a little background about my project in the event any of these details are more relevant than I expected them to be:
- Deploying using NetBeans 7.3.1
- Java Platform: JDK 1.7
- Java EE Version: Java EE 6 Web
- Using ICEFaces components v3.3.
- Development platform is MS Windows.
- Using Apache JENA and OWL API (all libraries are included).
I have the following ICEFaces libraries included in the project:
- icefaces.jar
- icepush.jar
- icefaces-ace.jar
- icefaces-compat.jar
- common-logging.jar
- krysalis-jCharts-1.0.0-alpha-1.jar
- jxl.jar
When I first attempted to deploy my application, I received the following exception:
javax.xml.transform.TransformerFactoryConfigurationError: Provider
org.apache.xalan.processor.TransformerFactoryImpl not found at
javax.xml.transform.TransformerFactory.newInstance(Unknown Source)
at org.openide.xml.XMLUtil.write(XMLUtil.java:428)
After reading several response here as well as around the web, I went ahead and added the file "xml-apis-1.4.01.jar" to the GLASSFISH_HOME\glassfish\modules\endorsed directory. During my next deployment attempt, I received the following exception:
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMain.java:97)
at com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:55)
Caused by: javax.xml.stream.FactoryConfigurationError: Provider com.ctc.wstx.stax.WstxInputFactory not found
at javax.xml.stream.XMLInputFactory.newInstance(Unknown Source)
Which prompted me to do more research and eventually add "stax2-api-3.1.1.jar" to the GLASSFISH_HOME\glassfish\modules\endorsed directory. Unfortunately, this is where my research luck ran out. I am now receiving the following exception:
WARNING: Failed to install file:GLASSFISH_HOME/glassfish/modules/endorsed/stax2-api-3.1.1.jar
org.osgi.framework.BundleException: Bundle symbolic name and version are not unique: stax2-api:3.1.1
at org.apache.felix.framework.BundleImpl.createRevision(BundleImpl.java:1230)
at org.apache.felix.framework.BundleImpl.<init>(BundleImpl.java:95)
at org.apache.felix.framework.Felix.installBundle(Felix.java:2732)
at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:165)
at com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner.install(BundleProvisioner.java:446)
at com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner.installBundles(BundleProvisioner.java:208)
at
com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishRuntimeBuilder.build(OSGiGlassFishRuntimeBuilder.java:139)
at org.glassfish.embeddable.GlassFishRuntime._bootstrap(GlassFishRuntime.java:157)
at org.glassfish.embeddable.GlassFishRuntime.bootstrap(GlassFishRuntime.java:110)
at com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher.launch(GlassFishMain.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMain.java:97)
at com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:55)
Now, I am not explicitly using any Woodstox components in this project, so I'm at a loss for why Glassfish requires this. At first, I thought I did something wrong, so I went ahead and uninstalled and re-installed the Glassfish instance and recreated the domain. Still this requirement remains when I try to deploy the project.
Any advice?
As always, thank you all very much for your help!